diff --git a/docs/changelog/8-54-0-Release.md b/docs/changelog/8-54-0-Release.md index 0c18a64b4b..6d560ef8f3 100644 --- a/docs/changelog/8-54-0-Release.md +++ b/docs/changelog/8-54-0-Release.md @@ -18,49 +18,49 @@ This changelog only shows what recipes have been added, removed, or changed. Ope ## New Recipes -* [io.moderne.azul.EliminateUnusedClasses](https://docs.openrewrite.org/recipes/azul/eliminateunusedclasses): Deprecate and later delete classes that are unused, as detected by Azul Intelligence Cloud. -* [io.moderne.azul.search.FindReachableMethods](https://docs.openrewrite.org/recipes/azul/search/findreachablemethods): Find all methods defined in the repository's source code that are reachable. +* [io.moderne.azul.EliminateUnusedClasses](https://docs.openrewrite.org/recipes/azul/eliminateunusedclasses): Deprecate and later delete classes that are unused, as detected by Azul Intelligence Cloud. +* [io.moderne.azul.search.FindReachableMethods](https://docs.openrewrite.org/recipes/azul/search/findreachablemethods): Find all methods defined in the repository's source code that are reachable. * [io.moderne.diffblue.GenerateUnitTests](https://docs.openrewrite.org/recipes/diffblue/generateunittests): Use the Diffblue Cover tool to generate unit tests for Java classes. -* [io.moderne.java.spring.cloud2025.DependencyUpgrades](https://docs.openrewrite.org/recipes/java/spring/cloud2025/dependencyupgrades): Upgrade dependencies to Spring Cloud 2025 from prior 2024.x version. -* [io.moderne.java.spring.cloud2025.UpgradeSpringCloud_2025](https://docs.openrewrite.org/recipes/java/spring/cloud2025/upgradespringcloud_2025): Migrate applications to the latest Spring Cloud 2025 (Northfields) release. -* [io.moderne.vulncheck.FixVulnCheckVulnerabilities](https://docs.openrewrite.org/recipes/vulncheck/fixvulncheckvulnerabilities): 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 VulnCheck Vulnerability Intelligence. The recipe has an option to limit fixes to only those vulnerabilities that have evidence of exploitation at various levels of severity. -* [org.openrewrite.gradle.search.ModuleHasDependency](https://docs.openrewrite.org/recipes/gradle/search/modulehasdependency): Searches for Gradle Projects (modules) that have a dependency matching the specified id or implementing class. Places a `SearchResult` marker on all sources within a project with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use spring-boot-starter, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) file that use the dependency, use the `FindDependency` recipe instead. -* [org.openrewrite.hibernate.AddScalarPreferStandardBasicTypes](https://docs.openrewrite.org/recipes/hibernate/addscalarpreferstandardbasictypes): Prefer the use of `StandardBasicTypes.*` in `NativeQuery.addScalar(...)` invocations. -* [org.openrewrite.java.dependencies.search.ModuleHasDependency](https://docs.openrewrite.org/recipes/java/dependencies/search/modulehasdependency): Searches for both Gradle and Maven modules that have a dependency matching the specified groupId and artifactId. Places a `SearchResult` marker on all sources within a module with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use spring-boot-starter, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) or pom.xml file applying the plugin, use the `FindDependency` recipe instead. -* [org.openrewrite.java.dependencies.search.RepositoryHasDependency](https://docs.openrewrite.org/recipes/java/dependencies/search/repositoryhasdependency): Searches for both Gradle and Maven modules that have a dependency matching the specified groupId and artifactId. Places a `SearchResult` marker on all sources within a repository with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use a springframework dependency, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) or pom.xml file applying the plugin, use the `FindDependency` recipe instead. -* [org.openrewrite.java.dropwizard.AddActuatorConfiguration](https://docs.openrewrite.org/recipes/java/dropwizard/addactuatorconfiguration): Configures Spring Boot Actuator endpoints and health checks in application.properties. -* [org.openrewrite.java.dropwizard.AddCoreExampleProperties](https://docs.openrewrite.org/recipes/java/dropwizard/addcoreexampleproperties): Adds core example properties to the application.properties file. -* [org.openrewrite.java.dropwizard.AddHibernateConfiguration](https://docs.openrewrite.org/recipes/java/dropwizard/addhibernateconfiguration): Configures Spring Boot Hibernate and JPA settings in application.properties. -* [org.openrewrite.java.dropwizard.AddJerseyConfiguration](https://docs.openrewrite.org/recipes/java/dropwizard/addjerseyconfiguration): Configures essential Jersey properties in Spring Boot that complement the JerseyConfig class. -* [org.openrewrite.java.dropwizard.AddMissingApplicationProperties](https://docs.openrewrite.org/recipes/java/dropwizard/addmissingapplicationproperties): This recipe creates an application.properties file in the resources folder if it does not exist. -* [org.openrewrite.java.dropwizard.CodeCleanup](https://docs.openrewrite.org/recipes/java/dropwizard/codecleanup): Clean up the code. -* [org.openrewrite.java.dropwizard.CoreSetup](https://docs.openrewrite.org/recipes/java/dropwizard/coresetup): Creates the main Spring Boot application class. -* [org.openrewrite.java.dropwizard.MigrateConfigurationClass](https://docs.openrewrite.org/recipes/java/dropwizard/migrateconfigurationclass): Converts Dropwizard Configuration to Spring Boot format. -* [org.openrewrite.java.dropwizard.MigrateDropwizardToSpringBoot](https://docs.openrewrite.org/recipes/java/dropwizard/migratedropwizardtospringboot): Apply various changes to migrate Dropwizard applications to Spring Boot. -* [org.openrewrite.java.dropwizard.MigrateHealthChecksAndMetrics](https://docs.openrewrite.org/recipes/java/dropwizard/migratehealthchecksandmetrics): Configures Spring Boot Actuator with basic health endpoints. -* [org.openrewrite.java.dropwizard.MigrateHibernate](https://docs.openrewrite.org/recipes/java/dropwizard/migratehibernate): Converts Dropwizard Resources to Spring Boot format. -* [org.openrewrite.java.dropwizard.MigrateResourcesToSpringJersey](https://docs.openrewrite.org/recipes/java/dropwizard/migrateresourcestospringjersey): Converts Dropwizard Resources to Spring Boot format. -* [org.openrewrite.java.dropwizard.MigrateSecurity](https://docs.openrewrite.org/recipes/java/dropwizard/migratesecurity): Converts Dropwizard health checks to Spring Boot format. -* [org.openrewrite.java.dropwizard.MigrateTasksAndCommands](https://docs.openrewrite.org/recipes/java/dropwizard/migratetasksandcommands): Clean up the code. -* [org.openrewrite.java.dropwizard.MigrateTests](https://docs.openrewrite.org/recipes/java/dropwizard/migratetests): Converts Dropwizard tests to Spring Boot format. -* [org.openrewrite.java.dropwizard.ModifyDropwizardHealthChecksToSpringVariants](https://docs.openrewrite.org/recipes/java/dropwizard/modifydropwizardhealthcheckstospringvariants): Transforms Dropwizard HealthCheck classes to Spring Boot HealthIndicator. -* [org.openrewrite.java.dropwizard.annotation.AddClassAnnotationIfAnnotationExists](https://docs.openrewrite.org/recipes/java/dropwizard/annotation/addclassannotationifannotationexists): Adds annotation if class has any of the specified target annotations. -* [org.openrewrite.java.dropwizard.annotation.AddClassAnnotationIfSuperTypeExists](https://docs.openrewrite.org/recipes/java/dropwizard/annotation/addclassannotationifsupertypeexists): Adds annotation if class extends or implements any of the specified target types. -* [org.openrewrite.java.dropwizard.annotation.micrometer.CodahaleTimedToMicrometerTimed](https://docs.openrewrite.org/recipes/java/dropwizard/annotation/micrometer/codahaletimedtomicrometertimed): Replaces Dropwizard's `@Timed` annotation with Micrometer's `@Timed` annotation, preserving name (mapped to value), absolute, and description attributes. -* [org.openrewrite.java.dropwizard.config.RemoveAndExcludeDependency](https://docs.openrewrite.org/recipes/java/dropwizard/config/removeandexcludedependency): Combines excluding transitive dependencies and removing direct dependencies. -* [org.openrewrite.java.dropwizard.general.RemoveMethodsByPackage](https://docs.openrewrite.org/recipes/java/dropwizard/general/removemethodsbypackage): Removes any method that has a return type or parameter type from the specified package. -* [org.openrewrite.java.dropwizard.general.RemoveVariablesByPackage](https://docs.openrewrite.org/recipes/java/dropwizard/general/removevariablesbypackage): Removes class-level variables from classes in the specified package. -* [org.openrewrite.java.dropwizard.method.ChangeSuperType](https://docs.openrewrite.org/recipes/java/dropwizard/method/changesupertype): Changes the superclass of a specified class to a new superclass. -* [org.openrewrite.java.dropwizard.method.RemoveSuperTypeByType](https://docs.openrewrite.org/recipes/java/dropwizard/method/removesupertypebytype): Removes a specified type from class extends or implements clauses. -* [org.openrewrite.java.dropwizard.method.RemoveUnnecessaryOverride](https://docs.openrewrite.org/recipes/java/dropwizard/method/removeunnecessaryoverride): Removes `@Override` annotations from methods that don't actually override or implement any method. This helps maintain clean code by removing incorrect annotations that could be misleading. -* [org.openrewrite.java.dropwizard.method.RemoveUnnecessarySuperCalls](https://docs.openrewrite.org/recipes/java/dropwizard/method/removeunnecessarysupercalls): Removes calls to `super(...)` or `super.someMethod(...)` if the class does not have a real superclass besides `java.lang.Object`. -* [org.openrewrite.java.migrate.ComIntelliJAnnotationsToOrgJetbrainsAnnotations](https://docs.openrewrite.org/recipes/java/migrate/comintellijannotationstoorgjetbrainsannotations): This recipe will upgrade old dependency of com.intellij:annotations to the newer org.jetbrains:annotations. -* [org.openrewrite.java.spring.cloud2024.DependencyUpgrades](https://docs.openrewrite.org/recipes/java/spring/cloud2024/dependencyupgrades): Upgrade dependencies to Spring Cloud 2024 from prior 2023.x version. -* [org.openrewrite.java.spring.cloud2024.UpgradeSpringCloud_2024](https://docs.openrewrite.org/recipes/java/spring/cloud2024/upgradespringcloud_2024): Migrate applications to the latest Spring Cloud 2024 (Moorgate) release. -* [org.openrewrite.java.testing.mockito.CloseUnclosedStaticMocks](https://docs.openrewrite.org/recipes/java/testing/mockito/closeunclosedstaticmocks): Ensures that all `mockStatic` calls are properly closed. If `mockStatic` is in lifecycle methods like `@BeforeEach` or `@BeforeAll`, creates a class variable and closes it in `@AfterEach` or `@AfterAll`. If `mockStatic` is inside a test method, wraps it in a try-with-resources block. -* [org.openrewrite.maven.search.ModuleHasDependency](https://docs.openrewrite.org/recipes/maven/search/modulehasdependency): Searches for Maven modules that have a dependency matching the specified groupId and artifactId. Places a `SearchResult` marker on all sources within a module with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use spring-boot-starter, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) file applying the plugin, use the `FindDependency` recipe instead. -* [org.openrewrite.xml.liberty.WebBeansXmlRule](https://docs.openrewrite.org/recipes/xml/liberty/webbeansxmlrule): This Recipe replaces OpenWebBeans schema in every beans.xml with the standard CDI schema. -* [org.openrewrite.xml.search.DoesNotUseNamespaceUri](https://docs.openrewrite.org/recipes/xml/search/doesnotusenamespaceuri): Find XML root elements that do not have a specific Namespace URI, optionally restricting the search by an XPath expression. +* [io.moderne.java.spring.cloud2025.DependencyUpgrades](https://docs.openrewrite.org/recipes/java/spring/cloud2025/dependencyupgrades): Upgrade dependencies to Spring Cloud 2025 from prior 2024.x version. +* [io.moderne.java.spring.cloud2025.UpgradeSpringCloud_2025](https://docs.openrewrite.org/recipes/java/spring/cloud2025/upgradespringcloud_2025): Migrate applications to the latest Spring Cloud 2025 (Northfields) release. +* [io.moderne.vulncheck.FixVulnCheckVulnerabilities](https://docs.openrewrite.org/recipes/vulncheck/fixvulncheckvulnerabilities): 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 VulnCheck Vulnerability Intelligence. The recipe has an option to limit fixes to only those vulnerabilities that have evidence of exploitation at various levels of severity. +* [org.openrewrite.gradle.search.ModuleHasDependency](https://docs.openrewrite.org/recipes/gradle/search/modulehasdependency): Searches for Gradle Projects (modules) that have a dependency matching the specified id or implementing class. Places a `SearchResult` marker on all sources within a project with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use spring-boot-starter, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) file that use the dependency, use the `FindDependency` recipe instead. +* [org.openrewrite.hibernate.AddScalarPreferStandardBasicTypes](https://docs.openrewrite.org/recipes/hibernate/addscalarpreferstandardbasictypes): Prefer the use of `StandardBasicTypes.*` in `NativeQuery.addScalar(...)` invocations. +* [org.openrewrite.java.dependencies.search.ModuleHasDependency](https://docs.openrewrite.org/recipes/java/dependencies/search/modulehasdependency): Searches for both Gradle and Maven modules that have a dependency matching the specified groupId and artifactId. Places a `SearchResult` marker on all sources within a module with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use spring-boot-starter, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) or pom.xml file applying the plugin, use the `FindDependency` recipe instead. +* [org.openrewrite.java.dependencies.search.RepositoryHasDependency](https://docs.openrewrite.org/recipes/java/dependencies/search/repositoryhasdependency): Searches for both Gradle and Maven modules that have a dependency matching the specified groupId and artifactId. Places a `SearchResult` marker on all sources within a repository with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use a springframework dependency, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) or pom.xml file applying the plugin, use the `FindDependency` recipe instead. +* [org.openrewrite.java.dropwizard.AddActuatorConfiguration](https://docs.openrewrite.org/recipes/java/dropwizard/addactuatorconfiguration): Configures Spring Boot Actuator endpoints and health checks in application.properties. +* [org.openrewrite.java.dropwizard.AddCoreExampleProperties](https://docs.openrewrite.org/recipes/java/dropwizard/addcoreexampleproperties): Adds core example properties to the application.properties file. +* [org.openrewrite.java.dropwizard.AddHibernateConfiguration](https://docs.openrewrite.org/recipes/java/dropwizard/addhibernateconfiguration): Configures Spring Boot Hibernate and JPA settings in application.properties. +* [org.openrewrite.java.dropwizard.AddJerseyConfiguration](https://docs.openrewrite.org/recipes/java/dropwizard/addjerseyconfiguration): Configures essential Jersey properties in Spring Boot that complement the JerseyConfig class. +* [org.openrewrite.java.dropwizard.AddMissingApplicationProperties](https://docs.openrewrite.org/recipes/java/dropwizard/addmissingapplicationproperties): This recipe creates an application.properties file in the resources folder if it does not exist. +* [org.openrewrite.java.dropwizard.CodeCleanup](https://docs.openrewrite.org/recipes/java/dropwizard/codecleanup): Clean up the code. +* [org.openrewrite.java.dropwizard.CoreSetup](https://docs.openrewrite.org/recipes/java/dropwizard/coresetup): Creates the main Spring Boot application class. +* [org.openrewrite.java.dropwizard.MigrateConfigurationClass](https://docs.openrewrite.org/recipes/java/dropwizard/migrateconfigurationclass): Converts Dropwizard Configuration to Spring Boot format. +* [org.openrewrite.java.dropwizard.MigrateDropwizardToSpringBoot](https://docs.openrewrite.org/recipes/java/dropwizard/migratedropwizardtospringboot): Apply various changes to migrate Dropwizard applications to Spring Boot. +* [org.openrewrite.java.dropwizard.MigrateHealthChecksAndMetrics](https://docs.openrewrite.org/recipes/java/dropwizard/migratehealthchecksandmetrics): Configures Spring Boot Actuator with basic health endpoints. +* [org.openrewrite.java.dropwizard.MigrateHibernate](https://docs.openrewrite.org/recipes/java/dropwizard/migratehibernate): Converts Dropwizard Resources to Spring Boot format. +* [org.openrewrite.java.dropwizard.MigrateResourcesToSpringJersey](https://docs.openrewrite.org/recipes/java/dropwizard/migrateresourcestospringjersey): Converts Dropwizard Resources to Spring Boot format. +* [org.openrewrite.java.dropwizard.MigrateSecurity](https://docs.openrewrite.org/recipes/java/dropwizard/migratesecurity): Converts Dropwizard health checks to Spring Boot format. +* [org.openrewrite.java.dropwizard.MigrateTasksAndCommands](https://docs.openrewrite.org/recipes/java/dropwizard/migratetasksandcommands): Clean up the code. +* [org.openrewrite.java.dropwizard.MigrateTests](https://docs.openrewrite.org/recipes/java/dropwizard/migratetests): Converts Dropwizard tests to Spring Boot format. +* [org.openrewrite.java.dropwizard.ModifyDropwizardHealthChecksToSpringVariants](https://docs.openrewrite.org/recipes/java/dropwizard/modifydropwizardhealthcheckstospringvariants): Transforms Dropwizard HealthCheck classes to Spring Boot HealthIndicator. +* [org.openrewrite.java.dropwizard.annotation.AddClassAnnotationIfAnnotationExists](https://docs.openrewrite.org/recipes/java/dropwizard/annotation/addclassannotationifannotationexists): Adds annotation if class has any of the specified target annotations. +* [org.openrewrite.java.dropwizard.annotation.AddClassAnnotationIfSuperTypeExists](https://docs.openrewrite.org/recipes/java/dropwizard/annotation/addclassannotationifsupertypeexists): Adds annotation if class extends or implements any of the specified target types. +* [org.openrewrite.java.dropwizard.annotation.micrometer.CodahaleTimedToMicrometerTimed](https://docs.openrewrite.org/recipes/java/dropwizard/annotation/micrometer/codahaletimedtomicrometertimed): Replaces Dropwizard's `@Timed` annotation with Micrometer's `@Timed` annotation, preserving name (mapped to value), absolute, and description attributes. +* [org.openrewrite.java.dropwizard.config.RemoveAndExcludeDependency](https://docs.openrewrite.org/recipes/java/dropwizard/config/removeandexcludedependency): Combines excluding transitive dependencies and removing direct dependencies. +* [org.openrewrite.java.dropwizard.general.RemoveMethodsByPackage](https://docs.openrewrite.org/recipes/java/dropwizard/general/removemethodsbypackage): Removes any method that has a return type or parameter type from the specified package. +* [org.openrewrite.java.dropwizard.general.RemoveVariablesByPackage](https://docs.openrewrite.org/recipes/java/dropwizard/general/removevariablesbypackage): Removes class-level variables from classes in the specified package. +* [org.openrewrite.java.dropwizard.method.ChangeSuperType](https://docs.openrewrite.org/recipes/java/dropwizard/method/changesupertype): Changes the superclass of a specified class to a new superclass. +* [org.openrewrite.java.dropwizard.method.RemoveSuperTypeByType](https://docs.openrewrite.org/recipes/java/dropwizard/method/removesupertypebytype): Removes a specified type from class extends or implements clauses. +* [org.openrewrite.java.dropwizard.method.RemoveUnnecessaryOverride](https://docs.openrewrite.org/recipes/java/dropwizard/method/removeunnecessaryoverride): Removes `@Override` annotations from methods that don't actually override or implement any method. This helps maintain clean code by removing incorrect annotations that could be misleading. +* [org.openrewrite.java.dropwizard.method.RemoveUnnecessarySuperCalls](https://docs.openrewrite.org/recipes/java/dropwizard/method/removeunnecessarysupercalls): Removes calls to `super(...)` or `super.someMethod(...)` if the class does not have a real superclass besides `java.lang.Object`. +* [org.openrewrite.java.migrate.ComIntelliJAnnotationsToOrgJetbrainsAnnotations](https://docs.openrewrite.org/recipes/java/migrate/comintellijannotationstoorgjetbrainsannotations): This recipe will upgrade old dependency of com.intellij:annotations to the newer org.jetbrains:annotations. +* [org.openrewrite.java.spring.cloud2024.DependencyUpgrades](https://docs.openrewrite.org/recipes/java/spring/cloud2024/dependencyupgrades): Upgrade dependencies to Spring Cloud 2024 from prior 2023.x version. +* [org.openrewrite.java.spring.cloud2024.UpgradeSpringCloud_2024](https://docs.openrewrite.org/recipes/java/spring/cloud2024/upgradespringcloud_2024): Migrate applications to the latest Spring Cloud 2024 (Moorgate) release. +* [org.openrewrite.java.testing.mockito.CloseUnclosedStaticMocks](https://docs.openrewrite.org/recipes/java/testing/mockito/closeunclosedstaticmocks): Ensures that all `mockStatic` calls are properly closed. If `mockStatic` is in lifecycle methods like `@BeforeEach` or `@BeforeAll`, creates a class variable and closes it in `@AfterEach` or `@AfterAll`. If `mockStatic` is inside a test method, wraps it in a try-with-resources block. +* [org.openrewrite.maven.search.ModuleHasDependency](https://docs.openrewrite.org/recipes/maven/search/modulehasdependency): Searches for Maven modules that have a dependency matching the specified groupId and artifactId. Places a `SearchResult` marker on all sources within a module with a matching dependency. This recipe is intended to be used as a precondition for other recipes. For example this could be used to limit the application of a spring boot migration to only projects that use spring-boot-starter, limiting unnecessary upgrading. If the search result you want is instead just the build.gradle(.kts) file applying the plugin, use the `FindDependency` recipe instead. +* [org.openrewrite.xml.liberty.WebBeansXmlRule](https://docs.openrewrite.org/recipes/xml/liberty/webbeansxmlrule): This Recipe replaces OpenWebBeans schema in every beans.xml with the standard CDI schema. +* [org.openrewrite.xml.search.DoesNotUseNamespaceUri](https://docs.openrewrite.org/recipes/xml/search/doesnotusenamespaceuri): Find XML root elements that do not have a specific Namespace URI, optionally restricting the search by an XPath expression. ## Removed Recipes diff --git a/docs/changelog/8-56-0-Release.md b/docs/changelog/8-56-0-Release.md new file mode 100644 index 0000000000..774beb80c8 --- /dev/null +++ b/docs/changelog/8-56-0-Release.md @@ -0,0 +1,220 @@ +--- +description: What's changed in OpenRewrite version 8.56.0. +--- + +# 8.56.0 release (2025-06-25) + +_Total recipe count: 3892_ + +:::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 Artifacts +* rewrite-cryptography +* rewrite-devcenter +* rewrite-netty + +## New Recipes + +* [io.moderne.cryptography.FindHardcodedAlgorithmChoice](https://docs.openrewrite.org/recipes/cryptography/findhardcodedalgorithmchoice): Locate hardcoded algorithm choices in cryptographic code. +* [io.moderne.cryptography.FindHardcodedAlgorithmSpecificParameters](https://docs.openrewrite.org/recipes/cryptography/findhardcodedalgorithmspecificparameters): Locate hardcoded algorithm specific parameters in cryptographic code. +* [io.moderne.cryptography.FindHardcodedCertificate](https://docs.openrewrite.org/recipes/cryptography/findhardcodedcertificate): Detects hardcoded PEM certificates passed into `CertificateFactory.generateCertificate()`. +* [io.moderne.cryptography.FindHardcodedCipherSuitesOnSslSocket](https://docs.openrewrite.org/recipes/cryptography/findhardcodedciphersuitesonsslsocket): Detects hardcoded cipher suites in SSL socket configurations, which can lead to security vulnerabilities. +* [io.moderne.cryptography.FindHardcodedCiphersuiteChoice](https://docs.openrewrite.org/recipes/cryptography/findhardcodedciphersuitechoice): Locate hardcoded ciphersuite choices in cryptographic code. +* [io.moderne.cryptography.FindHardcodedKeyPairGenerator](https://docs.openrewrite.org/recipes/cryptography/findhardcodedkeypairgenerator): Detects hardcoded cryptographic algorithms. +* [io.moderne.cryptography.FindHardcodedPrivateKey](https://docs.openrewrite.org/recipes/cryptography/findhardcodedprivatekey): Detects hardcoded PEM private keys passed into `KeyFactory.generatePrivate()`. +* [io.moderne.cryptography.FindHardcodedProtocolChoice](https://docs.openrewrite.org/recipes/cryptography/findhardcodedprotocolchoice): Locate hardcoded protocol choices in cryptographic code. +* [io.moderne.cryptography.FindHardcodedProtocolsOnSSLSocketCreation](https://docs.openrewrite.org/recipes/cryptography/findhardcodedprotocolsonsslsocketcreation): Finds hardcoded protocols in SSL socket creation methods, such as `SSLContext.getInstance(String)`. +* [io.moderne.cryptography.FindHardcodedProtocolsOnSSLSocketSetProtocols](https://docs.openrewrite.org/recipes/cryptography/findhardcodedprotocolsonsslsocketsetprotocols): Detects hardcoded protocol versions in SSL socket configurations, which can hinder adaptability and security. +* [io.moderne.cryptography.FindHardcodedRSAKeyGenParameterSpec](https://docs.openrewrite.org/recipes/cryptography/findhardcodedrsakeygenparameterspec): It is usually insecure to pass hardcoded numbers passed into `RSAKeyGenParameterSpec`. +* [io.moderne.cryptography.FindHardcodedSecretKeySpec](https://docs.openrewrite.org/recipes/cryptography/findhardcodedsecretkeyspec): Detects hardcoded cryptographic algorithms. +* [io.moderne.cryptography.FindSecurityProviderEditing](https://docs.openrewrite.org/recipes/cryptography/findsecurityproviderediting): Locate programmatic edits of the `Security` provider list. +* [io.moderne.cryptography.FindSecuritySetProperties](https://docs.openrewrite.org/recipes/cryptography/findsecuritysetproperties): There is a defined set of properties that should not be set using `Security.setProperty(..)` as they can lead to security vulnerabilities. +* [io.moderne.cryptography.FindSslConfiguration](https://docs.openrewrite.org/recipes/cryptography/findsslconfiguration): The configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS) is a key aspect of making a secure application. This recipe detects and enumerates these configurations. +* [io.moderne.cryptography.FindSslContextDefault](https://docs.openrewrite.org/recipes/cryptography/findsslcontextdefault): This includes anywhere where `SSLContext.setDefault` is called. +* [io.moderne.cryptography.PostQuantumCryptography](https://docs.openrewrite.org/recipes/cryptography/postquantumcryptography): Locate cryptographic configuration which may need to be updated for a brave new post-quantum-supremacy world. +* [io.moderne.devcenter.DevCenterStarter](https://docs.openrewrite.org/recipes/devcenter/devcenterstarter): This is a default DevCenter configuration that can be used as a starting point for your own DevCenter configuration. It includes a combination of upgrades, migrations, and security fixes. You can customize this configuration to suit your needs. +For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/). +* [io.moderne.devcenter.JUnitJupiterUpgrade](https://docs.openrewrite.org/recipes/devcenter/junitjupiterupgrade): Move to JUnit Jupiter. +* [io.moderne.devcenter.JavaVersionUpgrade](https://docs.openrewrite.org/recipes/devcenter/javaversionupgrade): Determine the current state of a repository relative to a desired Java version upgrade. +* [io.moderne.devcenter.LibraryUpgrade](https://docs.openrewrite.org/recipes/devcenter/libraryupgrade): Determine the current state of a repository relative to a desired library upgrade. +* [io.moderne.devcenter.ParentPomUpgrade](https://docs.openrewrite.org/recipes/devcenter/parentpomupgrade): Determine the current state of a repository relative to a desired parent POM upgrade. +* [io.moderne.devcenter.ReportAsSecurityIssues](https://docs.openrewrite.org/recipes/devcenter/reportassecurityissues): Look for results produced by recipes in the same recipe list that this recipe is part of, and report them as security issues in DevCenter. +* [io.moderne.devcenter.SecurityOriginalStarter](https://docs.openrewrite.org/recipes/devcenter/securityoriginalstarter): This is the same set of recipes as the original DevCenter security card. +* [io.moderne.devcenter.SecurityStarter](https://docs.openrewrite.org/recipes/devcenter/securitystarter): This recipe is a starter card to reveal common OWASP Top 10 issues in your source code. You can customize this configuration to suit your needs. +For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/). +* [io.moderne.hibernate.MigrateToHibernate70](https://docs.openrewrite.org/recipes/hibernate/migratetohibernate70): This recipe will apply changes commonly needed when migrating to Hibernate 7.0.x. +* [io.moderne.java.spring.cloud2020.SpringCloudProperties_2020](https://docs.openrewrite.org/recipes/java/spring/cloud2020/springcloudproperties_2020): Migrate properties found in `application.properties` and `application.yml`. +* [io.moderne.java.spring.cloud2021.SpringCloudProperties_2021](https://docs.openrewrite.org/recipes/java/spring/cloud2021/springcloudproperties_2021): Migrate properties found in `application.properties` and `application.yml`. +* [io.moderne.java.spring.cloud2022.SpringCloudProperties_2022](https://docs.openrewrite.org/recipes/java/spring/cloud2022/springcloudproperties_2022): Migrate properties found in `application.properties` and `application.yml`. +* [io.moderne.java.spring.cloud2023.SpringCloudProperties_2023](https://docs.openrewrite.org/recipes/java/spring/cloud2023/springcloudproperties_2023): Migrate properties found in `application.properties` and `application.yml`. +* [io.moderne.java.spring.cloud2024.SpringCloudProperties_2024](https://docs.openrewrite.org/recipes/java/spring/cloud2024/springcloudproperties_2024): Migrate properties found in `application.properties` and `application.yml`. +* [io.moderne.java.spring.cloud2025.ChangeDeprecatedArtifacts](https://docs.openrewrite.org/recipes/java/spring/cloud2025/changedeprecatedartifacts): +* [io.moderne.java.spring.cloud2025.SpringCloudProperties_2025](https://docs.openrewrite.org/recipes/java/spring/cloud2025/springcloudproperties_2025): Migrate properties found in `application.properties` and `application.yml`. +* [io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe](https://docs.openrewrite.org/recipes/io/quarkus/updates/camel/camel411/camelquarkusmigrationrecipe): Migrates `camel 4.10` quarkus application to `camel 4.11`. +* [io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe](https://docs.openrewrite.org/recipes/io/quarkus/updates/camel/camel412/camelquarkusmigrationrecipe): Migrates `camel 4.11` quarkus application to `camel 4.12`. +* [io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus323/hibernateormschemamanagementproperties): +* [io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifnewjpamodelgendependency): +* [io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifoldjpamodelgendependency): +* [io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/logconsoleasyncenable): +* [io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/migratefromhibernateormsessionmethodsremovedin7): +* [io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/migratefromhibernateormvariousremovedin7): +* [io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/removejpamodelgendependencies): +* [io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/replacenewjpamodelgenannotationprocessor): +* [io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus324/replaceoldjpamodelgenannotationprocessor): +* [org.apache.camel.upgrade.camel412.CamelMigrationRecipe](https://docs.openrewrite.org/recipes/org/apache/camel/upgrade/camel412/camelmigrationrecipe): Migrates `camel 4.11` application to `camel 4.12`. +* [org.apache.camel.upgrade.camel412.Java412Recipes](https://docs.openrewrite.org/recipes/org/apache/camel/upgrade/camel412/java412recipes): Apache Camel Java DSL migration from version 4.11 to 4.12. +* [org.apache.camel.upgrade.camel412.scanClassesMoved](https://docs.openrewrite.org/recipes/org/apache/camel/upgrade/camel412/scanclassesmoved): The package scan classes has moved from camel-base-engine to camel-support JAR and moved to a new package - java. +* [org.apache.camel.upgrade.camel412.scanClassesMovedMaven](https://docs.openrewrite.org/recipes/org/apache/camel/upgrade/camel412/scanclassesmovedmaven): The package scan classes has moved from camel-base-engine to camel-support JAR and moved to a new package - maven. +* [org.apache.camel.upgrade.camel412.xmlDslBearer](https://docs.openrewrite.org/recipes/org/apache/camel/upgrade/camel412/xmldslbearer): Rest definition in XML DSL with security constraints, then bearer in YAML and XML DSL has been renamed to bearerToken to be aligned with Java DSL. +* [org.apache.camel.upgrade.camel412.yamlDslBearer](https://docs.openrewrite.org/recipes/org/apache/camel/upgrade/camel412/yamldslbearer): Rest definition in Yaml DSL with security constraints, then bearer in YAML and XML DSL has been renamed to bearerToken to be aligned with Java DSL. +* [org.openrewrite.MoveFile](https://docs.openrewrite.org/recipes/core/movefile): Move a file to a different directory. The file name will remain the same. +* [org.openrewrite.apache.httpclient5.ChangeArgumentToTimeValue](https://docs.openrewrite.org/recipes/apache/httpclient5/changeargumenttotimevalue): In Apache Http Client 5.x migration, some methods that previously took a single long argument have changed to take a `TimeValue`. Previously in 4.x, all these methods were implicitly having the value expressed in milliseconds. By default this recipe uses `TimeUnit.MILLISECONDS` for the `TimeUnit` when creating a `TimeValue`. It is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one long argument, the recipe applies with matched method invocations of exactly one parameter. +* [org.openrewrite.apache.httpclient5.MigrateStringEntityStringCharsetConstructor](https://docs.openrewrite.org/recipes/apache/httpclient5/migratestringentitystringcharsetconstructor): Replace `new StringEntity(String, String)` with `new StringEntity(String, Charset)` to eliminate literal usage for charset parameters. +* [org.openrewrite.apache.httpclient5.NewRequestLine](https://docs.openrewrite.org/recipes/apache/httpclient5/newrequestline): `HttpRequestBase::getStatusLine()` was removed in 5.x when `HttpRequestBase` was migrated to `HttpUriRequestBase`, so we replace it with `new RequestLine(HttpRequest)`. Ideally we will try to simply method chains for `getMethod`, `getUri` and `getProtocolVersion`, but there are some scenarios where `RequestLine` object is assigned or used directly, and we need to instantiate the object. +* [org.openrewrite.apache.httpclient5.UpgradeApacheHttpCore_5_NioClassMapping](https://docs.openrewrite.org/recipes/apache/httpclient5/upgradeapachehttpcore_5_nioclassmapping): Mapping of all the compatible classes of Apache HttpCore 5.x from Apache HttpCore Nio 4.4.x. +* [org.openrewrite.gitlab.ChangeComponent](https://docs.openrewrite.org/recipes/gitlab/changecomponent): Change a GitLab Component in use. +* [org.openrewrite.gradle.AddPlatformDependency](https://docs.openrewrite.org/recipes/gradle/addplatformdependency): Add a gradle platform dependency to a `build.gradle` file in the correct configuration based on where it is used. +* [org.openrewrite.java.flyway.AddFlywayModuleMySQL](https://docs.openrewrite.org/recipes/java/flyway/addflywaymodulemysql): Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-mysql` dependency if you are using MySQL with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +* [org.openrewrite.java.flyway.AddFlywayModuleOracle](https://docs.openrewrite.org/recipes/java/flyway/addflywaymoduleoracle): Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-database-oracle` dependency if you are using Oracle with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +* [org.openrewrite.java.flyway.AddFlywayModulePostgreSQL](https://docs.openrewrite.org/recipes/java/flyway/addflywaymodulepostgresql): Database modules for Flyway 10 have been split out in to separate modules for maintainability. Add the `flyway-database-postgresql` dependency if you are using PostgreSQL with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +* [org.openrewrite.java.flyway.MigrateToFlyway10](https://docs.openrewrite.org/recipes/java/flyway/migratetoflyway10): Migrate to Flyway 10. See details at [Flyway V10 has landed](https://documentation.red-gate.com/fd/flyway-v10-has-landed-222627771.html). +* [org.openrewrite.java.jspecify.JSpecifyBestPractices](https://docs.openrewrite.org/recipes/java/jspecify/jspecifybestpractices): Apply JSpecify best practices, such as migrating off of alternatives, and adding missing `@Nullable` annotations. +* [org.openrewrite.java.jspecify.MigrateToJSpecify](https://docs.openrewrite.org/recipes/java/jspecify/migratetojspecify): This recipe will migrate to JSpecify annotations from various other nullability annotation standards. +* [org.openrewrite.java.liberty.ReplaceWSPrincipalGetCredential](https://docs.openrewrite.org/recipes/java/liberty/replacewsprincipalgetcredential): Replaces `WSCredential credential = WSPrincipal.getCredential();` with a `null` initializer + `try/catch` lookup. +* [org.openrewrite.java.logging.ChangeLoggersToPrivate](https://docs.openrewrite.org/recipes/java/logging/changeloggerstoprivate): Ensures that logger fields are declared as `private` to encapsulate logging mechanics within the class. +* [org.openrewrite.java.logging.slf4j.MatchIsLogLevelEnabledWithLogStatements](https://docs.openrewrite.org/recipes/java/logging/slf4j/matchisloglevelenabledwithlogstatements): Change any `if (is*Enabled())` statements that do not match the maximum log level used in the `then` part to use the matching `is*Enabled()` method for that log level. This ensures that the logging condition is consistent with the actual logging statements. +* [org.openrewrite.java.logging.slf4j.StripToStringFromArguments](https://docs.openrewrite.org/recipes/java/logging/slf4j/striptostringfromarguments): Remove `.toString()` from logger call arguments; SLF4J will automatically call `toString()` on an argument when not a string, and do so only if the log level is enabled. +* [org.openrewrite.java.migrate.AddStaticVariableOnProducerSessionBean](https://docs.openrewrite.org/recipes/java/migrate/addstaticvariableonproducersessionbean): Ensures that the fields annotated with `@Produces` which is inside the session bean (`@Stateless`, `@Stateful`, or `@Singleton`) are declared `static`. +* [org.openrewrite.java.migrate.SwitchPatternMatching](https://docs.openrewrite.org/recipes/java/migrate/switchpatternmatching): ->- [JEP 441](https://openjdk.org/jeps/441) describes how some switch statements can be improved with pattern matching. This recipe applies some of those improvements where applicable. +* [org.openrewrite.java.migrate.WasDevMvnChangeParentArtifactId](https://docs.openrewrite.org/recipes/java/migrate/wasdevmvnchangeparentartifactid): This recipe changes the artifactId of the `` tag in the `pom.xml` from `java8-parent` to `parent`. +* [org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x](https://docs.openrewrite.org/recipes/java/migrate/jakarta/faces2xmigrationtojakartafaces3x): Jakarta EE 9 uses Faces 3.0, a major upgrade to Jakarta packages and XML namespaces. +* [org.openrewrite.java.migrate.jakarta.Faces3xMigrationToFaces4x](https://docs.openrewrite.org/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x): Jakarta EE 10 uses Faces 4.0. +* [org.openrewrite.java.migrate.jakarta.JakartaFacesConfigXml4](https://docs.openrewrite.org/recipes/java/migrate/jakarta/jakartafacesconfigxml4): Jakarta EE 10 uses Faces version 4. +* [org.openrewrite.java.migrate.jakarta.JakartaFacesTagLibraryXml4](https://docs.openrewrite.org/recipes/java/migrate/jakarta/jakartafacestaglibraryxml4): Faces 4 uses facelet-taglib 4.0. +* [org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE10](https://docs.openrewrite.org/recipes/java/migrate/jakarta/jakartafacesxhtmlee10): Find and replace legacy JSF namespace URIs with Jakarta Faces URNs in XHTML files. +* [org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE9](https://docs.openrewrite.org/recipes/java/migrate/jakarta/jakartafacesxhtmlee9): Find and replace javax references to jakarta in XHTML files. +* [org.openrewrite.java.migrate.jakarta.JakartaWebFragmentXml6](https://docs.openrewrite.org/recipes/java/migrate/jakarta/jakartawebfragmentxml6): Faces 4 uses web-fragment 6.0. +* [org.openrewrite.java.migrate.jakarta.JakartaWebXml6](https://docs.openrewrite.org/recipes/java/migrate/jakarta/jakartawebxml6): Faces 4 uses web-app 6.0. +* [org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi3](https://docs.openrewrite.org/recipes/java/migrate/jakarta/updatejakartafacesapi3): Java EE has been rebranded to Jakarta EE, necessitating a package relocation and upgrade. +* [org.openrewrite.java.migrate.jakarta.UpdateManagedBeanToNamed](https://docs.openrewrite.org/recipes/java/migrate/jakarta/updatemanagedbeantonamed): Faces ManagedBean was deprecated in JSF 2.3 (EE8) and removed in Jakarta Faces 4.0 (EE10). Replace `@ManagedBean` with `@Named` for CDI-based bean management. +* [org.openrewrite.java.migrate.jakarta.UpgradeFaces3OpenSourceLibraries](https://docs.openrewrite.org/recipes/java/migrate/jakarta/upgradefaces3opensourcelibraries): Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE9 versions. +* [org.openrewrite.java.migrate.jakarta.UpgradeFaces4OpenSourceLibraries](https://docs.openrewrite.org/recipes/java/migrate/jakarta/upgradefaces4opensourcelibraries): Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE10 versions. +* [org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies](https://docs.openrewrite.org/recipes/java/migrate/javax/addjaxbapidependencies): This recipe will add explicit API dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well. +* [org.openrewrite.java.migrate.javax.AddJaxbDependenciesWithRuntime](https://docs.openrewrite.org/recipes/java/migrate/javax/addjaxbdependencieswithruntime): This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well. +* [org.openrewrite.java.migrate.javax.AddJaxbDependenciesWithoutRuntime](https://docs.openrewrite.org/recipes/java/migrate/javax/addjaxbdependencieswithoutruntime): This recipe will add explicit API dependencies without runtime dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing API dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. All JAXB runtime implementation dependencies are removed. +* [org.openrewrite.java.migrate.lang.FindNonVirtualExecutors](https://docs.openrewrite.org/recipes/java/migrate/lang/findnonvirtualexecutors): Find all places where static `java.util.concurrent.Executors` method creates a non-virtual `java.util.concurrent.ExecutorService`. This recipe can be used to search fro `ExecutorService` that can be replaced by Virtual Thread executor. +* [org.openrewrite.java.migrate.lang.FindVirtualThreadOpportunities](https://docs.openrewrite.org/recipes/java/migrate/lang/findvirtualthreadopportunities): Find opportunities to convert existing code to use Virtual Threads. +* [org.openrewrite.java.migrate.lang.IfElseIfConstructToSwitch](https://docs.openrewrite.org/recipes/java/migrate/lang/ifelseifconstructtoswitch): Replace if-else-if-else with switch statements. In order to be replaced with a switch, all conditions must be on the same variable and there must be at least three cases. +* [org.openrewrite.java.migrate.lang.NullCheckAsSwitchCase](https://docs.openrewrite.org/recipes/java/migrate/lang/nullcheckasswitchcase): In later Java 21+, null checks are valid in switch cases. This recipe will only add null checks to existing switch cases if there are no other statements in between them or if the block in the if statement is not impacting the flow of the switch. +* [org.openrewrite.java.migrate.lang.RefineSwitchCases](https://docs.openrewrite.org/recipes/java/migrate/lang/refineswitchcases): Use guarded switch case labels and guards if all the statements in the switch block do if/else if/else on the guarded label. +* [org.openrewrite.java.migrate.lang.SwitchCaseEnumGuardToLabel](https://docs.openrewrite.org/recipes/java/migrate/lang/switchcaseenumguardtolabel): Use switch case labels when a guard is checking equality with an enum. +* [org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes](https://docs.openrewrite.org/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes): Replaces Netty's `new *EventLoopGroup` with `new MultiThreadIoEventLoopGroup(*IoHandler.newFactory())`. +* [org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe](https://docs.openrewrite.org/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipesusdepolleventloopgroupfactoryrecipe): Replace `new EpollEventLoopGroup()` with `new MultiThreadIoEventLoopGroup(EpollIoHandler.newFactory())`. +* [org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe](https://docs.openrewrite.org/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipesusdlocaleventloopgroupfactoryrecipe): Replace `new LocalEventLoopGroup()` with `new MultiThreadIoEventLoopGroup(LocalIoHandler.newFactory())`. +* [org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe](https://docs.openrewrite.org/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipesusdnioeventloopgroupfactoryrecipe): Replace `new NioEventLoopGroup()` with `new MultiThreadIoEventLoopGroup(NioIoHandler.newFactory())`. +* [org.openrewrite.java.recipes.IsLiteralNullRecipe](https://docs.openrewrite.org/recipes/java/recipes/isliteralnullrecipe): Recipe created for the following Refaster template: +```java +public class IsLiteralNull { + + @BeforeTemplate + boolean before(Expression expression) { + return expression instanceof J.Literal && ((J.Literal)expression).getValue() == null; + } + + @AfterTemplate + boolean after(Expression expression) { + return J.Literal.isLiteralValue(expression, null); + } +} +``` +. +* [org.openrewrite.java.recipes.SingleDocumentExample](https://docs.openrewrite.org/recipes/java/recipes/singledocumentexample): Ensures that there is only one `@DocumentExample` annotation per test class, as that looks best in the documentation. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipes): Replace the usage of static `Traits` methods with the corresponding constructor calls, as the `Traits` classes were an early abstraction with undesirable import conflicts. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$AnnotationMatcherRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdannotationmatcherrecipe): Removes the usage of static `org.openrewrite.java.trait.Traits.annotated(AnnotationMatcher)`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$ClassTypeRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdclasstyperecipe): Removes the usage of static `org.openrewrite.java.trait.Traits.annotated(Class)`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$DependencyRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusddependencyrecipe): Removes the usage of static `org.openrewrite.gradle.trait.Traits.gradleDependency()`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$JvmTestSuiteRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdjvmtestsuiterecipe): Removes the usage of static `org.openrewrite.gradle.trait.Traits.jvmTestSuite()`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$LiteralRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdliteralrecipe): Removes the usage of static `org.openrewrite.java.trait.Traits.literal()`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$MethodMatcherRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdmethodmatcherrecipe): Removes the usage of static `org.openrewrite.java.trait.Traits.methodAccess(MethodMatcher)`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$PluginRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdpluginrecipe): Removes the usage of static `org.openrewrite.maven.trait.Traits.mavenPlugin()`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$StringSignatureRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdstringsignaturerecipe): Removes the usage of static `org.openrewrite.java.trait.Traits.annotated(String)`. +* [org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$VariableAccessRecipe](https://docs.openrewrite.org/recipes/java/recipes/migrate/removetraitsusagerecipesusdvariableaccessrecipe): Removes the usage of static `org.openrewrite.java.trait.Traits.variableAccess()`. +* [org.openrewrite.java.spring.boot3.ChangeCassandraGroupId](https://docs.openrewrite.org/recipes/java/spring/boot3/changecassandragroupid): Change `groupId` from `com.datastax.oss` to `org.apache.cassandra` and adopt the Spring Boot 3.3 managed version. +* [org.openrewrite.java.spring.doc.MigrateDocketBeanToGroupedOpenApiBean](https://docs.openrewrite.org/recipes/java/spring/doc/migratedocketbeantogroupedopenapibean): Migrate a `Docket` bean to a `GroupedOpenAPI` bean preserving group name, packages and paths. When possible the recipe will prefer property based configuration. +* [org.openrewrite.java.spring.doc.RemoveBeanValidatorPluginsConfiguration](https://docs.openrewrite.org/recipes/java/spring/doc/removebeanvalidatorpluginsconfiguration): As Springdoc OpenAPI supports Bean Validation out of the box, the BeanValidatorPluginsConfiguration is no longer supported nor needed. Thus remove @Import(BeanValidatorPluginsConfiguration.class). +* [org.openrewrite.java.springdoc.UpgradeSpringDoc_2_2](https://docs.openrewrite.org/recipes/java/springdoc/upgradespringdoc_2_2): Upgrade to SpringDoc v2.2. +* [org.openrewrite.java.springdoc.UpgradeSpringDoc_2_5](https://docs.openrewrite.org/recipes/java/springdoc/upgradespringdoc_2_5): Upgrade to SpringDoc v2.5. +* [org.openrewrite.java.springdoc.UpgradeSpringDoc_2_6](https://docs.openrewrite.org/recipes/java/springdoc/upgradespringdoc_2_6): Upgrade to SpringDoc v2.6. +* [org.openrewrite.java.springdoc.UpgradeSpringDoc_2_8](https://docs.openrewrite.org/recipes/java/springdoc/upgradespringdoc_2_8): Upgrade to SpringDoc v2.8. +* [org.openrewrite.java.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers](https://docs.openrewrite.org/recipes/java/testing/junit5/excludejunit4unlessusingtestcontainers): Excludes JUnit 4, as it ought not to be necessary in a JUnit 5 project, unless Testcontainers is used. +* [org.openrewrite.netty.UpgradeNetty_4_1_to_4_2](https://docs.openrewrite.org/recipes/netty/upgradenetty_4_1_to_4_2): Migrate applications to the latest Netty 4.2.x release. +* [org.openrewrite.openapi.swagger.ConvertApiResponseToContent](https://docs.openrewrite.org/recipes/openapi/swagger/convertapiresponsetocontent): Convert API response to content annotation +* [org.openrewrite.staticanalysis.AnnotateNullableParameters](https://docs.openrewrite.org/recipes/staticanalysis/annotatenullableparameters): Add `@Nullable` to parameters of public methods that are explicitly checked for `null`. By default `org.jspecify.annotations.Nullable` is used, but through the `nullableAnnotationClass` option a custom annotation can be provided. When providing a custom `nullableAnnotationClass` that annotation should be meta annotated with `@Target(TYPE_USE)`. This recipe scans for methods that do not already have parameters annotated with `@Nullable` annotation and checks their usages for potential null checks. +* [org.openrewrite.staticanalysis.ReorderAnnotations](https://docs.openrewrite.org/recipes/staticanalysis/reorderannotations): Consistently order annotations by comparing their simple name. +* [software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods](https://docs.openrewrite.org/recipes/software/amazon/awssdk/v2migration/changetransfermanagersimplemethods): Change TransferManager simple methods to v2. +* [software.amazon.awssdk.v2migration.S3TmAddComments](https://docs.openrewrite.org/recipes/software/amazon/awssdk/v2migration/s3tmaddcomments): Add imports and comments to unsupported S3 transfer manager transforms. + +## Removed Recipes + +* **org.openrewrite.java.jspecify.MigrateToJspecify**: This recipe will migrate to JSpecify annotations from various other nullability annotation standards. +* **org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x**: Jakarta EE 10 uses Faces 4.0 a major upgrade to Jakarta packages and XML namespaces. +* **org.openrewrite.java.migrate.jakarta.JakartaFacesXhtml**: Find and replace legacy JSF namespaces and javax references with Jakarta Faces values in XHTML files. +* **org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces**: Java EE has been rebranded to Jakarta EE, necessitating a package relocation. +* **org.openrewrite.java.migrate.jakarta.UpgradeFacesOpenSourceLibraries**: Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE10 versions. +* **org.openrewrite.java.migrate.javax.AddJaxbDependencies**: This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well. +* **org.openrewrite.java.recipes.SetDefaultEstimatedEffortPerOccurrence**: Retrofit recipes with a default estimated effort per occurrence. + +## Changed Recipes + +* [org.openrewrite.gitlab.AddComponent](https://docs.openrewrite.org/recipes/gitlab/addcomponent) was changed: + * Old Options: + * `inputs: { type: List, required: false }` + * `newComponent: { type: String, required: true }` + * `version: { type: String, required: true }` + * New Options: + * `inputs: { type: List, required: false }` + * `insertMode: { type: InsertMode, required: false }` + * `newComponent: { type: String, required: true }` + * `version: { type: String, required: true }` +* [org.openrewrite.gitlab.AddStages](https://docs.openrewrite.org/recipes/gitlab/addstages) was changed: + * Old Options: + * `acceptTheirs: { type: Boolean, required: false }` + * `stages: { type: List, required: true }` + * New Options: + * `acceptTheirs: { type: Boolean, required: false }` + * `insertMode: { type: InsertMode, required: false }` + * `stages: { type: List, required: true }` +* [org.openrewrite.gitlab.AddTemplate](https://docs.openrewrite.org/recipes/gitlab/addtemplate) was changed: + * Old Options: + * `newTemplate: { type: String, required: true }` + * New Options: + * `insertMode: { type: InsertMode, required: false }` + * `newTemplate: { type: String, required: true }` +* [org.openrewrite.gradle.search.FindJVMTestSuites](https://docs.openrewrite.org/recipes/gradle/search/findjvmtestsuites) was changed: + * Old Options: + * `definesDependencies: { type: Boolean, required: true }` + * `insertRows: { type: Boolean, required: true }` + * New Options: + * `insertRows: { type: Boolean, required: true }` +* [io.quarkus.updates.core.quarkus37.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId](https://docs.openrewrite.org/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid) was changed: + * Old Options: + * `enforceManagedVersion: { type: Boolean, required: false }` + * `newArtifactId: { type: String, required: false }` + * `newGroupId: { type: String, required: false }` + * `newVersion: { type: String, required: false }` + * `oldArtifactId: { type: String, required: true }` + * `oldGroupId: { type: String, required: true }` + * `overrideManagedVersion: { type: Boolean, required: false }` + * `versionPattern: { type: String, required: false }` + * New Options: + * `enforceManagedVersion: { type: Boolean, required: false }` + * `newArtifactId: { type: String, required: false }` + * `newGroupId: { type: String, required: false }` + * `newVersion: { type: String, required: false }` + * `oldArtifactId: { type: String, required: true }` + * `oldGroupId: { type: String, required: true }` + * `overrideManagedVersion: { type: Boolean, required: false }` + * `removeVersionIfManaged: { type: Boolean, required: false }` + * `versionPattern: { type: String, required: false }` \ No newline at end of file diff --git a/docs/recipes/ai/timefold/solver/migration/changeversion.md b/docs/recipes/ai/timefold/solver/migration/changeversion.md index 97d1cb4d7c..819155b897 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.22.1` + * newValue: `1.23.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `version.timefold` - * newValue: `1.22.1` + * newValue: `1.23.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `ai.timefold.solver.version` - * newValue: `1.22.1` + * newValue: `1.23.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `timefold.version` - * newValue: `1.22.1` + * newValue: `1.23.0` * addIfMissing: `false` * trustParent: `true` * [Change Maven project property value](../../../../maven/changepropertyvalue) * key: `timefoldVersion` - * newValue: `1.22.1` + * newValue: `1.23.0` * addIfMissing: `false` * trustParent: `true` @@ -68,27 +68,27 @@ description: | recipeList: - org.openrewrite.maven.ChangePropertyValue: key: version.ai.timefold.solver - newValue: 1.22.1 + newValue: 1.23.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: version.timefold - newValue: 1.22.1 + newValue: 1.23.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: ai.timefold.solver.version - newValue: 1.22.1 + newValue: 1.23.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: timefold.version - newValue: 1.22.1 + newValue: 1.23.0 addIfMissing: false trustParent: true - org.openrewrite.maven.ChangePropertyValue: key: timefoldVersion - newValue: 1.22.1 + newValue: 1.23.0 addIfMissing: false trustParent: true @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md b/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md index 47c47de848..64d8aad2ed 100644 --- a/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md +++ b/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md @@ -1536,7 +1536,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md b/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md index 6445f1b025..e468762a29 100644 --- a/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md +++ b/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md @@ -254,7 +254,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/tolatest.md b/docs/recipes/ai/timefold/solver/migration/tolatest.md index 629bae7fc2..d2723422d9 100644 --- a/docs/recipes/ai/timefold/solver/migration/tolatest.md +++ b/docs/recipes/ai/timefold/solver/migration/tolatest.md @@ -118,7 +118,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md index f942f84bdc..23c794e478 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md index 79431b8904..97e411e1f9 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md index 57a8dbc059..a43bb07d39 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md @@ -130,7 +130,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md index e9dacad4f9..5423917ec3 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md index 0154d963fb..690c753cd1 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md index c631574377..59265e4f48 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md index 64b2fdeb2c..215fd8200c 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md index c5eb65a214..fb99468f4e 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md index c83279fded..860ebe37ea 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/analysis/controlflow/controlflowvisualization.md b/docs/recipes/analysis/controlflow/controlflowvisualization.md index e592ffdd37..75488a6421 100644 --- a/docs/recipes/analysis/controlflow/controlflowvisualization.md +++ b/docs/recipes/analysis/controlflow/controlflowvisualization.md @@ -96,7 +96,7 @@ Now that `com.yourorg.ControlFlowVisualizationExample` has been defined, activat ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/analysis/search/findflowbetweenmethods.md b/docs/recipes/analysis/search/findflowbetweenmethods.md index 42b1dcf9dc..94a929c338 100644 --- a/docs/recipes/analysis/search/findflowbetweenmethods.md +++ b/docs/recipes/analysis/search/findflowbetweenmethods.md @@ -119,7 +119,7 @@ Now that `com.yourorg.FindFlowBetweenMethodsExample` has been defined, activate ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/analysis/search/findmethods.md b/docs/recipes/analysis/search/findmethods.md index 21a8356b85..d9bf5ffe77 100644 --- a/docs/recipes/analysis/search/findmethods.md +++ b/docs/recipes/analysis/search/findmethods.md @@ -98,7 +98,7 @@ Now that `com.yourorg.FindMethodsExample` has been defined, activate it and take ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/analysis/search/uricreatedwithhttpscheme.md b/docs/recipes/analysis/search/uricreatedwithhttpscheme.md index 20fdf66d38..088cdee1c4 100644 --- a/docs/recipes/analysis/search/uricreatedwithhttpscheme.md +++ b/docs/recipes/analysis/search/uricreatedwithhttpscheme.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md b/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md index decf319d57..9868bd3780 100644 --- a/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md +++ b/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md @@ -142,7 +142,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md b/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md index a284b9a1de..e1423a42d8 100644 --- a/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md +++ b/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md @@ -303,7 +303,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md index 54f2dabadd..687a211c14 100644 --- a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md +++ b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md index aa7251d933..c40e1b37dd 100644 --- a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md +++ b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md index 55206108ff..ccf600c58b 100644 --- a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md +++ b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md @@ -207,7 +207,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md b/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md index fa3c286996..bdbd683122 100644 --- a/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md +++ b/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md @@ -128,7 +128,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md b/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md index fb40c0294c..0b4d0182df 100644 --- a/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md +++ b/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md @@ -41,7 +41,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/relocateapachecommonsio.md b/docs/recipes/apache/commons/io/relocateapachecommonsio.md index 421363bbe9..8aca24ab7d 100644 --- a/docs/recipes/apache/commons/io/relocateapachecommonsio.md +++ b/docs/recipes/apache/commons/io/relocateapachecommonsio.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/usestandardcharsets.md b/docs/recipes/apache/commons/io/usestandardcharsets.md index 0dcc0fc8d8..49d01175fc 100644 --- a/docs/recipes/apache/commons/io/usestandardcharsets.md +++ b/docs/recipes/apache/commons/io/usestandardcharsets.md @@ -235,7 +235,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/io/usesystemlineseparator.md b/docs/recipes/apache/commons/io/usesystemlineseparator.md index c772da03a0..df3021fa70 100644 --- a/docs/recipes/apache/commons/io/usesystemlineseparator.md +++ b/docs/recipes/apache/commons/io/usesystemlineseparator.md @@ -163,7 +163,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md index 9a1153a3b3..813e10d26a 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md index 6a2fc1a5dd..8c845dbe34 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md index 96fa705b1e..410388609b 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md index 7fbb3b1132..3a4e80e2fc 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md index 83449dbd62..61ca8fda09 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md index 8a3df4d41e..3b2d3fd20b 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md index 780faf20f1..2fb6cbf040 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md index dfe5ac46b5..3aa62830f4 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md index c7dfad9fba..ddec618098 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md index c73b6f5ae0..a500e58b21 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md index 1203b59037..95eda9539e 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md index d3127687ee..602f7c5a09 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md index d0cf54eb77..716947c50d 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md index c04b2db609..d9f72cd355 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md index f7919774d2..b6f910fc5c 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md index cef8537a37..8dff086dce 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md index 6898906af4..e854a487fd 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md index 3ed2bb7825..dbda7b69e1 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md @@ -369,7 +369,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/isnotemptytojdk.md b/docs/recipes/apache/commons/lang/isnotemptytojdk.md index c00c690c4e..ac0ed457e3 100644 --- a/docs/recipes/apache/commons/lang/isnotemptytojdk.md +++ b/docs/recipes/apache/commons/lang/isnotemptytojdk.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md b/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md index b3860f0984..c8e90b87ad 100644 --- a/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md +++ b/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md @@ -44,6 +44,12 @@ This recipe is available under the [Moderne Source Available License](https://do * oldPackageName: `org.apache.commons.lang` * newPackageName: `org.apache.commons.lang3` * recursive: `true` +* [Change method name](../../../java/changemethodname) + * methodPattern: `org.apache.commons.lang3.exception.ExceptionUtils getFullStackTrace(..)` + * newMethodName: `getStackTrace` +* [Change type](../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.commons.lang3.NullArgumentException` + * newFullyQualifiedTypeName: `java.lang.NullPointerException` @@ -71,6 +77,12 @@ recipeList: oldPackageName: org.apache.commons.lang newPackageName: org.apache.commons.lang3 recursive: true + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.apache.commons.lang3.exception.ExceptionUtils getFullStackTrace(..) + newMethodName: getStackTrace + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.commons.lang3.NullArgumentException + newFullyQualifiedTypeName: java.lang.NullPointerException ``` @@ -191,7 +203,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/lang3/usestandardcharsets.md b/docs/recipes/apache/commons/lang3/usestandardcharsets.md index 3226e22673..2fbed34350 100644 --- a/docs/recipes/apache/commons/lang3/usestandardcharsets.md +++ b/docs/recipes/apache/commons/lang3/usestandardcharsets.md @@ -277,7 +277,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md b/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md index 3e7eb56a55..0048d4d587 100644 --- a/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md +++ b/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md @@ -197,7 +197,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md b/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md index b11042d327..e3e2902671 100644 --- a/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md +++ b/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -258,4 +258,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io) +[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md b/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md index 8ac541768c..3bf3d55c22 100644 --- a/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md +++ b/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -279,4 +279,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Sam Snyder](mailto:sam@moderne.io) +[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md b/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md index 85d7331136..1c51a30e5c 100644 --- a/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md +++ b/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md @@ -211,7 +211,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -393,4 +393,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io) +[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/apache/httpclient5/README.md b/docs/recipes/apache/httpclient5/README.md index 8673ce5231..b2c54765f1 100644 --- a/docs/recipes/apache/httpclient5/README.md +++ b/docs/recipes/apache/httpclient5/README.md @@ -7,6 +7,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Adds `TimeUnit` to timeouts and duration methods](./upgradeapachehttpclient_5_timeunit.md) * [Migrate `clear` to ApacheHttpClient 5.x `CredentialsStore`](./credentialsstoreclear.md) * [Migrate `setCredentials` to ApacheHttpClient 5.x `CredentialsStore`](./credentialsstoresetcredentials.md) +* [Migrate to Apache HttpCore Nio Classes to Apache HttpCore 5.x](./upgradeapachehttpcore_5_nioclassmapping.md) * [Migrate to ApacheHttpClient 5.x](./upgradeapachehttpclient_5.md) * [Migrate to ApacheHttpClient 5.x Classes Namespace from 4.x](./upgradeapachehttpclient_5_classmapping.md) * [Migrate to ApacheHttpClient 5.x deprecated methods from 4.x](./upgradeapachehttpclient_5_deprecatedmethods.md) @@ -15,9 +16,12 @@ _Recipes that include further recipes, often including the individual recipes be ## Recipes * [Adds a TimeUnit argument to the matched method invocations](./addtimeunitargument.md) +* [Changes an argument to a `TimeValue` for matched method invocations](./changeargumenttotimevalue.md) * [Migrate `RequestConfig` to httpclient5](./migraterequestconfig.md) * [Migrate `UsernamePasswordCredentials` to httpclient5](./usernamepasswordcredentials.md) +* [Replace `new StringEntity(String, String)` with `new StringEntity(String, Charset)`](./migratestringentitystringcharsetconstructor.md) * [Replaces `AuthScope.ANY`](./migrateauthscope.md) +* [Replaces deprecated `HttpRequestBase::getRequestLine()`](./newrequestline.md) * [Replaces deprecated `HttpResponse::getStatusLine()`](./newstatusline.md) diff --git a/docs/recipes/apache/httpclient5/addtimeunitargument.md b/docs/recipes/apache/httpclient5/addtimeunitargument.md index bd67bbed42..0b0e55ddcf 100644 --- a/docs/recipes/apache/httpclient5/addtimeunitargument.md +++ b/docs/recipes/apache/httpclient5/addtimeunitargument.md @@ -50,7 +50,7 @@ Now that `com.yourorg.AddTimeUnitArgumentExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/httpclient5/changeargumenttotimevalue.md b/docs/recipes/apache/httpclient5/changeargumenttotimevalue.md new file mode 100644 index 0000000000..bea9c06c3f --- /dev/null +++ b/docs/recipes/apache/httpclient5/changeargumenttotimevalue.md @@ -0,0 +1,244 @@ +--- +sidebar_label: "Changes an argument to a TimeValue for matched method invocations" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Changes an argument to a `TimeValue` for matched method invocations + +**org.openrewrite.apache.httpclient5.ChangeArgumentToTimeValue** + +_In Apache Http Client 5.x migration, some methods that previously took a single long argument have changed to take a `TimeValue`. Previously in 4.x, all these methods were implicitly having the value expressed in milliseconds. By default this recipe uses `TimeUnit.MILLISECONDS` for the `TimeUnit` when creating a `TimeValue`. It is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one long argument, the recipe applies with matched method invocations of exactly one parameter._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/ChangeArgumentToTimeValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) + +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` | methodPattern | A method pattern that is used to find matching method invocations. | `org.apache.http.impl.nio.reactor.IOReactorConfig.Builder setSelectInterval(long)` | +| `TimeUnit` | timeUnit | *Optional*. The TimeUnit enum value we want to use to turn the original value into a TimeValue. Defaults to `MILLISECONDS`. | `MILLISECONDS` | + +## Example + +###### Parameters +| Parameter | Value | +| -- | -- | +|methodPattern|`A method(long)`| +|timeUnit|`null`| + + + + + + +###### Before +```java +class B { + void test() { + A a = new A(); + a.method(100); + } +} +``` + +###### After +```java +import org.apache.hc.core5.util.TimeValue; + +import java.util.concurrent.TimeUnit; + +class B { + void test() { + A a = new A(); + a.method(TimeValue.of(100, TimeUnit.MILLISECONDS)); + } +} +``` + + + + +```diff +@@ -1,0 +1,4 @@ ++import org.apache.hc.core5.util.TimeValue; ++ ++import java.util.concurrent.TimeUnit; ++ +class B { +@@ -4,1 +8,1 @@ + void test() { + A a = new A(); +- a.method(100); ++ a.method(TimeValue.of(100, TimeUnit.MILLISECONDS)); + } +``` + + + + +## 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.ChangeArgumentToTimeValueExample`. +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.ChangeArgumentToTimeValueExample +displayName: Changes an argument to a `TimeValue` for matched method invocations example +recipeList: + - org.openrewrite.apache.httpclient5.ChangeArgumentToTimeValue: + methodPattern: org.apache.http.impl.nio.reactor.IOReactorConfig.Builder setSelectInterval(long) + timeUnit: MILLISECONDS +``` + +Now that `com.yourorg.ChangeArgumentToTimeValueExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}` 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.ChangeArgumentToTimeValueExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}") +} +``` +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.ChangeArgumentToTimeValueExample + + + + + org.openrewrite.recipe + rewrite-apache + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} + + + + + + +``` +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 ChangeArgumentToTimeValue --recipe-option "methodPattern=org.apache.http.impl.nio.reactor.IOReactorConfig.Builder setSelectInterval(long)" --recipe-option "timeUnit=MILLISECONDS" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} +``` + + + +## 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 +[steve-aom-elliott](mailto:steve@moderne.io), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/apache/httpclient5/credentialsstoreclear.md b/docs/recipes/apache/httpclient5/credentialsstoreclear.md index 3930096d64..6a94cb5ce0 100644 --- a/docs/recipes/apache/httpclient5/credentialsstoreclear.md +++ b/docs/recipes/apache/httpclient5/credentialsstoreclear.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/httpclient5/credentialsstoresetcredentials.md b/docs/recipes/apache/httpclient5/credentialsstoresetcredentials.md index df7655780d..5d51edeb7f 100644 --- a/docs/recipes/apache/httpclient5/credentialsstoresetcredentials.md +++ b/docs/recipes/apache/httpclient5/credentialsstoresetcredentials.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/httpclient5/migrateauthscope.md b/docs/recipes/apache/httpclient5/migrateauthscope.md index 0a67d484fa..1dfca699e6 100644 --- a/docs/recipes/apache/httpclient5/migrateauthscope.md +++ b/docs/recipes/apache/httpclient5/migrateauthscope.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/httpclient5/migraterequestconfig.md b/docs/recipes/apache/httpclient5/migraterequestconfig.md index 3f33c44a94..96b5e58783 100644 --- a/docs/recipes/apache/httpclient5/migraterequestconfig.md +++ b/docs/recipes/apache/httpclient5/migraterequestconfig.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +SiBorea, [Laurens Westerlaken](mailto:laurens.westerlaken@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/apache/httpclient5/migratestringentitystringcharsetconstructor.md b/docs/recipes/apache/httpclient5/migratestringentitystringcharsetconstructor.md new file mode 100644 index 0000000000..4ab0dc1ef0 --- /dev/null +++ b/docs/recipes/apache/httpclient5/migratestringentitystringcharsetconstructor.md @@ -0,0 +1,274 @@ +--- +sidebar_label: "Replace new StringEntity(String, String) with new StringEntity(String, Charset)" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace `new StringEntity(String, String)` with `new StringEntity(String, Charset)` + +**org.openrewrite.apache.httpclient5.MigrateStringEntityStringCharsetConstructor** + +_Replace `new StringEntity(String, String)` with `new StringEntity(String, Charset)` to eliminate literal usage for charset parameters._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/MigrateStringEntityStringCharsetConstructor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Example + + + + + + +###### Before +```java +import org.apache.http.entity.StringEntity; + +class A { + void method() { + StringEntity utf8Entity = new StringEntity("a", "utf-8"); + StringEntity utf16Entity = new StringEntity("b", "utf-16"); + StringEntity anotherEntity = new StringEntity("utf-8", "utf-8"); + } +} +``` + +###### After +```java +import org.apache.http.entity.StringEntity; + +import java.nio.charset.StandardCharsets; + +class A { + void method() { + StringEntity utf8Entity = new StringEntity("a", StandardCharsets.UTF_8); + StringEntity utf16Entity = new StringEntity("b", StandardCharsets.UTF_16); + StringEntity anotherEntity = new StringEntity("utf-8", StandardCharsets.UTF_8); + } +} +``` + + + + +```diff +@@ -3,0 +3,2 @@ +import org.apache.http.entity.StringEntity; + ++import java.nio.charset.StandardCharsets; ++ +class A { +@@ -5,3 +7,3 @@ +class A { + void method() { +- StringEntity utf8Entity = new StringEntity("a", "utf-8"); +- StringEntity utf16Entity = new StringEntity("b", "utf-16"); +- StringEntity anotherEntity = new StringEntity("utf-8", "utf-8"); ++ StringEntity utf8Entity = new StringEntity("a", StandardCharsets.UTF_8); ++ StringEntity utf16Entity = new StringEntity("b", StandardCharsets.UTF_16); ++ StringEntity anotherEntity = new StringEntity("utf-8", StandardCharsets.UTF_8); + } +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` 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.apache.httpclient5.MigrateStringEntityStringCharsetConstructor") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}") +} +``` + +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-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}") + } + rewrite { + activeRecipe("org.openrewrite.apache.httpclient5.MigrateStringEntityStringCharsetConstructor") + 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.apache.httpclient5.MigrateStringEntityStringCharsetConstructor + + + + + org.openrewrite.recipe + rewrite-apache + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} + + + + + + +``` + +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-apache:RELEASE -Drewrite.activeRecipes=org.openrewrite.apache.httpclient5.MigrateStringEntityStringCharsetConstructor -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 MigrateStringEntityStringCharsetConstructor +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} +``` + + + +## 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 +[steve-aom-elliott](mailto:steve@moderne.io) diff --git a/docs/recipes/apache/httpclient5/newrequestline.md b/docs/recipes/apache/httpclient5/newrequestline.md new file mode 100644 index 0000000000..41d6615b7f --- /dev/null +++ b/docs/recipes/apache/httpclient5/newrequestline.md @@ -0,0 +1,215 @@ +--- +sidebar_label: "Replaces deprecated HttpRequestBase::getRequestLine()" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replaces deprecated `HttpRequestBase::getRequestLine()` + +**org.openrewrite.apache.httpclient5.NewRequestLine** + +_`HttpRequestBase::getStatusLine()` was removed in 5.x when `HttpRequestBase` was migrated to `HttpUriRequestBase`, so we replace it with `new RequestLine(HttpRequest)`. Ideally we will try to simply method chains for `getMethod`, `getUri` and `getProtocolVersion`, but there are some scenarios where `RequestLine` object is assigned or used directly, and we need to instantiate the object._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/NewRequestLine.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) + +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-apache` 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.apache.httpclient5.NewRequestLine") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}") +} +``` + +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-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}") + } + rewrite { + activeRecipe("org.openrewrite.apache.httpclient5.NewRequestLine") + 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.apache.httpclient5.NewRequestLine + + + + + org.openrewrite.recipe + rewrite-apache + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} + + + + + + +``` + +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-apache:RELEASE -Drewrite.activeRecipes=org.openrewrite.apache.httpclient5.NewRequestLine -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 NewRequestLine +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} +``` + + + +## 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 +[steve-aom-elliott](mailto:steve@moderne.io) diff --git a/docs/recipes/apache/httpclient5/newstatusline.md b/docs/recipes/apache/httpclient5/newstatusline.md index 5ed313e2fb..6dfb803ca5 100644 --- a/docs/recipes/apache/httpclient5/newstatusline.md +++ b/docs/recipes/apache/httpclient5/newstatusline.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@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), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/apache/httpclient5/statusline.md b/docs/recipes/apache/httpclient5/statusline.md index 3fde6aa91f..b10bd3a917 100644 --- a/docs/recipes/apache/httpclient5/statusline.md +++ b/docs/recipes/apache/httpclient5/statusline.md @@ -38,6 +38,7 @@ This recipe is available under the [Moderne Source Available License](https://do * methodPatternChain: `[org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getProtocolVersion()]` * newMethodName: `getVersion` * [Replaces deprecated `HttpResponse::getStatusLine()`](../../apache/httpclient5/newstatusline) +* [Replaces deprecated `HttpRequestBase::getRequestLine()`](../../apache/httpclient5/newrequestline) @@ -61,6 +62,7 @@ recipeList: methodPatternChain: [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getProtocolVersion()] newMethodName: getVersion - org.openrewrite.apache.httpclient5.NewStatusLine + - org.openrewrite.apache.httpclient5.NewRequestLine ``` @@ -76,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -258,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[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), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io), [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 0a255efca7..e1155f42d2 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md @@ -57,6 +57,7 @@ This recipe is available under the [Moderne Source Available License](https://do * artifactId: `httpclient5` * version: `5.4.x` * onlyIfUsing: `org.apache.http.impl.client.*` +* [Migrate to Apache HttpCore Nio Classes to Apache HttpCore 5.x](../../apache/httpclient5/upgradeapachehttpcore_5_nioclassmapping) * [Remove duplicate Maven dependencies](../../maven/removeduplicatedependencies) * [Migrate `RequestConfig` to httpclient5](../../apache/httpclient5/migraterequestconfig) * [Migrate `UsernamePasswordCredentials` to httpclient5](../../apache/httpclient5/usernamepasswordcredentials) @@ -105,6 +106,7 @@ recipeList: artifactId: httpclient5 version: 5.4.x onlyIfUsing: org.apache.http.impl.client.* + - org.openrewrite.apache.httpclient5.UpgradeApacheHttpCore_5_NioClassMapping - org.openrewrite.maven.RemoveDuplicateDependencies - org.openrewrite.apache.httpclient5.MigrateRequestConfig - org.openrewrite.apache.httpclient5.UsernamePasswordCredentials @@ -259,6 +261,170 @@ class A { +###### Before +```java +import org.apache.http.client.methods.HttpGet; +import org.apache.http.ProtocolVersion; + +class A { + void method() { + HttpGet httpGet = new HttpGet("https://moderne.io"); + System.out.println("httpGet.getRequestLine() :: " + httpGet.getRequestLine()); + String method = httpGet.getRequestLine().getMethod(); + String uri = httpGet.getRequestLine().getUri(); + ProtocolVersion version = httpGet.getRequestLine().getProtocolVersion(); + } +} +``` + +###### After +```java +import org.apache.hc.client5.http.classic.methods.HttpGet; +import org.apache.hc.core5.http.ProtocolVersion; +import org.apache.hc.core5.http.message.RequestLine; + +class A { + void method() { + HttpGet httpGet = new HttpGet("https://moderne.io"); + System.out.println("httpGet.getRequestLine() :: " + new RequestLine(httpGet)); + String method = new RequestLine(httpGet).getMethod(); + String uri = new RequestLine(httpGet).getUri(); + ProtocolVersion version = new RequestLine(httpGet).getProtocolVersion(); + } +} +``` + + + + +```diff +@@ -1,2 +1,3 @@ +-import org.apache.http.client.methods.HttpGet; +-import org.apache.http.ProtocolVersion; ++import org.apache.hc.client5.http.classic.methods.HttpGet; ++import org.apache.hc.core5.http.ProtocolVersion; ++import org.apache.hc.core5.http.message.RequestLine; + +@@ -7,4 +8,4 @@ + void method() { + HttpGet httpGet = new HttpGet("https://moderne.io"); +- System.out.println("httpGet.getRequestLine() :: " + httpGet.getRequestLine()); +- String method = httpGet.getRequestLine().getMethod(); +- String uri = httpGet.getRequestLine().getUri(); +- ProtocolVersion version = httpGet.getRequestLine().getProtocolVersion(); ++ System.out.println("httpGet.getRequestLine() :: " + new RequestLine(httpGet)); ++ String method = new RequestLine(httpGet).getMethod(); ++ String uri = new RequestLine(httpGet).getUri(); ++ ProtocolVersion version = new RequestLine(httpGet).getProtocolVersion(); + } +``` + + + +--- + +##### Example 4 + + + + + + +###### Before +```java +import org.apache.http.HttpStatus; +import org.apache.http.client.methods.CloseableHttpResponse; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.impl.client.CloseableHttpClient; +import org.apache.http.impl.client.HttpClientBuilder; +import org.apache.http.ProtocolVersion; + +import java.io.IOException; + +class A { + void method() throws IOException { + HttpGet httpGet = new HttpGet("https://moderne.io"); + CloseableHttpClient instance = HttpClientBuilder.create().build(); + CloseableHttpResponse response = instance.execute(httpGet); + + System.out.println("response.getStatusLine() :: " + response.getStatusLine()); + int statusCode = response.getStatusLine().getStatusCode(); + String reason = response.getStatusLine().getReasonPhrase(); + ProtocolVersion version = response.getStatusLine().getProtocolVersion(); + } +} +``` + +###### After +```java +import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse; +import org.apache.hc.core5.http.HttpStatus; +import org.apache.hc.client5.http.classic.methods.HttpGet; +import org.apache.hc.client5.http.impl.classic.CloseableHttpClient; +import org.apache.hc.client5.http.impl.classic.HttpClientBuilder; +import org.apache.hc.core5.http.ProtocolVersion; +import org.apache.hc.core5.http.message.StatusLine; + +import java.io.IOException; + +class A { + void method() throws IOException { + HttpGet httpGet = new HttpGet("https://moderne.io"); + CloseableHttpClient instance = HttpClientBuilder.create().build(); + CloseableHttpResponse response = instance.execute(httpGet); + + System.out.println("response.getStatusLine() :: " + new StatusLine(response)); + int statusCode = response.getCode(); + String reason = response.getReasonPhrase(); + ProtocolVersion version = response.getVersion(); + } +} +``` + + + + +```diff +@@ -1,6 +1,7 @@ +-import org.apache.http.HttpStatus; +-import org.apache.http.client.methods.CloseableHttpResponse; +-import org.apache.http.client.methods.HttpGet; +-import org.apache.http.impl.client.CloseableHttpClient; +-import org.apache.http.impl.client.HttpClientBuilder; +-import org.apache.http.ProtocolVersion; ++import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse; ++import org.apache.hc.core5.http.HttpStatus; ++import org.apache.hc.client5.http.classic.methods.HttpGet; ++import org.apache.hc.client5.http.impl.classic.CloseableHttpClient; ++import org.apache.hc.client5.http.impl.classic.HttpClientBuilder; ++import org.apache.hc.core5.http.ProtocolVersion; ++import org.apache.hc.core5.http.message.StatusLine; + +@@ -16,4 +17,4 @@ + CloseableHttpResponse response = instance.execute(httpGet); + +- System.out.println("response.getStatusLine() :: " + response.getStatusLine()); +- int statusCode = response.getStatusLine().getStatusCode(); +- String reason = response.getStatusLine().getReasonPhrase(); +- ProtocolVersion version = response.getStatusLine().getProtocolVersion(); ++ System.out.println("response.getStatusLine() :: " + new StatusLine(response)); ++ int statusCode = response.getCode(); ++ String reason = response.getReasonPhrase(); ++ ProtocolVersion version = response.getVersion(); + } +``` + + + +--- + +##### Example 5 + + + + + + ###### Before ```java import org.apache.http.client.config.CookieSpecs; @@ -309,7 +475,7 @@ class A { --- -##### Example 4 +##### Example 6 @@ -394,7 +560,7 @@ class A { --- -##### Example 5 +##### Example 7 @@ -443,7 +609,171 @@ class A { --- -##### Example 6 +##### Example 8 + + + + + + +###### Before +```java +import org.apache.http.client.methods.HttpGet; +import org.apache.http.ProtocolVersion; + +class A { + void method() { + HttpGet httpGet = new HttpGet("https://moderne.io"); + System.out.println("httpGet.getRequestLine() :: " + httpGet.getRequestLine()); + String method = httpGet.getRequestLine().getMethod(); + String uri = httpGet.getRequestLine().getUri(); + ProtocolVersion version = httpGet.getRequestLine().getProtocolVersion(); + } +} +``` + +###### After +```java +import org.apache.hc.client5.http.classic.methods.HttpGet; +import org.apache.hc.core5.http.ProtocolVersion; +import org.apache.hc.core5.http.message.RequestLine; + +class A { + void method() { + HttpGet httpGet = new HttpGet("https://moderne.io"); + System.out.println("httpGet.getRequestLine() :: " + new RequestLine(httpGet)); + String method = new RequestLine(httpGet).getMethod(); + String uri = new RequestLine(httpGet).getUri(); + ProtocolVersion version = new RequestLine(httpGet).getProtocolVersion(); + } +} +``` + + + + +```diff +@@ -1,2 +1,3 @@ +-import org.apache.http.client.methods.HttpGet; +-import org.apache.http.ProtocolVersion; ++import org.apache.hc.client5.http.classic.methods.HttpGet; ++import org.apache.hc.core5.http.ProtocolVersion; ++import org.apache.hc.core5.http.message.RequestLine; + +@@ -7,4 +8,4 @@ + void method() { + HttpGet httpGet = new HttpGet("https://moderne.io"); +- System.out.println("httpGet.getRequestLine() :: " + httpGet.getRequestLine()); +- String method = httpGet.getRequestLine().getMethod(); +- String uri = httpGet.getRequestLine().getUri(); +- ProtocolVersion version = httpGet.getRequestLine().getProtocolVersion(); ++ System.out.println("httpGet.getRequestLine() :: " + new RequestLine(httpGet)); ++ String method = new RequestLine(httpGet).getMethod(); ++ String uri = new RequestLine(httpGet).getUri(); ++ ProtocolVersion version = new RequestLine(httpGet).getProtocolVersion(); + } +``` + + + +--- + +##### Example 9 + + + + + + +###### Before +```java +import org.apache.http.HttpStatus; +import org.apache.http.client.methods.CloseableHttpResponse; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.impl.client.CloseableHttpClient; +import org.apache.http.impl.client.HttpClientBuilder; +import org.apache.http.ProtocolVersion; + +import java.io.IOException; + +class A { + void method() throws IOException { + HttpGet httpGet = new HttpGet("https://moderne.io"); + CloseableHttpClient instance = HttpClientBuilder.create().build(); + CloseableHttpResponse response = instance.execute(httpGet); + + System.out.println("response.getStatusLine() :: " + response.getStatusLine()); + int statusCode = response.getStatusLine().getStatusCode(); + String reason = response.getStatusLine().getReasonPhrase(); + ProtocolVersion version = response.getStatusLine().getProtocolVersion(); + } +} +``` + +###### After +```java +import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse; +import org.apache.hc.core5.http.HttpStatus; +import org.apache.hc.client5.http.classic.methods.HttpGet; +import org.apache.hc.client5.http.impl.classic.CloseableHttpClient; +import org.apache.hc.client5.http.impl.classic.HttpClientBuilder; +import org.apache.hc.core5.http.ProtocolVersion; +import org.apache.hc.core5.http.message.StatusLine; + +import java.io.IOException; + +class A { + void method() throws IOException { + HttpGet httpGet = new HttpGet("https://moderne.io"); + CloseableHttpClient instance = HttpClientBuilder.create().build(); + CloseableHttpResponse response = instance.execute(httpGet); + + System.out.println("response.getStatusLine() :: " + new StatusLine(response)); + int statusCode = response.getCode(); + String reason = response.getReasonPhrase(); + ProtocolVersion version = response.getVersion(); + } +} +``` + + + + +```diff +@@ -1,6 +1,7 @@ +-import org.apache.http.HttpStatus; +-import org.apache.http.client.methods.CloseableHttpResponse; +-import org.apache.http.client.methods.HttpGet; +-import org.apache.http.impl.client.CloseableHttpClient; +-import org.apache.http.impl.client.HttpClientBuilder; +-import org.apache.http.ProtocolVersion; ++import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse; ++import org.apache.hc.core5.http.HttpStatus; ++import org.apache.hc.client5.http.classic.methods.HttpGet; ++import org.apache.hc.client5.http.impl.classic.CloseableHttpClient; ++import org.apache.hc.client5.http.impl.classic.HttpClientBuilder; ++import org.apache.hc.core5.http.ProtocolVersion; ++import org.apache.hc.core5.http.message.StatusLine; + +@@ -16,4 +17,4 @@ + CloseableHttpResponse response = instance.execute(httpGet); + +- System.out.println("response.getStatusLine() :: " + response.getStatusLine()); +- int statusCode = response.getStatusLine().getStatusCode(); +- String reason = response.getStatusLine().getReasonPhrase(); +- ProtocolVersion version = response.getStatusLine().getProtocolVersion(); ++ System.out.println("response.getStatusLine() :: " + new StatusLine(response)); ++ int statusCode = response.getCode(); ++ String reason = response.getReasonPhrase(); ++ ProtocolVersion version = response.getVersion(); + } +``` + + + +--- + +##### Example 10 @@ -509,7 +839,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -691,4 +1021,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), SiBorea, Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io) +[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) diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md index 699f85269a..d358f24d1f 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md @@ -160,6 +160,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change type](../../java/changetype) * oldFullyQualifiedTypeName: `org.apache.http.entity.mime.MinimalField` * newFullyQualifiedTypeName: `org.apache.hc.client5.http.entity.mime.MimeField` +* [Replace `new StringEntity(String, String)` with `new StringEntity(String, Charset)`](../../apache/httpclient5/migratestringentitystringcharsetconstructor) * [Rename package name](../../java/changepackage) * oldPackageName: `org.apache.http.impl.bootstrap` * newPackageName: `org.apache.hc.core5.http.impl.bootstrap` @@ -556,6 +557,7 @@ recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: org.apache.http.entity.mime.MinimalField newFullyQualifiedTypeName: org.apache.hc.client5.http.entity.mime.MimeField + - org.openrewrite.apache.httpclient5.MigrateStringEntityStringCharsetConstructor - org.openrewrite.java.ChangePackage: oldPackageName: org.apache.http.impl.bootstrap newPackageName: org.apache.hc.core5.http.impl.bootstrap @@ -822,7 +824,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -1002,3 +1004,6 @@ _Statistics used in analyzing the performance of recipes._ + +## Contributors +[steve-aom-elliott](mailto:steve@moderne.io) diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md index e21e32c9d0..ff107468ab 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md index 3e6309877d..573a358740 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpcore_5_nioclassmapping.md b/docs/recipes/apache/httpclient5/upgradeapachehttpcore_5_nioclassmapping.md new file mode 100644 index 0000000000..9a7b3ac7e0 --- /dev/null +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpcore_5_nioclassmapping.md @@ -0,0 +1,528 @@ +--- +sidebar_label: "Migrate to Apache HttpCore Nio Classes to Apache HttpCore 5.x" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate to Apache HttpCore Nio Classes to Apache HttpCore 5.x + +**org.openrewrite.apache.httpclient5.UpgradeApacheHttpCore\_5\_NioClassMapping** + +_Mapping of all the compatible classes of Apache HttpCore 5.x from Apache HttpCore Nio 4.4.x._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) + +:::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.apache.httpcomponents` + * oldArtifactId: `httpcore-nio` + * newGroupId: `org.apache.httpcomponents.core5` + * newArtifactId: `httpcore5` + * newVersion: `5.3.x` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.http.impl.nio.reactor.IOReactorConfig` + * newFullyQualifiedTypeName: `org.apache.hc.core5.reactor.IOReactorConfig` +* [Change method invocation return type](../../java/changemethodinvocationreturntype) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig getSelectInterval()` + * newReturnType: `org.apache.hc.core5.util.TimeValue` +* [Remove method invocations](../../java/removemethodinvocations) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig getShutdownGracePeriod()` +* [Remove method invocations](../../java/removemethodinvocations) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig isInterestOpQueued()` +* [Change method invocation return type](../../java/changemethodinvocationreturntype) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig getSoTimeout()` + * newReturnType: `org.apache.hc.core5.util.Timeout` +* [Change method invocation return type](../../java/changemethodinvocationreturntype) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig getSoLinger()` + * newReturnType: `org.apache.hc.core5.util.TimeValue` +* [Remove method invocations](../../java/removemethodinvocations) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig getConnectTimeout()` +* [Change type](../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.http.impl.nio.reactor.IOReactorConfig.Builder` + * newFullyQualifiedTypeName: `org.apache.hc.core5.reactor.IOReactorConfig.Builder` +* [Changes an argument to a `TimeValue` for matched method invocations](../../apache/httpclient5/changeargumenttotimevalue) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig.Builder setSelectInterval(long)` +* [Remove method invocations](../../java/removemethodinvocations) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig.Builder setShutdownGracePeriod(long)` +* [Remove method invocations](../../java/removemethodinvocations) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig.Builder setInterestOpQueued(boolean)` +* [Adds a TimeUnit argument to the matched method invocations](../../apache/httpclient5/addtimeunitargument) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig.Builder setSoTimeout(int)` +* [Adds a TimeUnit argument to the matched method invocations](../../apache/httpclient5/addtimeunitargument) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig.Builder setSoLinger(int)` +* [Remove method invocations](../../java/removemethodinvocations) + * methodPattern: `org.apache.hc.core5.reactor.IOReactorConfig.Builder setConnectTimeout(int)` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.apache.httpclient5.UpgradeApacheHttpCore_5_NioClassMapping +displayName: Migrate to Apache HttpCore Nio Classes to Apache HttpCore 5.x +description: | + Mapping of all the compatible classes of Apache HttpCore 5.x from Apache HttpCore Nio 4.4.x. +recipeList: + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: org.apache.httpcomponents + oldArtifactId: httpcore-nio + newGroupId: org.apache.httpcomponents.core5 + newArtifactId: httpcore5 + newVersion: 5.3.x + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.http.impl.nio.reactor.IOReactorConfig + newFullyQualifiedTypeName: org.apache.hc.core5.reactor.IOReactorConfig + - org.openrewrite.java.ChangeMethodInvocationReturnType: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig getSelectInterval() + newReturnType: org.apache.hc.core5.util.TimeValue + - org.openrewrite.java.RemoveMethodInvocations: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig getShutdownGracePeriod() + - org.openrewrite.java.RemoveMethodInvocations: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig isInterestOpQueued() + - org.openrewrite.java.ChangeMethodInvocationReturnType: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig getSoTimeout() + newReturnType: org.apache.hc.core5.util.Timeout + - org.openrewrite.java.ChangeMethodInvocationReturnType: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig getSoLinger() + newReturnType: org.apache.hc.core5.util.TimeValue + - org.openrewrite.java.RemoveMethodInvocations: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig getConnectTimeout() + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.http.impl.nio.reactor.IOReactorConfig.Builder + newFullyQualifiedTypeName: org.apache.hc.core5.reactor.IOReactorConfig.Builder + - org.openrewrite.apache.httpclient5.ChangeArgumentToTimeValue: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig.Builder setSelectInterval(long) + - org.openrewrite.java.RemoveMethodInvocations: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig.Builder setShutdownGracePeriod(long) + - org.openrewrite.java.RemoveMethodInvocations: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig.Builder setInterestOpQueued(boolean) + - org.openrewrite.apache.httpclient5.AddTimeUnitArgument: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig.Builder setSoTimeout(int) + - org.openrewrite.apache.httpclient5.AddTimeUnitArgument: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig.Builder setSoLinger(int) + - org.openrewrite.java.RemoveMethodInvocations: + methodPattern: org.apache.hc.core5.reactor.IOReactorConfig.Builder setConnectTimeout(int) + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```java +import org.apache.http.impl.nio.reactor.IOReactorConfig; +import org.apache.http.impl.nio.reactor.IOReactorConfig.Builder; + +class A { + void method() { + IOReactorConfig.Builder builder = new IOReactorConfig.Builder(); + builder.setSelectInterval(500); + builder.setShutdownGracePeriod(400); + builder.setInterestOpQueued(true); + builder.setSoTimeout(300); + builder.setSoLinger(200); + builder.setConnectTimeout(100); + IOReactorConfig ioReactorConfig = builder.build(); + long selectInterval = ioReactorConfig.getSelectInterval(); + ioReactorConfig.getShutdownGracePeriod(); + ioReactorConfig.isInterestOpQueued(); + int soTimeout = ioReactorConfig.getSoTimeout(); + int soLinger = ioReactorConfig.getSoLinger(); + ioReactorConfig.getConnectTimeout(); + } +} +``` + +###### After +```java +import org.apache.hc.core5.reactor.IOReactorConfig; +import org.apache.hc.core5.reactor.IOReactorConfig.Builder; +import org.apache.hc.core5.util.TimeValue; +import org.apache.hc.core5.util.Timeout; + +import java.util.concurrent.TimeUnit; + +class A { + void method() { + IOReactorConfig.Builder builder = new IOReactorConfig.Builder(); + builder.setSelectInterval(TimeValue.of(500, TimeUnit.MILLISECONDS)); + builder.setSoTimeout(300, TimeUnit.MILLISECONDS); + builder.setSoLinger(200, TimeUnit.MILLISECONDS); + IOReactorConfig ioReactorConfig = builder.build(); + TimeValue selectInterval = ioReactorConfig.getSelectInterval(); + Timeout soTimeout = ioReactorConfig.getSoTimeout(); + TimeValue soLinger = ioReactorConfig.getSoLinger(); + } +} +``` + + + + +```diff +@@ -1,2 +1,4 @@ +-import org.apache.http.impl.nio.reactor.IOReactorConfig; +-import org.apache.http.impl.nio.reactor.IOReactorConfig.Builder; ++import org.apache.hc.core5.reactor.IOReactorConfig; ++import org.apache.hc.core5.reactor.IOReactorConfig.Builder; ++import org.apache.hc.core5.util.TimeValue; ++import org.apache.hc.core5.util.Timeout; + +@@ -4,0 +6,2 @@ +import org.apache.http.impl.nio.reactor.IOReactorConfig.Builder; + ++import java.util.concurrent.TimeUnit; ++ +class A { +@@ -7,6 +11,3 @@ + void method() { + IOReactorConfig.Builder builder = new IOReactorConfig.Builder(); +- builder.setSelectInterval(500); +- builder.setShutdownGracePeriod(400); +- builder.setInterestOpQueued(true); +- builder.setSoTimeout(300); +- builder.setSoLinger(200); +- builder.setConnectTimeout(100); ++ builder.setSelectInterval(TimeValue.of(500, TimeUnit.MILLISECONDS)); ++ builder.setSoTimeout(300, TimeUnit.MILLISECONDS); ++ builder.setSoLinger(200, TimeUnit.MILLISECONDS); + IOReactorConfig ioReactorConfig = builder.build(); +@@ -14,6 +15,3 @@ + builder.setConnectTimeout(100); + IOReactorConfig ioReactorConfig = builder.build(); +- long selectInterval = ioReactorConfig.getSelectInterval(); +- ioReactorConfig.getShutdownGracePeriod(); +- ioReactorConfig.isInterestOpQueued(); +- int soTimeout = ioReactorConfig.getSoTimeout(); +- int soLinger = ioReactorConfig.getSoLinger(); +- ioReactorConfig.getConnectTimeout(); ++ TimeValue selectInterval = ioReactorConfig.getSelectInterval(); ++ Timeout soTimeout = ioReactorConfig.getSoTimeout(); ++ TimeValue soLinger = ioReactorConfig.getSoLinger(); + } +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```java +import org.apache.http.impl.nio.reactor.IOReactorConfig; +import org.apache.http.impl.nio.reactor.IOReactorConfig.Builder; + +class A { + void method() { + IOReactorConfig.Builder builder = new IOReactorConfig.Builder(); + builder.setSelectInterval(500); + builder.setShutdownGracePeriod(400); + builder.setInterestOpQueued(true); + builder.setSoTimeout(300); + builder.setSoLinger(200); + builder.setConnectTimeout(100); + IOReactorConfig ioReactorConfig = builder.build(); + long selectInterval = ioReactorConfig.getSelectInterval(); + ioReactorConfig.getShutdownGracePeriod(); + ioReactorConfig.isInterestOpQueued(); + int soTimeout = ioReactorConfig.getSoTimeout(); + int soLinger = ioReactorConfig.getSoLinger(); + ioReactorConfig.getConnectTimeout(); + } +} +``` + +###### After +```java +import org.apache.hc.core5.reactor.IOReactorConfig; +import org.apache.hc.core5.reactor.IOReactorConfig.Builder; +import org.apache.hc.core5.util.TimeValue; +import org.apache.hc.core5.util.Timeout; + +import java.util.concurrent.TimeUnit; + +class A { + void method() { + IOReactorConfig.Builder builder = new IOReactorConfig.Builder(); + builder.setSelectInterval(TimeValue.of(500, TimeUnit.MILLISECONDS)); + builder.setSoTimeout(300, TimeUnit.MILLISECONDS); + builder.setSoLinger(200, TimeUnit.MILLISECONDS); + IOReactorConfig ioReactorConfig = builder.build(); + TimeValue selectInterval = ioReactorConfig.getSelectInterval(); + Timeout soTimeout = ioReactorConfig.getSoTimeout(); + TimeValue soLinger = ioReactorConfig.getSoLinger(); + } +} +``` + + + + +```diff +@@ -1,2 +1,4 @@ +-import org.apache.http.impl.nio.reactor.IOReactorConfig; +-import org.apache.http.impl.nio.reactor.IOReactorConfig.Builder; ++import org.apache.hc.core5.reactor.IOReactorConfig; ++import org.apache.hc.core5.reactor.IOReactorConfig.Builder; ++import org.apache.hc.core5.util.TimeValue; ++import org.apache.hc.core5.util.Timeout; + +@@ -4,0 +6,2 @@ +import org.apache.http.impl.nio.reactor.IOReactorConfig.Builder; + ++import java.util.concurrent.TimeUnit; ++ +class A { +@@ -7,6 +11,3 @@ + void method() { + IOReactorConfig.Builder builder = new IOReactorConfig.Builder(); +- builder.setSelectInterval(500); +- builder.setShutdownGracePeriod(400); +- builder.setInterestOpQueued(true); +- builder.setSoTimeout(300); +- builder.setSoLinger(200); +- builder.setConnectTimeout(100); ++ builder.setSelectInterval(TimeValue.of(500, TimeUnit.MILLISECONDS)); ++ builder.setSoTimeout(300, TimeUnit.MILLISECONDS); ++ builder.setSoLinger(200, TimeUnit.MILLISECONDS); + IOReactorConfig ioReactorConfig = builder.build(); +@@ -14,6 +15,3 @@ + builder.setConnectTimeout(100); + IOReactorConfig ioReactorConfig = builder.build(); +- long selectInterval = ioReactorConfig.getSelectInterval(); +- ioReactorConfig.getShutdownGracePeriod(); +- ioReactorConfig.isInterestOpQueued(); +- int soTimeout = ioReactorConfig.getSoTimeout(); +- int soLinger = ioReactorConfig.getSoLinger(); +- ioReactorConfig.getConnectTimeout(); ++ TimeValue selectInterval = ioReactorConfig.getSelectInterval(); ++ Timeout soTimeout = ioReactorConfig.getSoTimeout(); ++ TimeValue soLinger = ioReactorConfig.getSoLinger(); + } +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` 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.apache.httpclient5.UpgradeApacheHttpCore_5_NioClassMapping") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}") +} +``` + +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-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}}") + } + rewrite { + activeRecipe("org.openrewrite.apache.httpclient5.UpgradeApacheHttpCore_5_NioClassMapping") + 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.apache.httpclient5.UpgradeApacheHttpCore_5_NioClassMapping + + + + + org.openrewrite.recipe + rewrite-apache + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} + + + + + + +``` + +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-apache:RELEASE -Drewrite.activeRecipes=org.openrewrite.apache.httpclient5.UpgradeApacheHttpCore_5_NioClassMapping -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 UpgradeApacheHttpCore_5_NioClassMapping +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-apache:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_APACHE}} +``` + + + +## 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 +[Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md b/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md index 48649e7b81..b8b1d7d346 100644 --- a/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md +++ b/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/poi/replacesetboldweightwithsetbold.md b/docs/recipes/apache/poi/replacesetboldweightwithsetbold.md index f193238dc1..ef99a9c452 100644 --- a/docs/recipes/apache/poi/replacesetboldweightwithsetbold.md +++ b/docs/recipes/apache/poi/replacesetboldweightwithsetbold.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/poi/replacesetcelltype.md b/docs/recipes/apache/poi/replacesetcelltype.md index 33ca2620cf..96539b551e 100644 --- a/docs/recipes/apache/poi/replacesetcelltype.md +++ b/docs/recipes/apache/poi/replacesetcelltype.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/apache/poi/upgradeapachepoi_3_17.md b/docs/recipes/apache/poi/upgradeapachepoi_3_17.md index b90353759f..5bcc96e42f 100644 --- a/docs/recipes/apache/poi/upgradeapachepoi_3_17.md +++ b/docs/recipes/apache/poi/upgradeapachepoi_3_17.md @@ -438,7 +438,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md b/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md index cad8451445..fb127773bd 100644 --- a/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md +++ b/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md @@ -105,7 +105,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md index aea9f5dd0b..210124dd1c 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md index 3b1d25effe..86cbc19bae 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md index 8449a1a91f..02ec83a918 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md index 4fdb3cb28c..ea74adcc75 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md index ef708f25f7..d7df1dcc77 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md index 030924c2c5..fd09a31304 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md index d76857902e..51876d068f 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md index 4549ee87f2..0ab4195857 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md index 639e7221dc..9487c6c570 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md index 6f71ef2b2a..23dd192dd5 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md index c635683368..d4f0a1ceba 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md index 80eedaa24e..94b65c753e 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md index efe7d63447..528520b413 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md index dfe29e0ced..02c8eb82b8 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md index 15eaa3ae35..8a849f07fb 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md index 3b4a077311..01f44b033c 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md index 309fc93a66..011ff8c83d 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md index 693cab9876..f6aa3ca904 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md index ac19e6c29a..ed596e8ff8 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md index 762665089e..995634909e 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md @@ -221,7 +221,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/applycodemod.md b/docs/recipes/codemods/applycodemod.md index d1443a85d8..5a4fc0dc87 100644 --- a/docs/recipes/codemods/applycodemod.md +++ b/docs/recipes/codemods/applycodemod.md @@ -54,7 +54,7 @@ Now that `com.yourorg.ApplyCodemodExample` has been defined, activate it and tak ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/biome.md b/docs/recipes/codemods/biome.md index 4f9ce326e0..459897bd10 100644 --- a/docs/recipes/codemods/biome.md +++ b/docs/recipes/codemods/biome.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/README.md b/docs/recipes/codemods/cleanup/javascript/README.md index c2446a5812..e6e0e11c38 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 `if` blocks without `else`.](./nolonelyif.md) +* [Disallow if statements as the only statement in else blocks](./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/arrowbodystyle.md b/docs/recipes/codemods/cleanup/javascript/arrowbodystyle.md index 48add34350..94f39e85de 100644 --- a/docs/recipes/codemods/cleanup/javascript/arrowbodystyle.md +++ b/docs/recipes/codemods/cleanup/javascript/arrowbodystyle.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/betterregex.md b/docs/recipes/codemods/cleanup/javascript/betterregex.md index d75825e7cb..473ad425e8 100644 --- a/docs/recipes/codemods/cleanup/javascript/betterregex.md +++ b/docs/recipes/codemods/cleanup/javascript/betterregex.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md b/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md index 03df26d0c7..6d91feafb7 100644 --- a/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md +++ b/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/catcherrorname.md b/docs/recipes/codemods/cleanup/javascript/catcherrorname.md index 6963add6cc..d1069971b8 100644 --- a/docs/recipes/codemods/cleanup/javascript/catcherrorname.md +++ b/docs/recipes/codemods/cleanup/javascript/catcherrorname.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md b/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md index 9122262782..1d80113783 100644 --- a/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md +++ b/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md b/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md index 3a3aa18907..4cecc40508 100644 --- a/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/curly.md b/docs/recipes/codemods/cleanup/javascript/curly.md index 1605f8a13a..9d2516c1a0 100644 --- a/docs/recipes/codemods/cleanup/javascript/curly.md +++ b/docs/recipes/codemods/cleanup/javascript/curly.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md b/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md index 4267fbdd2b..11f775c345 100644 --- a/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md +++ b/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/dotnotation.md b/docs/recipes/codemods/cleanup/javascript/dotnotation.md index d97a604b61..c869498915 100644 --- a/docs/recipes/codemods/cleanup/javascript/dotnotation.md +++ b/docs/recipes/codemods/cleanup/javascript/dotnotation.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md b/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md index fa3e53d2b0..af3f716333 100644 --- a/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md +++ b/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/eqeqeq.md b/docs/recipes/codemods/cleanup/javascript/eqeqeq.md index f53bc09c02..729c3f9d31 100644 --- a/docs/recipes/codemods/cleanup/javascript/eqeqeq.md +++ b/docs/recipes/codemods/cleanup/javascript/eqeqeq.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/escapecase.md b/docs/recipes/codemods/cleanup/javascript/escapecase.md index a76d040948..85d819708c 100644 --- a/docs/recipes/codemods/cleanup/javascript/escapecase.md +++ b/docs/recipes/codemods/cleanup/javascript/escapecase.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md b/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md index 9318d2659b..9ac338dc8f 100644 --- a/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md +++ b/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/first.md b/docs/recipes/codemods/cleanup/javascript/first.md index 4d120ccfb9..428b5d41a5 100644 --- a/docs/recipes/codemods/cleanup/javascript/first.md +++ b/docs/recipes/codemods/cleanup/javascript/first.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md b/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md index 9a556017e5..d393e5b006 100644 --- a/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md +++ b/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md b/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md index 892decfd7d..417209ab54 100644 --- a/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md b/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md index 448ec6c2ca..086c79d988 100644 --- a/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md +++ b/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md b/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md index 121733a3a1..a7fa92ab43 100644 --- a/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md +++ b/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md b/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md index 4f320311b7..c0c075215b 100644 --- a/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md +++ b/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md b/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md index a42f26574f..b79580b981 100644 --- a/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md +++ b/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md b/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md index a9f1329e06..5835a8fa0b 100644 --- a/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md +++ b/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md b/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md index d2825d200b..f43d65a7cf 100644 --- a/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md +++ b/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md b/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md index 4872c6821b..e4ff0ac96d 100644 --- a/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md +++ b/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md b/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md index d282d464ee..e2cf4b57ed 100644 --- a/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md +++ b/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nodivregex.md b/docs/recipes/codemods/cleanup/javascript/nodivregex.md index 9cc1a80c31..39f3f96569 100644 --- a/docs/recipes/codemods/cleanup/javascript/nodivregex.md +++ b/docs/recipes/codemods/cleanup/javascript/nodivregex.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noduplicates.md b/docs/recipes/codemods/cleanup/javascript/noduplicates.md index 08c2dd623f..e1392a5a4d 100644 --- a/docs/recipes/codemods/cleanup/javascript/noduplicates.md +++ b/docs/recipes/codemods/cleanup/javascript/noduplicates.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noelsereturn.md b/docs/recipes/codemods/cleanup/javascript/noelsereturn.md index 4222ddad09..e472d2bbdf 100644 --- a/docs/recipes/codemods/cleanup/javascript/noelsereturn.md +++ b/docs/recipes/codemods/cleanup/javascript/noelsereturn.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md b/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md index ab7a9ccb5b..8acff1f1e5 100644 --- a/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md +++ b/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noextrabind.md b/docs/recipes/codemods/cleanup/javascript/noextrabind.md index 65518e3e99..f1f14ec4e1 100644 --- a/docs/recipes/codemods/cleanup/javascript/noextrabind.md +++ b/docs/recipes/codemods/cleanup/javascript/noextrabind.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noextralabel.md b/docs/recipes/codemods/cleanup/javascript/noextralabel.md index 9fe03915c2..def4047f25 100644 --- a/docs/recipes/codemods/cleanup/javascript/noextralabel.md +++ b/docs/recipes/codemods/cleanup/javascript/noextralabel.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noforloop.md b/docs/recipes/codemods/cleanup/javascript/noforloop.md index de29693887..2eb860831e 100644 --- a/docs/recipes/codemods/cleanup/javascript/noforloop.md +++ b/docs/recipes/codemods/cleanup/javascript/noforloop.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nohexescape.md b/docs/recipes/codemods/cleanup/javascript/nohexescape.md index d50bceef7b..24a1d3ef17 100644 --- a/docs/recipes/codemods/cleanup/javascript/nohexescape.md +++ b/docs/recipes/codemods/cleanup/javascript/nohexescape.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md b/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md index 0176aaf277..6acc6ac31f 100644 --- a/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md +++ b/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md b/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md index 856942eee6..ab9be613e8 100644 --- a/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md +++ b/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md b/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md index 101c5d24f0..13e14d0c3c 100644 --- a/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md +++ b/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nolonelyif.md b/docs/recipes/codemods/cleanup/javascript/nolonelyif.md index 078f30711e..84ba7a47aa 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 if blocks without else." +sidebar_label: "Disallow if statements as the only statement in else blocks" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Disallow `if` statements as the only statement in `if` blocks without `else`. +# Disallow if statements as the only statement in else blocks **org.openrewrite.codemods.cleanup.javascript.NoLonelyIf** -_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)_ +_Disallow if statements as the only statement in else blocks See [rule details](https://eslint.org/docs/latest/rules/no-lonely-if)_ ## Recipe source -[GitHub](https://github.com/moderneinc/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), +[GitHub](https://github.com/moderneinc/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.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"] }, "plugins": ["unicorn"], "rules": { "unicorn/no-lonely-if": 2 }, "globals": { "browser": true, "node": true } } ` + * configFile: `{ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "project": ["./tsconfig.json"] }, "rules": { "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 `if` blocks without `else`. +displayName: Disallow if statements as the only statement in else blocks description: | - 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) + Disallow if statements as the only statement in else blocks + See [rule details](https://eslint.org/docs/latest/rules/no-lonely-if) recipeList: - org.openrewrite.codemods.ESLint: @@ -48,9 +48,8 @@ recipeList: "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { "project": ["./tsconfig.json"] }, - "plugins": ["unicorn"], "rules": { - "unicorn/no-lonely-if": 2 + "no-lonely-if": 2 }, "globals": { "browser": true, @@ -73,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nonamespace.md b/docs/recipes/codemods/cleanup/javascript/nonamespace.md index 4b3c70f386..4535241365 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonamespace.md +++ b/docs/recipes/codemods/cleanup/javascript/nonamespace.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md b/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md index 0a703d4a0c..2f402c4080 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md +++ b/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nonestedternary.md b/docs/recipes/codemods/cleanup/javascript/nonestedternary.md index 1767c47c73..8e24345820 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonestedternary.md +++ b/docs/recipes/codemods/cleanup/javascript/nonestedternary.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nonewarray.md b/docs/recipes/codemods/cleanup/javascript/nonewarray.md index 8a4510d5c5..4468097a7a 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonewarray.md +++ b/docs/recipes/codemods/cleanup/javascript/nonewarray.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md b/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md index 794cf2deb6..731fd98927 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md +++ b/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nonull.md b/docs/recipes/codemods/cleanup/javascript/nonull.md index cf457b588a..c3a70ae0c7 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonull.md +++ b/docs/recipes/codemods/cleanup/javascript/nonull.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/norelativepackages.md b/docs/recipes/codemods/cleanup/javascript/norelativepackages.md index d1e20cca17..9dfe671c01 100644 --- a/docs/recipes/codemods/cleanup/javascript/norelativepackages.md +++ b/docs/recipes/codemods/cleanup/javascript/norelativepackages.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md b/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md index f4841463d4..e061353eab 100644 --- a/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md +++ b/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md b/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md index 9881c84b6d..01d13215f4 100644 --- a/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md +++ b/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/noundefinit.md b/docs/recipes/codemods/cleanup/javascript/noundefinit.md index 4aeebfac47..d5c67633a3 100644 --- a/docs/recipes/codemods/cleanup/javascript/noundefinit.md +++ b/docs/recipes/codemods/cleanup/javascript/noundefinit.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md b/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md index 1a92cca33e..d64bcb7165 100644 --- a/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md +++ b/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nounneededternary.md b/docs/recipes/codemods/cleanup/javascript/nounneededternary.md index 633809dc22..ab4d37f812 100644 --- a/docs/recipes/codemods/cleanup/javascript/nounneededternary.md +++ b/docs/recipes/codemods/cleanup/javascript/nounneededternary.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md b/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md index 6286fbdf44..8353b32f08 100644 --- a/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md +++ b/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md b/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md index d1ea4ee360..3549b2615f 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md b/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md index 80335308e7..354ae04906 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md b/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md index 4677ef8fea..06d68d4de4 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md b/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md index 81332786b1..01d3dbc542 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md b/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md index 3b7dfcf1f8..b273530132 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessrename.md b/docs/recipes/codemods/cleanup/javascript/nouselessrename.md index ac0ee466d9..bf3f796775 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessrename.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessrename.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md b/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md index 6b3373bc91..c5c104df8b 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessspread.md b/docs/recipes/codemods/cleanup/javascript/nouselessspread.md index 4b385cdc74..ec75074423 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessspread.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessspread.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md b/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md index ece5f8c7be..2579aff85f 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/novar.md b/docs/recipes/codemods/cleanup/javascript/novar.md index 46391654d3..32a4250113 100644 --- a/docs/recipes/codemods/cleanup/javascript/novar.md +++ b/docs/recipes/codemods/cleanup/javascript/novar.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/nozerofractions.md b/docs/recipes/codemods/cleanup/javascript/nozerofractions.md index 5115bbab8c..d8056c5793 100644 --- a/docs/recipes/codemods/cleanup/javascript/nozerofractions.md +++ b/docs/recipes/codemods/cleanup/javascript/nozerofractions.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md b/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md index e2d32f5397..a1cb959abc 100644 --- a/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md +++ b/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md b/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md index a96bf3ff67..723f476d19 100644 --- a/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/objectshorthand.md b/docs/recipes/codemods/cleanup/javascript/objectshorthand.md index 7dc792bfe1..3508146fa1 100644 --- a/docs/recipes/codemods/cleanup/javascript/objectshorthand.md +++ b/docs/recipes/codemods/cleanup/javascript/objectshorthand.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/onevar.md b/docs/recipes/codemods/cleanup/javascript/onevar.md index aac97c40a8..948629f34d 100644 --- a/docs/recipes/codemods/cleanup/javascript/onevar.md +++ b/docs/recipes/codemods/cleanup/javascript/onevar.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/operatorassignment.md b/docs/recipes/codemods/cleanup/javascript/operatorassignment.md index b2336424ab..aee4e764b3 100644 --- a/docs/recipes/codemods/cleanup/javascript/operatorassignment.md +++ b/docs/recipes/codemods/cleanup/javascript/operatorassignment.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/order.md b/docs/recipes/codemods/cleanup/javascript/order.md index c00c7e9f43..6bac3f8dc2 100644 --- a/docs/recipes/codemods/cleanup/javascript/order.md +++ b/docs/recipes/codemods/cleanup/javascript/order.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md b/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md index a8651ba097..4c49f41d28 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md +++ b/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md b/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md index 28342d1e25..8e7b6815d7 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md b/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md index 64beeabb78..8b41c3983a 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md b/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md index ccca63ca36..2b0c36239d 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md b/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md index ceb4a35aef..f649385b6b 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferarraysome.md b/docs/recipes/codemods/cleanup/javascript/preferarraysome.md index 656de7a783..15d54ac8bf 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarraysome.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarraysome.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md b/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md index 149a0fb8e8..1320fe3a74 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferat.md b/docs/recipes/codemods/cleanup/javascript/preferat.md index d5b080de2b..a80b4f29db 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferat.md +++ b/docs/recipes/codemods/cleanup/javascript/preferat.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferconst.md b/docs/recipes/codemods/cleanup/javascript/preferconst.md index 504c55fd9a..9f3da9ed2d 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferconst.md +++ b/docs/recipes/codemods/cleanup/javascript/preferconst.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferdatenow.md b/docs/recipes/codemods/cleanup/javascript/preferdatenow.md index 29d9ca2d5f..a33d94fd95 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdatenow.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdatenow.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md b/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md index f4193c8ab2..8f20e6b72f 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md b/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md index 8bcb874c0c..d3d4749106 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md b/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md index 50a1b60b32..0ac39a76bd 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md b/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md index fd6df4920a..118a6bfbe9 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md b/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md index 14954bcbe5..0dcda00486 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md b/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md index 77f84db29b..85c5b50e7a 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md +++ b/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md b/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md index 6adebaea12..bf2d859847 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md +++ b/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferincludes.md b/docs/recipes/codemods/cleanup/javascript/preferincludes.md index f68bc6d21b..b591c17530 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferincludes.md +++ b/docs/recipes/codemods/cleanup/javascript/preferincludes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md b/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md index 12cf0a94df..4df3ef9c14 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md +++ b/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md b/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md index 299b222150..bbf91128f3 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md +++ b/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md b/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md index b20b664560..eced315703 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md b/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md index 3b6211c29d..75e964f471 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md b/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md index a3c343b540..ce197f3732 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefermodule.md b/docs/recipes/codemods/cleanup/javascript/prefermodule.md index d7136970b3..9144eb1d5f 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermodule.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermodule.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md b/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md index bccc3b794a..6817f80f39 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md b/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md index b04764c53a..7a8e0bef25 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md b/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md index 6ad8d77d35..1c739e8ac0 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md b/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md index 5eebaca16d..cd2515abd0 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md b/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md index d06c8d9cc6..784eec9c05 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md b/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md index 14564f1379..cf3e4a3f04 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md +++ b/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md b/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md index 4192ffbb81..a92e61f0fa 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md +++ b/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md b/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md index c000026d7b..562f0a13c9 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md +++ b/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md b/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md index 5dd6f292da..3d34ac6ae4 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md +++ b/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md b/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md index bc28c8d47d..5c1d37a8d2 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md +++ b/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md b/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md index 1ee451d09f..8f6d0d2cb3 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md +++ b/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md b/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md index ef220d54e0..2fca8c6c41 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md +++ b/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferregexptest.md b/docs/recipes/codemods/cleanup/javascript/preferregexptest.md index 8d8111d8df..23bc4624a2 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferregexptest.md +++ b/docs/recipes/codemods/cleanup/javascript/preferregexptest.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefersethas.md b/docs/recipes/codemods/cleanup/javascript/prefersethas.md index d87d69c8a3..23920df2a5 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefersethas.md +++ b/docs/recipes/codemods/cleanup/javascript/prefersethas.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefersetsize.md b/docs/recipes/codemods/cleanup/javascript/prefersetsize.md index 6881a9be72..b9f1079ede 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefersetsize.md +++ b/docs/recipes/codemods/cleanup/javascript/prefersetsize.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferspread.md b/docs/recipes/codemods/cleanup/javascript/preferspread.md index cdfa47f807..3572b128a8 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferspread.md +++ b/docs/recipes/codemods/cleanup/javascript/preferspread.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md b/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md index 1b3d2da25b..4b30b4611e 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringslice.md b/docs/recipes/codemods/cleanup/javascript/preferstringslice.md index 86f318ec6d..b481489d37 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringslice.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringslice.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md b/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md index 6e56276240..daa226d727 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md b/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md index 77b1ac57b7..576923c44c 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferswitch.md b/docs/recipes/codemods/cleanup/javascript/preferswitch.md index 04355f2dcd..309471ceba 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferswitch.md +++ b/docs/recipes/codemods/cleanup/javascript/preferswitch.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefertemplate.md b/docs/recipes/codemods/cleanup/javascript/prefertemplate.md index 71225f81a1..01e1647ed5 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefertemplate.md +++ b/docs/recipes/codemods/cleanup/javascript/prefertemplate.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preferternary.md b/docs/recipes/codemods/cleanup/javascript/preferternary.md index d4c72ae044..9597b86b93 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferternary.md +++ b/docs/recipes/codemods/cleanup/javascript/preferternary.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md b/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md index 41635360dd..16b1bd9939 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md +++ b/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md b/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md index e44136da06..147be9346c 100644 --- a/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md +++ b/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md b/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md index ce3675a891..f36581846b 100644 --- a/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md b/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md index 18dd5c7da3..8e7a8788ae 100644 --- a/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md +++ b/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md b/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md index 707cc151fe..d12d22d79a 100644 --- a/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md +++ b/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/sortimports.md b/docs/recipes/codemods/cleanup/javascript/sortimports.md index 7e87431a35..a967fc72d9 100644 --- a/docs/recipes/codemods/cleanup/javascript/sortimports.md +++ b/docs/recipes/codemods/cleanup/javascript/sortimports.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/sortvars.md b/docs/recipes/codemods/cleanup/javascript/sortvars.md index 28c18ce1de..31dd6f4dc1 100644 --- a/docs/recipes/codemods/cleanup/javascript/sortvars.md +++ b/docs/recipes/codemods/cleanup/javascript/sortvars.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/strict.md b/docs/recipes/codemods/cleanup/javascript/strict.md index 88c026b656..cf12ffd515 100644 --- a/docs/recipes/codemods/cleanup/javascript/strict.md +++ b/docs/recipes/codemods/cleanup/javascript/strict.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/stringcontent.md b/docs/recipes/codemods/cleanup/javascript/stringcontent.md index d34ce47295..0c55861d5a 100644 --- a/docs/recipes/codemods/cleanup/javascript/stringcontent.md +++ b/docs/recipes/codemods/cleanup/javascript/stringcontent.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md b/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md index 354eaaf675..e4dfe8c89c 100644 --- a/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md +++ b/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/templateindent.md b/docs/recipes/codemods/cleanup/javascript/templateindent.md index e8075a234c..cf45c3e31f 100644 --- a/docs/recipes/codemods/cleanup/javascript/templateindent.md +++ b/docs/recipes/codemods/cleanup/javascript/templateindent.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md b/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md index f059653cb5..77fd99281d 100644 --- a/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md +++ b/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/thrownewerror.md b/docs/recipes/codemods/cleanup/javascript/thrownewerror.md index e02975490b..369f83650d 100644 --- a/docs/recipes/codemods/cleanup/javascript/thrownewerror.md +++ b/docs/recipes/codemods/cleanup/javascript/thrownewerror.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/unicodebom.md b/docs/recipes/codemods/cleanup/javascript/unicodebom.md index a9a08636ac..491c2610c3 100644 --- a/docs/recipes/codemods/cleanup/javascript/unicodebom.md +++ b/docs/recipes/codemods/cleanup/javascript/unicodebom.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/javascript/yoda.md b/docs/recipes/codemods/cleanup/javascript/yoda.md index fb006ae085..cff2af0079 100644 --- a/docs/recipes/codemods/cleanup/javascript/yoda.md +++ b/docs/recipes/codemods/cleanup/javascript/yoda.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/consistenttestit.md b/docs/recipes/codemods/cleanup/jest/consistenttestit.md index be7c28293f..711d191827 100644 --- a/docs/recipes/codemods/cleanup/jest/consistenttestit.md +++ b/docs/recipes/codemods/cleanup/jest/consistenttestit.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/noaliasmethods.md b/docs/recipes/codemods/cleanup/jest/noaliasmethods.md index daccd72862..d85afc357c 100644 --- a/docs/recipes/codemods/cleanup/jest/noaliasmethods.md +++ b/docs/recipes/codemods/cleanup/jest/noaliasmethods.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md b/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md index 92e6db421f..09dc674722 100644 --- a/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md +++ b/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md b/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md index 7cff4f36f4..e25d995d30 100644 --- a/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md +++ b/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/notestprefixes.md b/docs/recipes/codemods/cleanup/jest/notestprefixes.md index 8ef9b1b098..024bd85cbd 100644 --- a/docs/recipes/codemods/cleanup/jest/notestprefixes.md +++ b/docs/recipes/codemods/cleanup/jest/notestprefixes.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md b/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md index c19d7cd26d..f0c863c074 100644 --- a/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md +++ b/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md b/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md index e5504f5409..0b8ee8968b 100644 --- a/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md +++ b/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md b/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md index a5a448ce4f..22b56045f1 100644 --- a/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md +++ b/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md b/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md index 8d376d7de3..ed9b4330d5 100644 --- a/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md +++ b/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md b/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md index 2202738355..2c64289b3b 100644 --- a/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md +++ b/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/preferspyon.md b/docs/recipes/codemods/cleanup/jest/preferspyon.md index 4218de1fc2..512c58b2ff 100644 --- a/docs/recipes/codemods/cleanup/jest/preferspyon.md +++ b/docs/recipes/codemods/cleanup/jest/preferspyon.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/prefertobe.md b/docs/recipes/codemods/cleanup/jest/prefertobe.md index 15564d487f..a8cd398b8f 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertobe.md +++ b/docs/recipes/codemods/cleanup/jest/prefertobe.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/prefertocontain.md b/docs/recipes/codemods/cleanup/jest/prefertocontain.md index 40c043a1d6..e06e6c44f9 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertocontain.md +++ b/docs/recipes/codemods/cleanup/jest/prefertocontain.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/prefertodo.md b/docs/recipes/codemods/cleanup/jest/prefertodo.md index c5a57a2b9c..9f33b674ee 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertodo.md +++ b/docs/recipes/codemods/cleanup/jest/prefertodo.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/prefertohavelength.md b/docs/recipes/codemods/cleanup/jest/prefertohavelength.md index e268e1bcb1..f7a8427796 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertohavelength.md +++ b/docs/recipes/codemods/cleanup/jest/prefertohavelength.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md b/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md index 97a60252d9..4ebb74cdc8 100644 --- a/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md +++ b/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/jest/validtitle.md b/docs/recipes/codemods/cleanup/jest/validtitle.md index 2ff4bb5b9a..7236e8df47 100644 --- a/docs/recipes/codemods/cleanup/jest/validtitle.md +++ b/docs/recipes/codemods/cleanup/jest/validtitle.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/destructuringassignment.md b/docs/recipes/codemods/cleanup/react/destructuringassignment.md index c57c09a21b..edbe4f8868 100644 --- a/docs/recipes/codemods/cleanup/react/destructuringassignment.md +++ b/docs/recipes/codemods/cleanup/react/destructuringassignment.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md b/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md index 642e534d05..1bf0bbaf74 100644 --- a/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md +++ b/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md b/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md index 633c749100..a24242a8a9 100644 --- a/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md +++ b/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md b/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md index 08e9d3c4dd..0648848a7c 100644 --- a/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md +++ b/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md b/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md index ba0de29e8f..3b2934c5a5 100644 --- a/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md +++ b/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md b/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md index e1a66506ac..f3dfec4eed 100644 --- a/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md +++ b/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md b/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md index 48efcf2d89..6b884d0fbf 100644 --- a/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md +++ b/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md b/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md index 4099664e0e..a5c29e94af 100644 --- a/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md +++ b/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md b/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md index 6e38b8d1c4..7b6be37ed4 100644 --- a/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md +++ b/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md b/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md index 6d664de541..2b3c037e17 100644 --- a/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md +++ b/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxfragments.md b/docs/recipes/codemods/cleanup/react/jsxfragments.md index b243b80855..9bcb8e241b 100644 --- a/docs/recipes/codemods/cleanup/react/jsxfragments.md +++ b/docs/recipes/codemods/cleanup/react/jsxfragments.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxindent.md b/docs/recipes/codemods/cleanup/react/jsxindent.md index 72bccc98de..198eff040b 100644 --- a/docs/recipes/codemods/cleanup/react/jsxindent.md +++ b/docs/recipes/codemods/cleanup/react/jsxindent.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxindentprops.md b/docs/recipes/codemods/cleanup/react/jsxindentprops.md index de96fd497c..39291c7ed1 100644 --- a/docs/recipes/codemods/cleanup/react/jsxindentprops.md +++ b/docs/recipes/codemods/cleanup/react/jsxindentprops.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md b/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md index aa03c1696d..a116a434a4 100644 --- a/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md +++ b/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxnewline.md b/docs/recipes/codemods/cleanup/react/jsxnewline.md index d6885d63b0..4ca3f75fd3 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnewline.md +++ b/docs/recipes/codemods/cleanup/react/jsxnewline.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md b/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md index eae3e065b7..b421c2101b 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md +++ b/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md b/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md index 4a5530d875..f64b32e6eb 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md +++ b/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md b/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md index 7f2372403d..8681e7c1f2 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md +++ b/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md b/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md index 38b98cc331..2704c797c1 100644 --- a/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md +++ b/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md b/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md index 146194b6b4..eda38acb90 100644 --- a/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md +++ b/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxsortprops.md b/docs/recipes/codemods/cleanup/react/jsxsortprops.md index 76666d680d..5a7f27626c 100644 --- a/docs/recipes/codemods/cleanup/react/jsxsortprops.md +++ b/docs/recipes/codemods/cleanup/react/jsxsortprops.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md b/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md index 662c2b45a7..ee2571aeb0 100644 --- a/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md +++ b/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxtagspacing.md b/docs/recipes/codemods/cleanup/react/jsxtagspacing.md index 61bded3fa4..0800aa5a00 100644 --- a/docs/recipes/codemods/cleanup/react/jsxtagspacing.md +++ b/docs/recipes/codemods/cleanup/react/jsxtagspacing.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md b/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md index 4302dd26d3..23280d8ffd 100644 --- a/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md +++ b/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md b/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md index 13aa58ab98..8880d6e77d 100644 --- a/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md +++ b/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/nounknownproperty.md b/docs/recipes/codemods/cleanup/react/nounknownproperty.md index e5521e9981..e5a1914406 100644 --- a/docs/recipes/codemods/cleanup/react/nounknownproperty.md +++ b/docs/recipes/codemods/cleanup/react/nounknownproperty.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md b/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md index 10f03136a1..c004f6f253 100644 --- a/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md +++ b/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/selfclosingcomp.md b/docs/recipes/codemods/cleanup/react/selfclosingcomp.md index 0b517c9c83..94b48a2415 100644 --- a/docs/recipes/codemods/cleanup/react/selfclosingcomp.md +++ b/docs/recipes/codemods/cleanup/react/selfclosingcomp.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/react/sortproptypes.md b/docs/recipes/codemods/cleanup/react/sortproptypes.md index b590fccdb4..d4e4ec6972 100644 --- a/docs/recipes/codemods/cleanup/react/sortproptypes.md +++ b/docs/recipes/codemods/cleanup/react/sortproptypes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md b/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md index b9013ca5e8..458d815d4a 100644 --- a/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md +++ b/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/defaultexports.md b/docs/recipes/codemods/cleanup/storybook/defaultexports.md index 4a5a1297e4..27126b3571 100644 --- a/docs/recipes/codemods/cleanup/storybook/defaultexports.md +++ b/docs/recipes/codemods/cleanup/storybook/defaultexports.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md b/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md index 19d4019fa1..75903a23ba 100644 --- a/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md +++ b/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md b/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md index 7f509982d5..23a923ec96 100644 --- a/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md +++ b/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md b/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md index 2a93e87c96..7dc835da06 100644 --- a/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md +++ b/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md b/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md index fe87f0a15e..0aee7b6c51 100644 --- a/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md +++ b/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md b/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md index acb0c5c62b..d5b323fa05 100644 --- a/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md +++ b/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md b/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md index e1e6d20507..5108223928 100644 --- a/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md +++ b/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md b/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md index 54c612b509..0450d507b3 100644 --- a/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md +++ b/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md b/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md index 066031b4a6..330ba3e667 100644 --- a/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md +++ b/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md b/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md index 970b4536be..540200669c 100644 --- a/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md +++ b/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/htmlquotes.md b/docs/recipes/codemods/cleanup/svelte/htmlquotes.md index fc95c4ddfb..5150ad24bf 100644 --- a/docs/recipes/codemods/cleanup/svelte/htmlquotes.md +++ b/docs/recipes/codemods/cleanup/svelte/htmlquotes.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md b/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md index 90775b24a4..66ebaaf6ea 100644 --- a/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md +++ b/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/indent.md b/docs/recipes/codemods/cleanup/svelte/indent.md index b8d371e149..aa1855fde5 100644 --- a/docs/recipes/codemods/cleanup/svelte/indent.md +++ b/docs/recipes/codemods/cleanup/svelte/indent.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md b/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md index 0993953ce0..0241416873 100644 --- a/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md +++ b/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/mustachespacing.md b/docs/recipes/codemods/cleanup/svelte/mustachespacing.md index 8ac7dfe80e..2376d347a2 100644 --- a/docs/recipes/codemods/cleanup/svelte/mustachespacing.md +++ b/docs/recipes/codemods/cleanup/svelte/mustachespacing.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md b/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md index 40f688009c..615ae81239 100644 --- a/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md +++ b/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md b/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md index a811a23f6b..3ff1fefdf4 100644 --- a/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md +++ b/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md b/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md index 8c4b8272ff..2f8ecd9ec0 100644 --- a/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md +++ b/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md b/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md index 47fce292f6..f99480a222 100644 --- a/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md +++ b/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md b/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md index 58bed1b485..dfbe3ffc4c 100644 --- a/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md +++ b/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md b/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md index 8288877c79..7f696bb012 100644 --- a/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md +++ b/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md b/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md index 1118842a1f..924074e021 100644 --- a/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md +++ b/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md b/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md index 112929cc8c..5ae5deb742 100644 --- a/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md +++ b/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md b/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md index 07a0ba7ad4..c03ffbb4bf 100644 --- a/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md +++ b/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/sortattributes.md b/docs/recipes/codemods/cleanup/svelte/sortattributes.md index 06d264e642..050ad85c24 100644 --- a/docs/recipes/codemods/cleanup/svelte/sortattributes.md +++ b/docs/recipes/codemods/cleanup/svelte/sortattributes.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md b/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md index f6f9f1343a..72bee7173e 100644 --- a/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md +++ b/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md b/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md index 42addad2e1..e152cd78a9 100644 --- a/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md +++ b/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md b/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md index da179190e7..002ea85b5e 100644 --- a/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md +++ b/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md b/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md index 6fadb0fd3b..71966e22ff 100644 --- a/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md +++ b/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/arrowspacing.md b/docs/recipes/codemods/cleanup/vue/arrowspacing.md index 08cbccb145..5b7cfd5e06 100644 --- a/docs/recipes/codemods/cleanup/vue/arrowspacing.md +++ b/docs/recipes/codemods/cleanup/vue/arrowspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/attributesorder.md b/docs/recipes/codemods/cleanup/vue/attributesorder.md index 4ff72121bc..700813a743 100644 --- a/docs/recipes/codemods/cleanup/vue/attributesorder.md +++ b/docs/recipes/codemods/cleanup/vue/attributesorder.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/blockorder.md b/docs/recipes/codemods/cleanup/vue/blockorder.md index 372121d0a8..11a8c45353 100644 --- a/docs/recipes/codemods/cleanup/vue/blockorder.md +++ b/docs/recipes/codemods/cleanup/vue/blockorder.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/blockspacing.md b/docs/recipes/codemods/cleanup/vue/blockspacing.md index bf5d58e1f2..06dc298c82 100644 --- a/docs/recipes/codemods/cleanup/vue/blockspacing.md +++ b/docs/recipes/codemods/cleanup/vue/blockspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/blocktagnewline.md b/docs/recipes/codemods/cleanup/vue/blocktagnewline.md index 6d446e7afa..ad09ed7ff0 100644 --- a/docs/recipes/codemods/cleanup/vue/blocktagnewline.md +++ b/docs/recipes/codemods/cleanup/vue/blocktagnewline.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/bracestyle.md b/docs/recipes/codemods/cleanup/vue/bracestyle.md index 22ee9e41a0..6a1ce77968 100644 --- a/docs/recipes/codemods/cleanup/vue/bracestyle.md +++ b/docs/recipes/codemods/cleanup/vue/bracestyle.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/commadangle.md b/docs/recipes/codemods/cleanup/vue/commadangle.md index e01f9fb6c7..ac7e1eadef 100644 --- a/docs/recipes/codemods/cleanup/vue/commadangle.md +++ b/docs/recipes/codemods/cleanup/vue/commadangle.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/commaspacing.md b/docs/recipes/codemods/cleanup/vue/commaspacing.md index 483925c010..e9fce35d09 100644 --- a/docs/recipes/codemods/cleanup/vue/commaspacing.md +++ b/docs/recipes/codemods/cleanup/vue/commaspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/commastyle.md b/docs/recipes/codemods/cleanup/vue/commastyle.md index 6b870bd82e..69161a362c 100644 --- a/docs/recipes/codemods/cleanup/vue/commastyle.md +++ b/docs/recipes/codemods/cleanup/vue/commastyle.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md b/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md index c0989387d1..758fe11963 100644 --- a/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md +++ b/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md b/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md index 556c8c27ff..8cd4e7b3d0 100644 --- a/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md +++ b/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/componenttagsorder.md b/docs/recipes/codemods/cleanup/vue/componenttagsorder.md index bb7f22a4b0..1bd8ed05a8 100644 --- a/docs/recipes/codemods/cleanup/vue/componenttagsorder.md +++ b/docs/recipes/codemods/cleanup/vue/componenttagsorder.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/definemacrosorder.md b/docs/recipes/codemods/cleanup/vue/definemacrosorder.md index 82c1e8541d..4be980c425 100644 --- a/docs/recipes/codemods/cleanup/vue/definemacrosorder.md +++ b/docs/recipes/codemods/cleanup/vue/definemacrosorder.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/dotlocation.md b/docs/recipes/codemods/cleanup/vue/dotlocation.md index 9d22823d39..79e375dff2 100644 --- a/docs/recipes/codemods/cleanup/vue/dotlocation.md +++ b/docs/recipes/codemods/cleanup/vue/dotlocation.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/dotnotation.md b/docs/recipes/codemods/cleanup/vue/dotnotation.md index 184abc2101..a20cb206dc 100644 --- a/docs/recipes/codemods/cleanup/vue/dotnotation.md +++ b/docs/recipes/codemods/cleanup/vue/dotnotation.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/eqeqeq.md b/docs/recipes/codemods/cleanup/vue/eqeqeq.md index 3a31c23943..c9a497998c 100644 --- a/docs/recipes/codemods/cleanup/vue/eqeqeq.md +++ b/docs/recipes/codemods/cleanup/vue/eqeqeq.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/funccallspacing.md b/docs/recipes/codemods/cleanup/vue/funccallspacing.md index 81424ed886..f1f16058ce 100644 --- a/docs/recipes/codemods/cleanup/vue/funccallspacing.md +++ b/docs/recipes/codemods/cleanup/vue/funccallspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md index 687bfb7cf1..416d08564c 100644 --- a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md +++ b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md index 82c2bda79f..d086a54fea 100644 --- a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md +++ b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md b/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md index b27061abf0..f526cf21a5 100644 --- a/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md +++ b/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/keyspacing.md b/docs/recipes/codemods/cleanup/vue/keyspacing.md index ed9a076f60..964d1253dd 100644 --- a/docs/recipes/codemods/cleanup/vue/keyspacing.md +++ b/docs/recipes/codemods/cleanup/vue/keyspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/keywordspacing.md b/docs/recipes/codemods/cleanup/vue/keywordspacing.md index 8db649da56..6da6f4bfe6 100644 --- a/docs/recipes/codemods/cleanup/vue/keywordspacing.md +++ b/docs/recipes/codemods/cleanup/vue/keywordspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/multilineternary.md b/docs/recipes/codemods/cleanup/vue/multilineternary.md index cdac7356b7..e2777c3c38 100644 --- a/docs/recipes/codemods/cleanup/vue/multilineternary.md +++ b/docs/recipes/codemods/cleanup/vue/multilineternary.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md b/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md index 7e6e619610..ddfb02218f 100644 --- a/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md +++ b/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/nexttickstyle.md b/docs/recipes/codemods/cleanup/vue/nexttickstyle.md index c048692d5f..357cd79e48 100644 --- a/docs/recipes/codemods/cleanup/vue/nexttickstyle.md +++ b/docs/recipes/codemods/cleanup/vue/nexttickstyle.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/noextraparens.md b/docs/recipes/codemods/cleanup/vue/noextraparens.md index 5e31bc423f..82443b0a57 100644 --- a/docs/recipes/codemods/cleanup/vue/noextraparens.md +++ b/docs/recipes/codemods/cleanup/vue/noextraparens.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md b/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md index 95e7e49f78..feecfa73e0 100644 --- a/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md +++ b/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md b/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md index 2025ce2ef6..24f4a330cc 100644 --- a/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md +++ b/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md b/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md index 6b13bdc633..c503311940 100644 --- a/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md +++ b/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/nouselessvbind.md b/docs/recipes/codemods/cleanup/vue/nouselessvbind.md index 3c4b2bbe5f..8acab325c5 100644 --- a/docs/recipes/codemods/cleanup/vue/nouselessvbind.md +++ b/docs/recipes/codemods/cleanup/vue/nouselessvbind.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md b/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md index 450336a5bc..698ee1edf1 100644 --- a/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md +++ b/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md b/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md index 7e4c916460..bf97246c48 100644 --- a/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md +++ b/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md b/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md index ed1807567d..18d5c47233 100644 --- a/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md +++ b/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/objectshorthand.md b/docs/recipes/codemods/cleanup/vue/objectshorthand.md index 1312b979c7..7f94103556 100644 --- a/docs/recipes/codemods/cleanup/vue/objectshorthand.md +++ b/docs/recipes/codemods/cleanup/vue/objectshorthand.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md b/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md index ab9495297d..8be41e34f8 100644 --- a/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md +++ b/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/orderincomponents.md b/docs/recipes/codemods/cleanup/vue/orderincomponents.md index 3087025b22..dfa05b8746 100644 --- a/docs/recipes/codemods/cleanup/vue/orderincomponents.md +++ b/docs/recipes/codemods/cleanup/vue/orderincomponents.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md b/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md index b8a50f4f16..4dd6db5e1e 100644 --- a/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md +++ b/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md b/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md index edeef5b3b7..878f42000b 100644 --- a/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md +++ b/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md b/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md index c423c83c78..01b6024381 100644 --- a/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md +++ b/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md b/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md index 0984c02d2c..e810b06a29 100644 --- a/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md +++ b/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md b/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md index 1a890c05c9..1f65c73f21 100644 --- a/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md +++ b/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/prefertemplate.md b/docs/recipes/codemods/cleanup/vue/prefertemplate.md index 10ede5a24c..a11933b7ad 100644 --- a/docs/recipes/codemods/cleanup/vue/prefertemplate.md +++ b/docs/recipes/codemods/cleanup/vue/prefertemplate.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/quoteprops.md b/docs/recipes/codemods/cleanup/vue/quoteprops.md index 92f07b1f3b..d4bf5441f8 100644 --- a/docs/recipes/codemods/cleanup/vue/quoteprops.md +++ b/docs/recipes/codemods/cleanup/vue/quoteprops.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md b/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md index 901e8e6ba8..b1ac8af7e1 100644 --- a/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md +++ b/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md @@ -145,7 +145,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/scriptindent.md b/docs/recipes/codemods/cleanup/vue/scriptindent.md index ba5fb1a7c6..24a4a0cc86 100644 --- a/docs/recipes/codemods/cleanup/vue/scriptindent.md +++ b/docs/recipes/codemods/cleanup/vue/scriptindent.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/spaceinfixops.md b/docs/recipes/codemods/cleanup/vue/spaceinfixops.md index aefbdbc434..bbcfe85047 100644 --- a/docs/recipes/codemods/cleanup/vue/spaceinfixops.md +++ b/docs/recipes/codemods/cleanup/vue/spaceinfixops.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/spaceinparens.md b/docs/recipes/codemods/cleanup/vue/spaceinparens.md index a3a784f751..9c35930a98 100644 --- a/docs/recipes/codemods/cleanup/vue/spaceinparens.md +++ b/docs/recipes/codemods/cleanup/vue/spaceinparens.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/spaceunaryops.md b/docs/recipes/codemods/cleanup/vue/spaceunaryops.md index 6f0be61dcd..cec9439d64 100644 --- a/docs/recipes/codemods/cleanup/vue/spaceunaryops.md +++ b/docs/recipes/codemods/cleanup/vue/spaceunaryops.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md b/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md index 9d22ab3a0a..3141e63a03 100644 --- a/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md +++ b/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md b/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md index 4e24a070f0..6bc5dceaf8 100644 --- a/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md +++ b/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/thisintemplate.md b/docs/recipes/codemods/cleanup/vue/thisintemplate.md index 9bcc9b366b..8d298315ae 100644 --- a/docs/recipes/codemods/cleanup/vue/thisintemplate.md +++ b/docs/recipes/codemods/cleanup/vue/thisintemplate.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md b/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md index 3184af6685..b872463ea8 100644 --- a/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md +++ b/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/vifelsekey.md b/docs/recipes/codemods/cleanup/vue/vifelsekey.md index 58df1ec2b4..ec5c4e958b 100644 --- a/docs/recipes/codemods/cleanup/vue/vifelsekey.md +++ b/docs/recipes/codemods/cleanup/vue/vifelsekey.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md b/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md index 2337bff466..6ec82e3518 100644 --- a/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md +++ b/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md b/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md index b8d1866387..cdccabc54e 100644 --- a/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md +++ b/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md b/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md index 5f53001f1d..3c8426b163 100644 --- a/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md +++ b/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md b/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md index 5bf6a8d946..8fb4d42af9 100644 --- a/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md +++ b/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md b/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md index a828eef2cd..5418242521 100644 --- a/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md +++ b/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/5to6/nostrict.md b/docs/recipes/codemods/ecmascript/5to6/nostrict.md index a9f07b7c88..dea6e8d903 100644 --- a/docs/recipes/codemods/ecmascript/5to6/nostrict.md +++ b/docs/recipes/codemods/ecmascript/5to6/nostrict.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/5to6/simplearrow.md b/docs/recipes/codemods/ecmascript/5to6/simplearrow.md index 350f2cf706..c263067bf0 100644 --- a/docs/recipes/codemods/ecmascript/5to6/simplearrow.md +++ b/docs/recipes/codemods/ecmascript/5to6/simplearrow.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/5to6/vartolet.md b/docs/recipes/codemods/ecmascript/5to6/vartolet.md index 0da9d6bc92..2f6f5d091f 100644 --- a/docs/recipes/codemods/ecmascript/5to6/vartolet.md +++ b/docs/recipes/codemods/ecmascript/5to6/vartolet.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md b/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md index 4dd9226eaa..672510411e 100644 --- a/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md +++ b/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md b/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md index ae41588f38..0984426d9c 100644 --- a/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md +++ b/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/eslint.md b/docs/recipes/codemods/eslint.md index eb4c10c007..a29357919b 100644 --- a/docs/recipes/codemods/eslint.md +++ b/docs/recipes/codemods/eslint.md @@ -48,7 +48,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/arraybracketnewline.md b/docs/recipes/codemods/format/arraybracketnewline.md index 80b75c194c..beba66e673 100644 --- a/docs/recipes/codemods/format/arraybracketnewline.md +++ b/docs/recipes/codemods/format/arraybracketnewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/arraybracketspacing.md b/docs/recipes/codemods/format/arraybracketspacing.md index ba0f9c5abd..0e9d267c65 100644 --- a/docs/recipes/codemods/format/arraybracketspacing.md +++ b/docs/recipes/codemods/format/arraybracketspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/arrayelementnewline.md b/docs/recipes/codemods/format/arrayelementnewline.md index ee65581171..e1891684d1 100644 --- a/docs/recipes/codemods/format/arrayelementnewline.md +++ b/docs/recipes/codemods/format/arrayelementnewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/arrowparens.md b/docs/recipes/codemods/format/arrowparens.md index 06b8dd6480..1e5d249f9a 100644 --- a/docs/recipes/codemods/format/arrowparens.md +++ b/docs/recipes/codemods/format/arrowparens.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/arrowspacing.md b/docs/recipes/codemods/format/arrowspacing.md index 46108ae209..ac3342334f 100644 --- a/docs/recipes/codemods/format/arrowspacing.md +++ b/docs/recipes/codemods/format/arrowspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/blockspacing.md b/docs/recipes/codemods/format/blockspacing.md index 1c7a9d3b44..ecd3939ea0 100644 --- a/docs/recipes/codemods/format/blockspacing.md +++ b/docs/recipes/codemods/format/blockspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/bracestyle.md b/docs/recipes/codemods/format/bracestyle.md index 450f91b49a..c938a84358 100644 --- a/docs/recipes/codemods/format/bracestyle.md +++ b/docs/recipes/codemods/format/bracestyle.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/commadangle.md b/docs/recipes/codemods/format/commadangle.md index 94992a7fe4..1462292832 100644 --- a/docs/recipes/codemods/format/commadangle.md +++ b/docs/recipes/codemods/format/commadangle.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/commaspacing.md b/docs/recipes/codemods/format/commaspacing.md index f2b770e0c0..6ca4bf73d4 100644 --- a/docs/recipes/codemods/format/commaspacing.md +++ b/docs/recipes/codemods/format/commaspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/commastyle.md b/docs/recipes/codemods/format/commastyle.md index ac7e94ab35..19bb474222 100644 --- a/docs/recipes/codemods/format/commastyle.md +++ b/docs/recipes/codemods/format/commastyle.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/computedpropertyspacing.md b/docs/recipes/codemods/format/computedpropertyspacing.md index b7751acee2..5f180ff892 100644 --- a/docs/recipes/codemods/format/computedpropertyspacing.md +++ b/docs/recipes/codemods/format/computedpropertyspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/dotlocation.md b/docs/recipes/codemods/format/dotlocation.md index f7dd96855b..46642b9807 100644 --- a/docs/recipes/codemods/format/dotlocation.md +++ b/docs/recipes/codemods/format/dotlocation.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/eollast.md b/docs/recipes/codemods/format/eollast.md index 4bdf6c98b6..361e7bc394 100644 --- a/docs/recipes/codemods/format/eollast.md +++ b/docs/recipes/codemods/format/eollast.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/funccallspacing.md b/docs/recipes/codemods/format/funccallspacing.md index ed7232a0b3..b44d784f0a 100644 --- a/docs/recipes/codemods/format/funccallspacing.md +++ b/docs/recipes/codemods/format/funccallspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/functioncallargumentnewline.md b/docs/recipes/codemods/format/functioncallargumentnewline.md index a86490fc27..0073791d52 100644 --- a/docs/recipes/codemods/format/functioncallargumentnewline.md +++ b/docs/recipes/codemods/format/functioncallargumentnewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/functioncallspacing.md b/docs/recipes/codemods/format/functioncallspacing.md index 77a7b3394b..109e059a5e 100644 --- a/docs/recipes/codemods/format/functioncallspacing.md +++ b/docs/recipes/codemods/format/functioncallspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/functionparennewline.md b/docs/recipes/codemods/format/functionparennewline.md index 8b82aeac23..a5c332c4aa 100644 --- a/docs/recipes/codemods/format/functionparennewline.md +++ b/docs/recipes/codemods/format/functionparennewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/generatorstarspacing.md b/docs/recipes/codemods/format/generatorstarspacing.md index 3cefb637ca..a6e3d0e227 100644 --- a/docs/recipes/codemods/format/generatorstarspacing.md +++ b/docs/recipes/codemods/format/generatorstarspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/implicitarrowlinebreak.md b/docs/recipes/codemods/format/implicitarrowlinebreak.md index d750005066..0ba60655ce 100644 --- a/docs/recipes/codemods/format/implicitarrowlinebreak.md +++ b/docs/recipes/codemods/format/implicitarrowlinebreak.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/indent.md b/docs/recipes/codemods/format/indent.md index 8948a2ca41..349f302951 100644 --- a/docs/recipes/codemods/format/indent.md +++ b/docs/recipes/codemods/format/indent.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/indentbinaryops.md b/docs/recipes/codemods/format/indentbinaryops.md index 16c2e728e1..73809beb24 100644 --- a/docs/recipes/codemods/format/indentbinaryops.md +++ b/docs/recipes/codemods/format/indentbinaryops.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxclosingbracketlocation.md b/docs/recipes/codemods/format/jsxclosingbracketlocation.md index 9fbd7106fc..2514c82251 100644 --- a/docs/recipes/codemods/format/jsxclosingbracketlocation.md +++ b/docs/recipes/codemods/format/jsxclosingbracketlocation.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxclosingtaglocation.md b/docs/recipes/codemods/format/jsxclosingtaglocation.md index 65088e77bb..1793a41e17 100644 --- a/docs/recipes/codemods/format/jsxclosingtaglocation.md +++ b/docs/recipes/codemods/format/jsxclosingtaglocation.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxcurlybracepresence.md b/docs/recipes/codemods/format/jsxcurlybracepresence.md index 39c595596c..8f17480c90 100644 --- a/docs/recipes/codemods/format/jsxcurlybracepresence.md +++ b/docs/recipes/codemods/format/jsxcurlybracepresence.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxcurlynewline.md b/docs/recipes/codemods/format/jsxcurlynewline.md index 11a4b492f2..037a188b17 100644 --- a/docs/recipes/codemods/format/jsxcurlynewline.md +++ b/docs/recipes/codemods/format/jsxcurlynewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxcurlyspacing.md b/docs/recipes/codemods/format/jsxcurlyspacing.md index 0cfe184479..8ea738569b 100644 --- a/docs/recipes/codemods/format/jsxcurlyspacing.md +++ b/docs/recipes/codemods/format/jsxcurlyspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxequalsspacing.md b/docs/recipes/codemods/format/jsxequalsspacing.md index 86eba7afe7..c7d78054fa 100644 --- a/docs/recipes/codemods/format/jsxequalsspacing.md +++ b/docs/recipes/codemods/format/jsxequalsspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxfirstpropnewline.md b/docs/recipes/codemods/format/jsxfirstpropnewline.md index fe76ab772b..66e3455764 100644 --- a/docs/recipes/codemods/format/jsxfirstpropnewline.md +++ b/docs/recipes/codemods/format/jsxfirstpropnewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxindent.md b/docs/recipes/codemods/format/jsxindent.md index a7b5c41eff..8e7965c261 100644 --- a/docs/recipes/codemods/format/jsxindent.md +++ b/docs/recipes/codemods/format/jsxindent.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxindentprops.md b/docs/recipes/codemods/format/jsxindentprops.md index 9287c6b79f..fab6df19eb 100644 --- a/docs/recipes/codemods/format/jsxindentprops.md +++ b/docs/recipes/codemods/format/jsxindentprops.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxmaxpropsperline.md b/docs/recipes/codemods/format/jsxmaxpropsperline.md index ec8ac891b8..84e17b734f 100644 --- a/docs/recipes/codemods/format/jsxmaxpropsperline.md +++ b/docs/recipes/codemods/format/jsxmaxpropsperline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxnewline.md b/docs/recipes/codemods/format/jsxnewline.md index 315df8c425..15934222ae 100644 --- a/docs/recipes/codemods/format/jsxnewline.md +++ b/docs/recipes/codemods/format/jsxnewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxoneexpressionperline.md b/docs/recipes/codemods/format/jsxoneexpressionperline.md index 516e5bbbb7..d40acf02cf 100644 --- a/docs/recipes/codemods/format/jsxoneexpressionperline.md +++ b/docs/recipes/codemods/format/jsxoneexpressionperline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxpascalcase.md b/docs/recipes/codemods/format/jsxpascalcase.md index 4493b9f93d..1026b8ba74 100644 --- a/docs/recipes/codemods/format/jsxpascalcase.md +++ b/docs/recipes/codemods/format/jsxpascalcase.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxpropsnomultispaces.md b/docs/recipes/codemods/format/jsxpropsnomultispaces.md index b4c7ed0c47..287827a755 100644 --- a/docs/recipes/codemods/format/jsxpropsnomultispaces.md +++ b/docs/recipes/codemods/format/jsxpropsnomultispaces.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxquotes.md b/docs/recipes/codemods/format/jsxquotes.md index 5b1c4040b9..1fb65bb104 100644 --- a/docs/recipes/codemods/format/jsxquotes.md +++ b/docs/recipes/codemods/format/jsxquotes.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxselfclosingcomp.md b/docs/recipes/codemods/format/jsxselfclosingcomp.md index e0368fdf2f..7fc2f77684 100644 --- a/docs/recipes/codemods/format/jsxselfclosingcomp.md +++ b/docs/recipes/codemods/format/jsxselfclosingcomp.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxsortprops.md b/docs/recipes/codemods/format/jsxsortprops.md index d4dcd2c69a..70302302aa 100644 --- a/docs/recipes/codemods/format/jsxsortprops.md +++ b/docs/recipes/codemods/format/jsxsortprops.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxtagspacing.md b/docs/recipes/codemods/format/jsxtagspacing.md index 52c39bd960..5b4fac0cf7 100644 --- a/docs/recipes/codemods/format/jsxtagspacing.md +++ b/docs/recipes/codemods/format/jsxtagspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/jsxwrapmultilines.md b/docs/recipes/codemods/format/jsxwrapmultilines.md index d0d232285d..7751cd5d8c 100644 --- a/docs/recipes/codemods/format/jsxwrapmultilines.md +++ b/docs/recipes/codemods/format/jsxwrapmultilines.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/keyspacing.md b/docs/recipes/codemods/format/keyspacing.md index a3eae8d4d7..c00f082eab 100644 --- a/docs/recipes/codemods/format/keyspacing.md +++ b/docs/recipes/codemods/format/keyspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/keywordspacing.md b/docs/recipes/codemods/format/keywordspacing.md index 1183e407b4..2353811184 100644 --- a/docs/recipes/codemods/format/keywordspacing.md +++ b/docs/recipes/codemods/format/keywordspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/linebreakstyle.md b/docs/recipes/codemods/format/linebreakstyle.md index 15701a0fc1..b661f05058 100644 --- a/docs/recipes/codemods/format/linebreakstyle.md +++ b/docs/recipes/codemods/format/linebreakstyle.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/linesaroundcomment.md b/docs/recipes/codemods/format/linesaroundcomment.md index 9531a6ad5a..e344a6440b 100644 --- a/docs/recipes/codemods/format/linesaroundcomment.md +++ b/docs/recipes/codemods/format/linesaroundcomment.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/linesbetweenclassmembers.md b/docs/recipes/codemods/format/linesbetweenclassmembers.md index 97dc6f0873..b7d37a6f3a 100644 --- a/docs/recipes/codemods/format/linesbetweenclassmembers.md +++ b/docs/recipes/codemods/format/linesbetweenclassmembers.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/memberdelimiterstyle.md b/docs/recipes/codemods/format/memberdelimiterstyle.md index 6b734ee9b5..b2a0333eec 100644 --- a/docs/recipes/codemods/format/memberdelimiterstyle.md +++ b/docs/recipes/codemods/format/memberdelimiterstyle.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/multilineternary.md b/docs/recipes/codemods/format/multilineternary.md index b28f9e88a4..9600e55031 100644 --- a/docs/recipes/codemods/format/multilineternary.md +++ b/docs/recipes/codemods/format/multilineternary.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/newlineperchainedcall.md b/docs/recipes/codemods/format/newlineperchainedcall.md index 5e17a7fe9b..3ec9eb98bc 100644 --- a/docs/recipes/codemods/format/newlineperchainedcall.md +++ b/docs/recipes/codemods/format/newlineperchainedcall.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/newparens.md b/docs/recipes/codemods/format/newparens.md index 6e728e8202..ef86fdddc4 100644 --- a/docs/recipes/codemods/format/newparens.md +++ b/docs/recipes/codemods/format/newparens.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/noconfusingarrow.md b/docs/recipes/codemods/format/noconfusingarrow.md index 34004628f3..a26c8b46c2 100644 --- a/docs/recipes/codemods/format/noconfusingarrow.md +++ b/docs/recipes/codemods/format/noconfusingarrow.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/noextraparens.md b/docs/recipes/codemods/format/noextraparens.md index e8b8cf2dee..932165cbe0 100644 --- a/docs/recipes/codemods/format/noextraparens.md +++ b/docs/recipes/codemods/format/noextraparens.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/noextrasemi.md b/docs/recipes/codemods/format/noextrasemi.md index 2443a4b24f..05056a1080 100644 --- a/docs/recipes/codemods/format/noextrasemi.md +++ b/docs/recipes/codemods/format/noextrasemi.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/nofloatingdecimal.md b/docs/recipes/codemods/format/nofloatingdecimal.md index ed23972b4f..ccac4aff5d 100644 --- a/docs/recipes/codemods/format/nofloatingdecimal.md +++ b/docs/recipes/codemods/format/nofloatingdecimal.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/nomultipleemptylines.md b/docs/recipes/codemods/format/nomultipleemptylines.md index 5fe42b464b..5e363b1588 100644 --- a/docs/recipes/codemods/format/nomultipleemptylines.md +++ b/docs/recipes/codemods/format/nomultipleemptylines.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/nomultispaces.md b/docs/recipes/codemods/format/nomultispaces.md index 89cdbd895a..a8fa8bf09f 100644 --- a/docs/recipes/codemods/format/nomultispaces.md +++ b/docs/recipes/codemods/format/nomultispaces.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/nonblockstatementbodyposition.md b/docs/recipes/codemods/format/nonblockstatementbodyposition.md index e684b7f941..455df0a57d 100644 --- a/docs/recipes/codemods/format/nonblockstatementbodyposition.md +++ b/docs/recipes/codemods/format/nonblockstatementbodyposition.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/notrailingspaces.md b/docs/recipes/codemods/format/notrailingspaces.md index 30c1d8bde1..9444503e27 100644 --- a/docs/recipes/codemods/format/notrailingspaces.md +++ b/docs/recipes/codemods/format/notrailingspaces.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/nowhitespacebeforeproperty.md b/docs/recipes/codemods/format/nowhitespacebeforeproperty.md index 7c342f514c..0e2d88e498 100644 --- a/docs/recipes/codemods/format/nowhitespacebeforeproperty.md +++ b/docs/recipes/codemods/format/nowhitespacebeforeproperty.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/objectcurlynewline.md b/docs/recipes/codemods/format/objectcurlynewline.md index 169c75798a..075ef1d11e 100644 --- a/docs/recipes/codemods/format/objectcurlynewline.md +++ b/docs/recipes/codemods/format/objectcurlynewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/objectcurlyspacing.md b/docs/recipes/codemods/format/objectcurlyspacing.md index 9903441d77..f9a60d9059 100644 --- a/docs/recipes/codemods/format/objectcurlyspacing.md +++ b/docs/recipes/codemods/format/objectcurlyspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/objectpropertynewline.md b/docs/recipes/codemods/format/objectpropertynewline.md index 655990528a..26ca6e2463 100644 --- a/docs/recipes/codemods/format/objectpropertynewline.md +++ b/docs/recipes/codemods/format/objectpropertynewline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/onevardeclarationperline.md b/docs/recipes/codemods/format/onevardeclarationperline.md index 90856b4bcf..b49075bc4f 100644 --- a/docs/recipes/codemods/format/onevardeclarationperline.md +++ b/docs/recipes/codemods/format/onevardeclarationperline.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/operatorlinebreak.md b/docs/recipes/codemods/format/operatorlinebreak.md index dc54ad640d..90b72148e0 100644 --- a/docs/recipes/codemods/format/operatorlinebreak.md +++ b/docs/recipes/codemods/format/operatorlinebreak.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/paddedblocks.md b/docs/recipes/codemods/format/paddedblocks.md index 1ffb5b2af4..4b98069371 100644 --- a/docs/recipes/codemods/format/paddedblocks.md +++ b/docs/recipes/codemods/format/paddedblocks.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/paddinglinebetweenstatements.md b/docs/recipes/codemods/format/paddinglinebetweenstatements.md index 7a0a21f3d0..29350ac225 100644 --- a/docs/recipes/codemods/format/paddinglinebetweenstatements.md +++ b/docs/recipes/codemods/format/paddinglinebetweenstatements.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/quoteprops.md b/docs/recipes/codemods/format/quoteprops.md index 78cb23468a..af77542dcf 100644 --- a/docs/recipes/codemods/format/quoteprops.md +++ b/docs/recipes/codemods/format/quoteprops.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/quotes.md b/docs/recipes/codemods/format/quotes.md index 87d0273f79..2c87b6b3b5 100644 --- a/docs/recipes/codemods/format/quotes.md +++ b/docs/recipes/codemods/format/quotes.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/recommendedeslintstyling.md b/docs/recipes/codemods/format/recommendedeslintstyling.md index f7d25c03f3..81d2b221d4 100644 --- a/docs/recipes/codemods/format/recommendedeslintstyling.md +++ b/docs/recipes/codemods/format/recommendedeslintstyling.md @@ -165,7 +165,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/restspreadspacing.md b/docs/recipes/codemods/format/restspreadspacing.md index f45b3f6493..59a79010b0 100644 --- a/docs/recipes/codemods/format/restspreadspacing.md +++ b/docs/recipes/codemods/format/restspreadspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/semi.md b/docs/recipes/codemods/format/semi.md index cfd6fed89d..ecdf008dbf 100644 --- a/docs/recipes/codemods/format/semi.md +++ b/docs/recipes/codemods/format/semi.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/semispacing.md b/docs/recipes/codemods/format/semispacing.md index 9d699e0ee1..702f2407a7 100644 --- a/docs/recipes/codemods/format/semispacing.md +++ b/docs/recipes/codemods/format/semispacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/semistyle.md b/docs/recipes/codemods/format/semistyle.md index 2645094d57..7f8becf385 100644 --- a/docs/recipes/codemods/format/semistyle.md +++ b/docs/recipes/codemods/format/semistyle.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/spacebeforeblocks.md b/docs/recipes/codemods/format/spacebeforeblocks.md index 163ea5c978..af51b52341 100644 --- a/docs/recipes/codemods/format/spacebeforeblocks.md +++ b/docs/recipes/codemods/format/spacebeforeblocks.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/spacebeforefunctionparen.md b/docs/recipes/codemods/format/spacebeforefunctionparen.md index 0591ef449c..a2fe36aca1 100644 --- a/docs/recipes/codemods/format/spacebeforefunctionparen.md +++ b/docs/recipes/codemods/format/spacebeforefunctionparen.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/spacedcomment.md b/docs/recipes/codemods/format/spacedcomment.md index dde2d2ec2b..770788bed6 100644 --- a/docs/recipes/codemods/format/spacedcomment.md +++ b/docs/recipes/codemods/format/spacedcomment.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/spaceinfixops.md b/docs/recipes/codemods/format/spaceinfixops.md index f29787bf18..4294322018 100644 --- a/docs/recipes/codemods/format/spaceinfixops.md +++ b/docs/recipes/codemods/format/spaceinfixops.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/spaceinparens.md b/docs/recipes/codemods/format/spaceinparens.md index 5271366440..101b08ddad 100644 --- a/docs/recipes/codemods/format/spaceinparens.md +++ b/docs/recipes/codemods/format/spaceinparens.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/spaceunaryops.md b/docs/recipes/codemods/format/spaceunaryops.md index 99e20e083d..a267401101 100644 --- a/docs/recipes/codemods/format/spaceunaryops.md +++ b/docs/recipes/codemods/format/spaceunaryops.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/switchcolonspacing.md b/docs/recipes/codemods/format/switchcolonspacing.md index c86e9fc2ff..b9b56b90dc 100644 --- a/docs/recipes/codemods/format/switchcolonspacing.md +++ b/docs/recipes/codemods/format/switchcolonspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/templatecurlyspacing.md b/docs/recipes/codemods/format/templatecurlyspacing.md index ad91b76d06..dd4b9ac7ae 100644 --- a/docs/recipes/codemods/format/templatecurlyspacing.md +++ b/docs/recipes/codemods/format/templatecurlyspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/templatetagspacing.md b/docs/recipes/codemods/format/templatetagspacing.md index 7a05f7f7d5..97557db3eb 100644 --- a/docs/recipes/codemods/format/templatetagspacing.md +++ b/docs/recipes/codemods/format/templatetagspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/typeannotationspacing.md b/docs/recipes/codemods/format/typeannotationspacing.md index 677f481693..8e6baa7fce 100644 --- a/docs/recipes/codemods/format/typeannotationspacing.md +++ b/docs/recipes/codemods/format/typeannotationspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/typegenericspacing.md b/docs/recipes/codemods/format/typegenericspacing.md index 05ce90041d..e59fad6748 100644 --- a/docs/recipes/codemods/format/typegenericspacing.md +++ b/docs/recipes/codemods/format/typegenericspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/typenamedtuplespacing.md b/docs/recipes/codemods/format/typenamedtuplespacing.md index b1c132c980..74847192d1 100644 --- a/docs/recipes/codemods/format/typenamedtuplespacing.md +++ b/docs/recipes/codemods/format/typenamedtuplespacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/wrapiife.md b/docs/recipes/codemods/format/wrapiife.md index 37ef471bc7..a4e59d3c99 100644 --- a/docs/recipes/codemods/format/wrapiife.md +++ b/docs/recipes/codemods/format/wrapiife.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/wrapregex.md b/docs/recipes/codemods/format/wrapregex.md index 722f4f1b69..2a3e112eb7 100644 --- a/docs/recipes/codemods/format/wrapregex.md +++ b/docs/recipes/codemods/format/wrapregex.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/format/yieldstarspacing.md b/docs/recipes/codemods/format/yieldstarspacing.md index 41dcefc840..cc5bf61f13 100644 --- a/docs/recipes/codemods/format/yieldstarspacing.md +++ b/docs/recipes/codemods/format/yieldstarspacing.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md b/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md index e55ee868d1..1e9373b93d 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md b/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md index 83a526d2d3..45e188ef7a 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md b/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md index b09277db14..4305e341cd 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md b/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md index 286b7a3ee2..04769ee3a4 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/adapterv.md b/docs/recipes/codemods/migrate/mui/adapterv.md index 5f8105037c..ea60732d4d 100644 --- a/docs/recipes/codemods/migrate/mui/adapterv.md +++ b/docs/recipes/codemods/migrate/mui/adapterv.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/all.md b/docs/recipes/codemods/migrate/mui/all.md index a322b94e0a..a71ab7b836 100644 --- a/docs/recipes/codemods/migrate/mui/all.md +++ b/docs/recipes/codemods/migrate/mui/all.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md b/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md index 244b48f372..1cdecd13f7 100644 --- a/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md +++ b/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md b/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md index d3c1e43aea..ee2a8b438c 100644 --- a/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md +++ b/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md b/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md index 81bdae8f65..1a3e45bad8 100644 --- a/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md +++ b/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md b/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md index be18371d2b..76b8551fba 100644 --- a/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md +++ b/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/basehookimports.md b/docs/recipes/codemods/migrate/mui/basehookimports.md index d852b0d76e..5985e57702 100644 --- a/docs/recipes/codemods/migrate/mui/basehookimports.md +++ b/docs/recipes/codemods/migrate/mui/basehookimports.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md b/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md index 6eaa58815c..d26077e629 100644 --- a/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md +++ b/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md b/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md index fd54a9b907..c2afbcce7f 100644 --- a/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md +++ b/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md b/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md index 0cdb9f4595..6ad1dc2c56 100644 --- a/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md +++ b/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/baseusenamedexports.md b/docs/recipes/codemods/migrate/mui/baseusenamedexports.md index 2968803493..45283644ed 100644 --- a/docs/recipes/codemods/migrate/mui/baseusenamedexports.md +++ b/docs/recipes/codemods/migrate/mui/baseusenamedexports.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md b/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md index 7cb999c910..c644d735a2 100644 --- a/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md +++ b/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/boxrenamecss.md b/docs/recipes/codemods/migrate/mui/boxrenamecss.md index f2f34a5294..9d3f235f0c 100644 --- a/docs/recipes/codemods/migrate/mui/boxrenamecss.md +++ b/docs/recipes/codemods/migrate/mui/boxrenamecss.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/boxrenamegap.md b/docs/recipes/codemods/migrate/mui/boxrenamegap.md index 4e5dcc1557..82e63c0229 100644 --- a/docs/recipes/codemods/migrate/mui/boxrenamegap.md +++ b/docs/recipes/codemods/migrate/mui/boxrenamegap.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/boxsxprop.md b/docs/recipes/codemods/migrate/mui/boxsxprop.md index 55592ecccc..27d69a27cb 100644 --- a/docs/recipes/codemods/migrate/mui/boxsxprop.md +++ b/docs/recipes/codemods/migrate/mui/boxsxprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/buttoncolorprop.md b/docs/recipes/codemods/migrate/mui/buttoncolorprop.md index 8245e93e5d..683ee5efae 100644 --- a/docs/recipes/codemods/migrate/mui/buttoncolorprop.md +++ b/docs/recipes/codemods/migrate/mui/buttoncolorprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/chipvariantprop.md b/docs/recipes/codemods/migrate/mui/chipvariantprop.md index f9d0e70bdf..35a54e8127 100644 --- a/docs/recipes/codemods/migrate/mui/chipvariantprop.md +++ b/docs/recipes/codemods/migrate/mui/chipvariantprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/circularprogressvariant.md b/docs/recipes/codemods/migrate/mui/circularprogressvariant.md index 8cd09f7287..beb0b9846e 100644 --- a/docs/recipes/codemods/migrate/mui/circularprogressvariant.md +++ b/docs/recipes/codemods/migrate/mui/circularprogressvariant.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md b/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md index 95b5941963..86961aed1d 100644 --- a/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md +++ b/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/componentrenameprop.md b/docs/recipes/codemods/migrate/mui/componentrenameprop.md index 7911dac056..ab7de396d7 100644 --- a/docs/recipes/codemods/migrate/mui/componentrenameprop.md +++ b/docs/recipes/codemods/migrate/mui/componentrenameprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/corestylesimport.md b/docs/recipes/codemods/migrate/mui/corestylesimport.md index a7d2ba9d07..44068036bb 100644 --- a/docs/recipes/codemods/migrate/mui/corestylesimport.md +++ b/docs/recipes/codemods/migrate/mui/corestylesimport.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/createtheme.md b/docs/recipes/codemods/migrate/mui/createtheme.md index 9dc739b15f..aec34d9990 100644 --- a/docs/recipes/codemods/migrate/mui/createtheme.md +++ b/docs/recipes/codemods/migrate/mui/createtheme.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md b/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md index 084fd4c786..827dba5211 100644 --- a/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md +++ b/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/dialogprops.md b/docs/recipes/codemods/migrate/mui/dialogprops.md index 2218726adb..36e9a05de2 100644 --- a/docs/recipes/codemods/migrate/mui/dialogprops.md +++ b/docs/recipes/codemods/migrate/mui/dialogprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/dialogtitleprops.md b/docs/recipes/codemods/migrate/mui/dialogtitleprops.md index b80a0c873e..d6286cc8bc 100644 --- a/docs/recipes/codemods/migrate/mui/dialogtitleprops.md +++ b/docs/recipes/codemods/migrate/mui/dialogtitleprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/emotionprependcache.md b/docs/recipes/codemods/migrate/mui/emotionprependcache.md index c316cd9962..aff0b2541f 100644 --- a/docs/recipes/codemods/migrate/mui/emotionprependcache.md +++ b/docs/recipes/codemods/migrate/mui/emotionprependcache.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md b/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md index f3a5ff03ce..022210428d 100644 --- a/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md +++ b/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/fabvariant.md b/docs/recipes/codemods/migrate/mui/fabvariant.md index d69b00d1c9..d756d04d17 100644 --- a/docs/recipes/codemods/migrate/mui/fabvariant.md +++ b/docs/recipes/codemods/migrate/mui/fabvariant.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/faderenamealpha.md b/docs/recipes/codemods/migrate/mui/faderenamealpha.md index 9792185c7d..a4b6aaa9ab 100644 --- a/docs/recipes/codemods/migrate/mui/faderenamealpha.md +++ b/docs/recipes/codemods/migrate/mui/faderenamealpha.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md b/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md index c80e58fc6e..2eac75888a 100644 --- a/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md +++ b/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/gridlistcomponent.md b/docs/recipes/codemods/migrate/mui/gridlistcomponent.md index 861d6b1e4b..9c9d02c916 100644 --- a/docs/recipes/codemods/migrate/mui/gridlistcomponent.md +++ b/docs/recipes/codemods/migrate/mui/gridlistcomponent.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/gridvprops.md b/docs/recipes/codemods/migrate/mui/gridvprops.md index 9e327ccfa9..eb829bb018 100644 --- a/docs/recipes/codemods/migrate/mui/gridvprops.md +++ b/docs/recipes/codemods/migrate/mui/gridvprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/hiddendownprops.md b/docs/recipes/codemods/migrate/mui/hiddendownprops.md index 057799a254..5432738a0d 100644 --- a/docs/recipes/codemods/migrate/mui/hiddendownprops.md +++ b/docs/recipes/codemods/migrate/mui/hiddendownprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/iconbuttonsize.md b/docs/recipes/codemods/migrate/mui/iconbuttonsize.md index a3710c0629..bddd437bf2 100644 --- a/docs/recipes/codemods/migrate/mui/iconbuttonsize.md +++ b/docs/recipes/codemods/migrate/mui/iconbuttonsize.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md b/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md index 082626d1e5..e53c9a7a98 100644 --- a/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md +++ b/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md b/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md index 48052f8594..f859ad5424 100644 --- a/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md +++ b/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md b/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md index 831e497d56..7b34edf7bd 100644 --- a/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md +++ b/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md b/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md index 3785ffc965..0fd98f8dba 100644 --- a/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md +++ b/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md b/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md index 3f47d5dc67..aaef9be817 100644 --- a/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md +++ b/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/jsstostyled.md b/docs/recipes/codemods/migrate/mui/jsstostyled.md index 1eb0707497..53a96d6e2d 100644 --- a/docs/recipes/codemods/migrate/mui/jsstostyled.md +++ b/docs/recipes/codemods/migrate/mui/jsstostyled.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/jsstotssreact.md b/docs/recipes/codemods/migrate/mui/jsstotssreact.md index 1f4942f7ba..ec02270309 100644 --- a/docs/recipes/codemods/migrate/mui/jsstotssreact.md +++ b/docs/recipes/codemods/migrate/mui/jsstotssreact.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/linkunderlinehover.md b/docs/recipes/codemods/migrate/mui/linkunderlinehover.md index 59c5e2d8f3..f89e405376 100644 --- a/docs/recipes/codemods/migrate/mui/linkunderlinehover.md +++ b/docs/recipes/codemods/migrate/mui/linkunderlinehover.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/materialuistyles.md b/docs/recipes/codemods/migrate/mui/materialuistyles.md index a97714f38f..4e2dad3e00 100644 --- a/docs/recipes/codemods/migrate/mui/materialuistyles.md +++ b/docs/recipes/codemods/migrate/mui/materialuistyles.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/materialuitypes.md b/docs/recipes/codemods/migrate/mui/materialuitypes.md index 2efe98ab36..abdd5eed61 100644 --- a/docs/recipes/codemods/migrate/mui/materialuitypes.md +++ b/docs/recipes/codemods/migrate/mui/materialuitypes.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/modalprops.md b/docs/recipes/codemods/migrate/mui/modalprops.md index 9646b127dd..79f3306245 100644 --- a/docs/recipes/codemods/migrate/mui/modalprops.md +++ b/docs/recipes/codemods/migrate/mui/modalprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/movedlabmodules.md b/docs/recipes/codemods/migrate/mui/movedlabmodules.md index 0a7482532d..8bffacc337 100644 --- a/docs/recipes/codemods/migrate/mui/movedlabmodules.md +++ b/docs/recipes/codemods/migrate/mui/movedlabmodules.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/muireplace.md b/docs/recipes/codemods/migrate/mui/muireplace.md index 0cb192cec0..608685f949 100644 --- a/docs/recipes/codemods/migrate/mui/muireplace.md +++ b/docs/recipes/codemods/migrate/mui/muireplace.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/optimalimports.md b/docs/recipes/codemods/migrate/mui/optimalimports.md index b52003a5f5..63ed3828b6 100644 --- a/docs/recipes/codemods/migrate/mui/optimalimports.md +++ b/docs/recipes/codemods/migrate/mui/optimalimports.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/paginationroundcircular.md b/docs/recipes/codemods/migrate/mui/paginationroundcircular.md index c69985793e..ed444e4d4d 100644 --- a/docs/recipes/codemods/migrate/mui/paginationroundcircular.md +++ b/docs/recipes/codemods/migrate/mui/paginationroundcircular.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/presetsafe.md b/docs/recipes/codemods/migrate/mui/presetsafe.md index 0830d8fe16..596c1718ae 100644 --- a/docs/recipes/codemods/migrate/mui/presetsafe.md +++ b/docs/recipes/codemods/migrate/mui/presetsafe.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/renamecssvariables.md b/docs/recipes/codemods/migrate/mui/renamecssvariables.md index 8ddebad944..6447e4d39c 100644 --- a/docs/recipes/codemods/migrate/mui/renamecssvariables.md +++ b/docs/recipes/codemods/migrate/mui/renamecssvariables.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/rootref.md b/docs/recipes/codemods/migrate/mui/rootref.md index fcb289c4dd..dffb188dcc 100644 --- a/docs/recipes/codemods/migrate/mui/rootref.md +++ b/docs/recipes/codemods/migrate/mui/rootref.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/skeletonvariant.md b/docs/recipes/codemods/migrate/mui/skeletonvariant.md index dfe103c0f6..bd41e30d0b 100644 --- a/docs/recipes/codemods/migrate/mui/skeletonvariant.md +++ b/docs/recipes/codemods/migrate/mui/skeletonvariant.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/styled.md b/docs/recipes/codemods/migrate/mui/styled.md index da4dd0f9c3..55365d8e66 100644 --- a/docs/recipes/codemods/migrate/mui/styled.md +++ b/docs/recipes/codemods/migrate/mui/styled.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/styledengineprovider.md b/docs/recipes/codemods/migrate/mui/styledengineprovider.md index dc7e2ab0b1..759ddb4017 100644 --- a/docs/recipes/codemods/migrate/mui/styledengineprovider.md +++ b/docs/recipes/codemods/migrate/mui/styledengineprovider.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/sxprop.md b/docs/recipes/codemods/migrate/mui/sxprop.md index 8e7f057c7e..422a98af0b 100644 --- a/docs/recipes/codemods/migrate/mui/sxprop.md +++ b/docs/recipes/codemods/migrate/mui/sxprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/systemprops.md b/docs/recipes/codemods/migrate/mui/systemprops.md index 9db0a1d313..9e8c605464 100644 --- a/docs/recipes/codemods/migrate/mui/systemprops.md +++ b/docs/recipes/codemods/migrate/mui/systemprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/tableprops.md b/docs/recipes/codemods/migrate/mui/tableprops.md index ba476d8597..1eafca233c 100644 --- a/docs/recipes/codemods/migrate/mui/tableprops.md +++ b/docs/recipes/codemods/migrate/mui/tableprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md b/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md index eea2df813d..8c2dd97857 100644 --- a/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md +++ b/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md b/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md index 109358c819..b66803bddb 100644 --- a/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md +++ b/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themeaugment.md b/docs/recipes/codemods/migrate/mui/themeaugment.md index b08fb04ad8..d5a89e1782 100644 --- a/docs/recipes/codemods/migrate/mui/themeaugment.md +++ b/docs/recipes/codemods/migrate/mui/themeaugment.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themebreakpoints.md b/docs/recipes/codemods/migrate/mui/themebreakpoints.md index 4888513891..d17867597f 100644 --- a/docs/recipes/codemods/migrate/mui/themebreakpoints.md +++ b/docs/recipes/codemods/migrate/mui/themebreakpoints.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md b/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md index b6b833969e..fb4c0c89ca 100644 --- a/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md +++ b/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themeoptions.md b/docs/recipes/codemods/migrate/mui/themeoptions.md index 84703b3f43..dc764226de 100644 --- a/docs/recipes/codemods/migrate/mui/themeoptions.md +++ b/docs/recipes/codemods/migrate/mui/themeoptions.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themepalettemode.md b/docs/recipes/codemods/migrate/mui/themepalettemode.md index 7fffbe66b0..f671da16d9 100644 --- a/docs/recipes/codemods/migrate/mui/themepalettemode.md +++ b/docs/recipes/codemods/migrate/mui/themepalettemode.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themeprovider.md b/docs/recipes/codemods/migrate/mui/themeprovider.md index 6da7f19a21..1323cae486 100644 --- a/docs/recipes/codemods/migrate/mui/themeprovider.md +++ b/docs/recipes/codemods/migrate/mui/themeprovider.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themespacing.md b/docs/recipes/codemods/migrate/mui/themespacing.md index bce0076d8e..d9eecc2a3f 100644 --- a/docs/recipes/codemods/migrate/mui/themespacing.md +++ b/docs/recipes/codemods/migrate/mui/themespacing.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themespacingapi.md b/docs/recipes/codemods/migrate/mui/themespacingapi.md index a75c4a0518..e7ed935a24 100644 --- a/docs/recipes/codemods/migrate/mui/themespacingapi.md +++ b/docs/recipes/codemods/migrate/mui/themespacingapi.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themetypographyround.md b/docs/recipes/codemods/migrate/mui/themetypographyround.md index 574244b679..83c0f9409f 100644 --- a/docs/recipes/codemods/migrate/mui/themetypographyround.md +++ b/docs/recipes/codemods/migrate/mui/themetypographyround.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/themev.md b/docs/recipes/codemods/migrate/mui/themev.md index 06997d049d..66aa5aa972 100644 --- a/docs/recipes/codemods/migrate/mui/themev.md +++ b/docs/recipes/codemods/migrate/mui/themev.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/toplevelimports.md b/docs/recipes/codemods/migrate/mui/toplevelimports.md index e7a2c64828..0adaa5b3e9 100644 --- a/docs/recipes/codemods/migrate/mui/toplevelimports.md +++ b/docs/recipes/codemods/migrate/mui/toplevelimports.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/transitions.md b/docs/recipes/codemods/migrate/mui/transitions.md index f34bdb4a76..dee57cd7b4 100644 --- a/docs/recipes/codemods/migrate/mui/transitions.md +++ b/docs/recipes/codemods/migrate/mui/transitions.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md b/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md index 3ad7ec9884..669d9c5984 100644 --- a/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md +++ b/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/useautocomplete.md b/docs/recipes/codemods/migrate/mui/useautocomplete.md index 7013f31f0f..9ac458c9f0 100644 --- a/docs/recipes/codemods/migrate/mui/useautocomplete.md +++ b/docs/recipes/codemods/migrate/mui/useautocomplete.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/usetransitionprops.md b/docs/recipes/codemods/migrate/mui/usetransitionprops.md index c24e7a194c..a2610b7ad0 100644 --- a/docs/recipes/codemods/migrate/mui/usetransitionprops.md +++ b/docs/recipes/codemods/migrate/mui/usetransitionprops.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/variantprop.md b/docs/recipes/codemods/migrate/mui/variantprop.md index aabea4e23e..63c66e93c6 100644 --- a/docs/recipes/codemods/migrate/mui/variantprop.md +++ b/docs/recipes/codemods/migrate/mui/variantprop.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/withmobiledialog.md b/docs/recipes/codemods/migrate/mui/withmobiledialog.md index 550dd3a9c5..24847e1f71 100644 --- a/docs/recipes/codemods/migrate/mui/withmobiledialog.md +++ b/docs/recipes/codemods/migrate/mui/withmobiledialog.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/mui/withwidth.md b/docs/recipes/codemods/migrate/mui/withwidth.md index 33b2986e95..4a906238ed 100644 --- a/docs/recipes/codemods/migrate/mui/withwidth.md +++ b/docs/recipes/codemods/migrate/mui/withwidth.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md b/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md index f47db0a966..00fbb957c7 100644 --- a/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md +++ b/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md b/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md index 7bcdc7682a..3ba3f46e60 100644 --- a/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md +++ b/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md b/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md index 89d1c4991b..601f8c3405 100644 --- a/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md +++ b/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md b/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md index 219b43cfb5..b164ef2dbb 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md index 7cf47a8083..3be4fbb990 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md index 700bc3dee5..97ba200cc6 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md b/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md index 080e4276dd..dda83d5696 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v14_0/metadatatoviewportexport.md b/docs/recipes/codemods/migrate/nextjs/v14_0/metadatatoviewportexport.md index 85b8657c62..f2369dc54d 100644 --- a/docs/recipes/codemods/migrate/nextjs/v14_0/metadatatoviewportexport.md +++ b/docs/recipes/codemods/migrate/nextjs/v14_0/metadatatoviewportexport.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md b/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md index 12ad66396b..53835cd692 100644 --- a/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md +++ b/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md b/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md index a6bfc94bb0..46ded6de55 100644 --- a/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md +++ b/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md b/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md index a7ed6802c3..91a862ac32 100644 --- a/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md +++ b/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md b/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md index a099bb5dcf..def0f05951 100644 --- a/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md +++ b/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/putout.md b/docs/recipes/codemods/putout.md index 6c155afedc..21d45bb587 100644 --- a/docs/recipes/codemods/putout.md +++ b/docs/recipes/codemods/putout.md @@ -37,7 +37,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/codemods/ui5.md b/docs/recipes/codemods/ui5.md index c5a50a71b1..c9cde485ae 100644 --- a/docs/recipes/codemods/ui5.md +++ b/docs/recipes/codemods/ui5.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/changejakartainjectapidependencyscope.md b/docs/recipes/com/oracle/weblogic/rewrite/changejakartainjectapidependencyscope.md index 9bfcf975b6..5155130971 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/changejakartainjectapidependencyscope.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/changejakartainjectapidependencyscope.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/changejaxbbindapidependencyscope.md b/docs/recipes/com/oracle/weblogic/rewrite/changejaxbbindapidependencyscope.md index d39b0be122..4bf64a415c 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/changejaxbbindapidependencyscope.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/changejaxbbindapidependencyscope.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1412.md b/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1412.md index 9bb869bdc3..17eb9441ad 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1412.md @@ -428,7 +428,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1511.md b/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1511.md index ce55da7508..dedae51935 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/checkandcommentoutdeprecations1511.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib2_1.md b/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib2_1.md index d11bc95d96..e4fc66b405 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib2_1.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib2_1.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib3_0.md b/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib3_0.md index 06e6582eb2..0a09047f2d 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib3_0.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/examples/addimplicittldfilewithtaglib3_0.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/changecachemanagertosimplecachemanager.md b/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/changecachemanagertosimplecachemanager.md index e14ac97069..cc2022e71f 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/changecachemanagertosimplecachemanager.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/changecachemanagertosimplecachemanager.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/migratedpetclinicextrasfor1511.md b/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/migratedpetclinicextrasfor1511.md index 311c15dda9..a909f85ce8 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/migratedpetclinicextrasfor1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/migratedpetclinicextrasfor1511.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/setupspringframeworkpetclinicfor1412.md b/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/setupspringframeworkpetclinicfor1412.md index 58af6f0356..0fd968a137 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/setupspringframeworkpetclinicfor1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/examples/spring/setupspringframeworkpetclinicfor1412.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/facesmigrationtojakartafaces2x.md b/docs/recipes/com/oracle/weblogic/rewrite/facesmigrationtojakartafaces2x.md index 5064273e30..b9f957a366 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/facesmigrationtojakartafaces2x.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/facesmigrationtojakartafaces2x.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/hibernate/addhibernateormcore61.md b/docs/recipes/com/oracle/weblogic/rewrite/hibernate/addhibernateormcore61.md index a8e3815b6f..0bf2f2afef 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/hibernate/addhibernateormcore61.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/hibernate/addhibernateormcore61.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/hibernate/migratehibernatetojakartaee9.md b/docs/recipes/com/oracle/weblogic/rewrite/hibernate/migratehibernatetojakartaee9.md index f8d4f3bae1..855ab1c029 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/hibernate/migratehibernatetojakartaee9.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/hibernate/migratehibernatetojakartaee9.md @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/addjakartaee9servletdependencyifusingservletcontext.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/addjakartaee9servletdependencyifusingservletcontext.md index 8ad7d1bebf..954216cf4e 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/addjakartaee9servletdependencyifusingservletcontext.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/addjakartaee9servletdependencyifusingservletcontext.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/changejakartafacesmethodcalls.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/changejakartafacesmethodcalls.md index fcde0ae163..bec302bcfb 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/changejakartafacesmethodcalls.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/changejakartafacesmethodcalls.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/faces2xmigrationtojakartafaces3x.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/faces2xmigrationtojakartafaces3x.md index fb510cedd3..370a80cae7 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/faces2xmigrationtojakartafaces3x.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/faces2xmigrationtojakartafaces3x.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesjndinameschanged3.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesjndinameschanged3.md index 1cc5bbb874..af0d96b13e 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesjndinameschanged3.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesjndinameschanged3.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesmanagedbeansremoved3.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesmanagedbeansremoved3.md index 68a845e345..4b32bae238 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesmanagedbeansremoved3.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/facesmanagedbeansremoved3.md @@ -169,7 +169,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartaeenamespaces9_1.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartaeenamespaces9_1.md index fae75dbe8f..a2e0ef5771 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartaeenamespaces9_1.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartaeenamespaces9_1.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartafaces3xhtml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartafaces3xhtml.md index 9fddc9d90b..31d64e29cf 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartafaces3xhtml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/jakartafaces3xhtml.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxannotationmigrationtojakarta9annotation.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxannotationmigrationtojakarta9annotation.md index cd42e2af16..03752e6459 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxannotationmigrationtojakarta9annotation.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxannotationmigrationtojakarta9annotation.md @@ -131,7 +131,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationclientxmltojakarta9applicationclientxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationclientxmltojakarta9applicationclientxml.md index a1bcab7a62..a6e0f7217a 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationclientxmltojakarta9applicationclientxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationclientxmltojakarta9applicationclientxml.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationxmltojakarta9applicationxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationxmltojakarta9applicationxml.md index 9459dc752c..0c846559e3 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationxmltojakarta9applicationxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxapplicationxmltojakarta9applicationxml.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchjobsxmlstojakarta9batchjobsxmls.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchjobsxmlstojakarta9batchjobsxmls.md index 2870ac638f..e6189011e2 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchjobsxmlstojakarta9batchjobsxmls.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchjobsxmlstojakarta9batchjobsxmls.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchxmltojakarta9batchxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchxmltojakarta9batchxml.md index e3039cc4a2..c75f740a3b 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchxmltojakarta9batchxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbatchxmltojakarta9batchxml.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbeansxmltojakarta9beansxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbeansxmltojakarta9beansxml.md index f297854cdf..37b91b3e90 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbeansxmltojakarta9beansxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbeansxmltojakarta9beansxml.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbindingsschemaxjbstojakarta9bindingsschemaxjbs.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbindingsschemaxjbstojakarta9bindingsschemaxjbs.md index 8f70837bc2..43350223c2 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbindingsschemaxjbstojakarta9bindingsschemaxjbs.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxbindingsschemaxjbstojakarta9bindingsschemaxjbs.md @@ -156,7 +156,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxejbjarxmltojakarta9ejbjarxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxejbjarxmltojakarta9ejbjarxml.md index 4ea4dad057..e1c21d8f09 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxejbjarxmltojakarta9ejbjarxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxejbjarxmltojakarta9ejbjarxml.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacesconfigxmltojakartafaces3configxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacesconfigxmltojakartafaces3configxml.md index 4a360b3a91..8468ea1e23 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacesconfigxmltojakartafaces3configxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacesconfigxmltojakartafaces3configxml.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacestaglibraryxmltojakartafaces3taglibraryxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacestaglibraryxmltojakartafaces3taglibraryxml.md index 5f348eb25b..11c9c3711f 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacestaglibraryxmltojakartafaces3taglibraryxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxfacestaglibraryxmltojakartafaces3taglibraryxml.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxjmstojakartajmsonmdb.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxjmstojakartajmsonmdb.md index caa3826988..aeb0a04772 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxjmstojakartajmsonmdb.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxjmstojakartajmsonmdb.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxpermissionsxmltojakarta9permissionsxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxpermissionsxmltojakarta9permissionsxml.md index 8c8ff520af..2643574a8d 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxpermissionsxmltojakarta9permissionsxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxpermissionsxmltojakarta9permissionsxml.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxraxmltojakarta9raxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxraxmltojakarta9raxml.md index c8effbeefb..37a31dfcda 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxraxmltojakarta9raxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxraxmltojakarta9raxml.md @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestwebxmltojakartatestwebxml5.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestwebxmltojakartatestwebxml5.md index 76b8892a25..d2b11cffd6 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestwebxmltojakartatestwebxml5.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestwebxmltojakartatestwebxml5.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestxmlstojakartatestsxmls.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestxmlstojakartatestsxmls.md index 10d46e572b..8a3cd44711 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestxmlstojakartatestsxmls.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtestxmlstojakartatestsxmls.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtojakartacdiextensions.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtojakartacdiextensions.md index 2ca6134517..58883dc69b 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtojakartacdiextensions.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxtojakartacdiextensions.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxvalidationmappingxmlstojakarta9validationmappingxmls.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxvalidationmappingxmlstojakarta9validationmappingxmls.md index 12584ff520..dd4f0b8139 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxvalidationmappingxmlstojakarta9validationmappingxmls.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxvalidationmappingxmlstojakarta9validationmappingxmls.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebfragmentxmltojakartawebfragmentxml5.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebfragmentxmltojakartawebfragmentxml5.md index 394d84a486..dcb1e43617 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebfragmentxmltojakartawebfragmentxml5.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebfragmentxmltojakartawebfragmentxml5.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebhandlerxmltojakarta9handlerxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebhandlerxmltojakarta9handlerxml.md index 4c49042122..fa9afcb972 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebhandlerxmltojakarta9handlerxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebhandlerxmltojakarta9handlerxml.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebjsptaglibrarytldstojakarta9webjsptaglibrarytlds.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebjsptaglibrarytldstojakarta9webjsptaglibrarytlds.md index 22c86bbc8f..80d7ffc305 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebjsptaglibrarytldstojakarta9webjsptaglibrarytlds.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebjsptaglibrarytldstojakarta9webjsptaglibrarytlds.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebservicesxmltojakarta9webservicesxml.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebservicesxmltojakarta9webservicesxml.md index 7cd87b93bc..6e4e992ed4 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebservicesxmltojakarta9webservicesxml.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebservicesxmltojakarta9webservicesxml.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebxmltojakartawebxml5.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebxmltojakartawebxml5.md index d75102b0c7..044e4bbfac 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebxmltojakartawebxml5.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/javaxwebxmltojakartawebxml5.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxmvctojakartaee9.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxmvctojakartaee9.md index 9e7b7be0cb..be4417efe2 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxmvctojakartaee9.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxmvctojakartaee9.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxwebtojakartaweb9.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxwebtojakartaweb9.md index 0061a75ee1..7c417cd535 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxwebtojakartaweb9.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratejavaxwebtojakartaweb9.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratetaglibstojakartaee9.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratetaglibstojakartaee9.md index 3e07bc86d0..4f471097b5 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratetaglibstojakartaee9.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/migratetaglibstojakartaee9.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/mitigateunaffectednoneejakarta9packages.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/mitigateunaffectednoneejakarta9packages.md index 31c49fb4fd..8ff18eb295 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/mitigateunaffectednoneejakarta9packages.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/mitigateunaffectednoneejakarta9packages.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/orgglassfishjavaxeltojakartael.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/orgglassfishjavaxeltojakartael.md index 48a2a5e394..6b479480a3 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/orgglassfishjavaxeltojakartael.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/orgglassfishjavaxeltojakartael.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removalsservletjakarta9.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removalsservletjakarta9.md index ae791e3cb3..2292f23c9d 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removalsservletjakarta9.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removalsservletjakarta9.md @@ -205,7 +205,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3expressionlanguageclasses.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3expressionlanguageclasses.md index 5c163e462d..622ddce0aa 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3expressionlanguageclasses.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3expressionlanguageclasses.md @@ -185,7 +185,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3resourceresolver.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3resourceresolver.md index 4e0afc05cb..2d761cf015 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3resourceresolver.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedjakartafaces3resourceresolver.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedstatemanagermethods3.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedstatemanagermethods3.md index 60f1068d98..b7583e7cc8 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedstatemanagermethods3.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/removedstatemanagermethods3.md @@ -113,7 +113,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartafacesmethodcalls.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartafacesmethodcalls.md index f19bd397c3..4f55b973d9 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartafacesmethodcalls.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartafacesmethodcalls.md @@ -55,7 +55,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartaplatform9_1.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartaplatform9_1.md index e80fb28f32..ed6561d1a3 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartaplatform9_1.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/updatejakartaplatform9_1.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradecommonopensourcelibraries.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradecommonopensourcelibraries.md index 14ae4276a7..b0c8e49b60 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradecommonopensourcelibraries.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradecommonopensourcelibraries.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries2.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries2.md index 7552b6eefc..590a1fec5c 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries2.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries2.md @@ -116,7 +116,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries3.md b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries3.md index 18a8da245c..d105f200fb 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries3.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakarta/upgradefacesopensourcelibraries3.md @@ -128,7 +128,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md b/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md index 1c899e0a09..70e1ed8798 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/jakartaee9_1.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [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), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1412.md b/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1412.md index 7fe8b5ebb1..f27261b5ed 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1412.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1511.md b/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1511.md index 29ed8cbd6b..29a0745998 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/migrateweblogicschemasto1511.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/outputrecipeversion.md b/docs/recipes/com/oracle/weblogic/rewrite/outputrecipeversion.md index b5e97332e8..7c59c9d746 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/outputrecipeversion.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/outputrecipeversion.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/spring/data/upgradespringdatabom.md b/docs/recipes/com/oracle/weblogic/rewrite/spring/data/upgradespringdatabom.md index 3b34bd74b5..27a8689996 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/spring/data/upgradespringdatabom.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/spring/data/upgradespringdatabom.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/defaultservlethandler.md b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/defaultservlethandler.md index 60d548118c..017a9b26f0 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/defaultservlethandler.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/defaultservlethandler.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicjtatransactionmanager.md b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicjtatransactionmanager.md index e54093d9ee..4c52653687 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicjtatransactionmanager.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicjtatransactionmanager.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicloadtimeweaver.md b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicloadtimeweaver.md index e299695831..d686968605 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicloadtimeweaver.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/spring/framework/replaceweblogicloadtimeweaver.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { 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 dedf6fb5f5..c222e965c0 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 @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -266,4 +266,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@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), [Tim te Beek](mailto:tim@moderne.io), [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), Adriano Machado, [Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@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), [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) diff --git a/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1412.md b/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1412.md index 5fb66eac66..8b2bfec849 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1511.md b/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1511.md index 8a4c0601d2..4db4bdd559 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/updatebuildtoweblogic1511.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md index a9bce133a1..c65b0f32de 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1411.md @@ -120,7 +120,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1412.md b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1412.md index 10663827bf..ba636e2dc2 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1412.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md index 7e209b8e39..8341ec90fc 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/upgradeto1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/upgradeweblogicmavenpropertyversion.md b/docs/recipes/com/oracle/weblogic/rewrite/upgradeweblogicmavenpropertyversion.md index 093aa99355..5a7159a751 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/upgradeweblogicmavenpropertyversion.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/upgradeweblogicmavenpropertyversion.md @@ -48,7 +48,7 @@ Now that `com.yourorg.UpgradeWeblogicMavenPropertyVersionExample` has been defin ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogic1412javaxmlbindmitigation.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogic1412javaxmlbindmitigation.md index ff5c9e9ce6..4392e90e20 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogic1412javaxmlbindmitigation.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogic1412javaxmlbindmitigation.md @@ -114,7 +114,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1412.md index 323653cd36..2212c2f6dc 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1511.md index 658c8130ab..1245d2cbc3 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationclientxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1412.md index 91cf2e1990..1203d4b923 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1511.md index 197aea3a23..8665848d7c 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicapplicationxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1412.md index 4ca5e09ede..c97e8b039b 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1412.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1511.md index afae6faac2..4906b32492 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicejbjar32xmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1412.md index 424f49763a..a2c5e5c760 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1412.md @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1511.md index 06ead7537c..a3eb924df5 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjdbcxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1412.md index 2c4806f733..43b67a526d 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1511.md index 8d76c731b8..31215df140 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicjmsxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1412.md index f90ec84884..485abb9d4d 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1412.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1511.md index 7c4ba91ed2..37027fd5f0 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpersistenceconfigurationxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1412.md index 14079bbb03..9589a4f181 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1511.md index ae12638c90..3d1bebd720 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicplanxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1412.md index fb13a55de8..4fe0b47dcd 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1511.md index 6a7062df99..05c6eef2f0 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicpubsubxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1412.md index 2003907459..3cb12d1032 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1412.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1511.md index 45f455e4ee..c56e375a9d 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicraxmlnamespace1511.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1412.md index c1f597b330..b296bc4240 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1412.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1511.md index 3c441e5c31..c1b44703c0 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicrdbmsjarxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1412.md index dacb565974..aa57e9418f 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1511.md index 03843ff231..64768710aa 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicresourcedeploymentplanxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1412.md index 1f746a13e2..f64ecf69ff 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1511.md index 26aa0ef59d..83b1be9cb6 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicespolicyrefxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1412.md index d39557d764..78e64a1cd5 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1511.md index 291350509a..30c9a79ff3 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwebservicesxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1412.md index f3002dd56a..c4859fbdc6 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1511.md index 1e2eb73b89..0b17adf7b4 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseeclienthandlerchainxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1412.md index 4f69eab15e..0f6a35b50e 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1412.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1511.md index 7f9dd05d2a..403246527d 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicwseestandaloneclientxmlnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1412.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1412.md index ac2781afa9..c8aca6b7ca 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1412.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1412.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1511.md b/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1511.md index 410884cc52..4c964ef71e 100644 --- a/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1511.md +++ b/docs/recipes/com/oracle/weblogic/rewrite/weblogicxmlwebappnamespace1511.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/config/compositerecipe.md b/docs/recipes/config/compositerecipe.md index b82b312625..925a80551f 100644 --- a/docs/recipes/config/compositerecipe.md +++ b/docs/recipes/config/compositerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/README.md b/docs/recipes/core/README.md index 597c3a15c6..e62e890181 100644 --- a/docs/recipes/core/README.md +++ b/docs/recipes/core/README.md @@ -14,6 +14,7 @@ * [Is in repository](./isinrepository.md) * [Language composition report](./languagecomposition.md) * [List runtime classpath](./listruntimeclasspath.md) +* [Move a file](./movefile.md) * [Remove ignoral of files or directories from .gitignore](./excludefilefromgitignore.md) * [Rename a file](./renamefile.md) * [Set file permission attributes](./setfilepermissions.md) diff --git a/docs/recipes/core/deletesourcefiles.md b/docs/recipes/core/deletesourcefiles.md index 432c164984..9a30207726 100644 --- a/docs/recipes/core/deletesourcefiles.md +++ b/docs/recipes/core/deletesourcefiles.md @@ -47,7 +47,7 @@ Now that `com.yourorg.DeleteSourceFilesExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/excludefilefromgitignore.md b/docs/recipes/core/excludefilefromgitignore.md index 1c2a160869..b2b07b93d9 100644 --- a/docs/recipes/core/excludefilefromgitignore.md +++ b/docs/recipes/core/excludefilefromgitignore.md @@ -47,7 +47,7 @@ Now that `com.yourorg.ExcludeFileFromGitignoreExample` has been defined, activat 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/findcallgraph.md b/docs/recipes/core/findcallgraph.md index 5ad557237c..9387ab466a 100644 --- a/docs/recipes/core/findcallgraph.md +++ b/docs/recipes/core/findcallgraph.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -280,4 +280,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Sam Snyder](mailto:sam@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/core/findcollidingsourcefiles.md b/docs/recipes/core/findcollidingsourcefiles.md index 7fbfeea328..ecae3c8b37 100644 --- a/docs/recipes/core/findcollidingsourcefiles.md +++ b/docs/recipes/core/findcollidingsourcefiles.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/finddeserializationerrors.md b/docs/recipes/core/finddeserializationerrors.md index dbb0d408bb..e2eb5b6d7a 100644 --- a/docs/recipes/core/finddeserializationerrors.md +++ b/docs/recipes/core/finddeserializationerrors.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/findduplicatesourcefiles.md b/docs/recipes/core/findduplicatesourcefiles.md index 0854941d21..47f68ad11b 100644 --- a/docs/recipes/core/findduplicatesourcefiles.md +++ b/docs/recipes/core/findduplicatesourcefiles.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/findgitprovenance.md b/docs/recipes/core/findgitprovenance.md index ef1ca17b2f..fa7248392b 100644 --- a/docs/recipes/core/findgitprovenance.md +++ b/docs/recipes/core/findgitprovenance.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/findlstprovenance.md b/docs/recipes/core/findlstprovenance.md index 880eea6c3e..91cec879e2 100644 --- a/docs/recipes/core/findlstprovenance.md +++ b/docs/recipes/core/findlstprovenance.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/findparsefailures.md b/docs/recipes/core/findparsefailures.md index ac9000188c..3cdf9746ee 100644 --- a/docs/recipes/core/findparsefailures.md +++ b/docs/recipes/core/findparsefailures.md @@ -39,7 +39,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/findquarks.md b/docs/recipes/core/findquarks.md index 0e13796b3b..abfafc6a2c 100644 --- a/docs/recipes/core/findquarks.md +++ b/docs/recipes/core/findquarks.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/findsourcefiles.md b/docs/recipes/core/findsourcefiles.md index 4792b78a10..9ac60ceefd 100644 --- a/docs/recipes/core/findsourcefiles.md +++ b/docs/recipes/core/findsourcefiles.md @@ -36,7 +36,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/isinrepository.md b/docs/recipes/core/isinrepository.md index 84a0a67453..9fd3341ea0 100644 --- a/docs/recipes/core/isinrepository.md +++ b/docs/recipes/core/isinrepository.md @@ -47,7 +47,7 @@ Now that `com.yourorg.IsInRepositoryExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/languagecomposition.md b/docs/recipes/core/languagecomposition.md index 7acb4d5e99..cdd953a225 100644 --- a/docs/recipes/core/languagecomposition.md +++ b/docs/recipes/core/languagecomposition.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/listruntimeclasspath.md b/docs/recipes/core/listruntimeclasspath.md index 97e0118dfa..ce218a624e 100644 --- a/docs/recipes/core/listruntimeclasspath.md +++ b/docs/recipes/core/listruntimeclasspath.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/movefile.md b/docs/recipes/core/movefile.md new file mode 100644 index 0000000000..68a110be8a --- /dev/null +++ b/docs/recipes/core/movefile.md @@ -0,0 +1,177 @@ +--- +sidebar_label: "Move a file" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Move a file + +**org.openrewrite.MoveFile** + +_Move a file to a different directory. The file name will remain the same._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/MoveFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + +## Options + +| Type | Name | Description | Example | +| -- | -- | -- | -- | +| `String` | folder | *Optional*. When using the folder option, all files / subfolders in the folder will be moved to the moveTo source path. Folder should be starting at root | `src/main/resources/` | +| `String` | fileMatcher | *Optional*. Matching files will be moved. This is a glob expression. | `**/*.yml` | +| `String` | moveTo | Either a relative or absolute path. If relative, it is relative to the current file's directory. | `../yamls/` | + + +## 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.MoveFileExample`. +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.MoveFileExample +displayName: Move a file example +recipeList: + - org.openrewrite.MoveFile: + folder: src/main/resources/ + fileMatcher: '**/*.yml' + moveTo: ../yamls/ +``` + +Now that `com.yourorg.MoveFileExample` has been defined, activate it 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.MoveFileExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} +``` +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.MoveFileExample + + + + + + +``` +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 MoveFile --recipe-option "folder=src/main/resources/" --recipe-option "fileMatcher='**/*.yml'" --recipe-option "moveTo=../yamls/" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite:rewrite-core:{{VERSION_ORG_OPENREWRITE_REWRITE_CORE}} +``` + + + +## 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 +[Jente Sondervorst](mailto:jentesondervorst@gmail.com) diff --git a/docs/recipes/core/renamefile.md b/docs/recipes/core/renamefile.md index 7e2ae1e320..4fab18dec1 100644 --- a/docs/recipes/core/renamefile.md +++ b/docs/recipes/core/renamefile.md @@ -49,7 +49,7 @@ Now that `com.yourorg.RenameFileExample` has been defined, activate it in your b 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/core/setfilepermissions.md b/docs/recipes/core/setfilepermissions.md index c11afd8967..37e243e71e 100644 --- a/docs/recipes/core/setfilepermissions.md +++ b/docs/recipes/core/setfilepermissions.md @@ -53,7 +53,7 @@ Now that `com.yourorg.SetFilePermissionsExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/cryptography/README.md b/docs/recipes/cryptography/README.md new file mode 100644 index 0000000000..e7ba655fe4 --- /dev/null +++ b/docs/recipes/cryptography/README.md @@ -0,0 +1,28 @@ +# Cryptography + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Find hardcoded protocol choice](./findhardcodedprotocolchoice.md) +* [Find programmatic edits of `Security` provider list](./findsecurityproviderediting.md) +* [Hardcoded algorithm choice](./findhardcodedalgorithmchoice.md) +* [Post quantum cryptography](./postquantumcryptography.md) + +## Recipes + +* [Find SSL configuration](./findsslconfiguration.md) +* [Find `Security.setProperty(..)` calls for certain properties](./findsecuritysetproperties.md) +* [Find hardcoded PEM certificates](./findhardcodedcertificate.md) +* [Find hardcoded PEM private keys](./findhardcodedprivatekey.md) +* [Find hardcoded algorithms in `KeyPairGenerator`](./findhardcodedkeypairgenerator.md) +* [Find hardcoded algorithms in `SecretKeySpec`](./findhardcodedsecretkeyspec.md) +* [Find hardcoded cipher suites on SSL sockets](./findhardcodedciphersuitesonsslsocket.md) +* [Find hardcoded numbers passed into `RSAKeyGenParameterSpec`](./findhardcodedrsakeygenparameterspec.md) +* [Find hardcoded protocols on SSL socket creation](./findhardcodedprotocolsonsslsocketcreation.md) +* [Find hardcoded protocols on SSL sockets](./findhardcodedprotocolsonsslsocketsetprotocols.md) +* [Find where `SSLContext` is set as system default](./findsslcontextdefault.md) +* [Hardcoded algorithm specific parameters](./findhardcodedalgorithmspecificparameters.md) +* [Hardcoded ciphersuite choice](./findhardcodedciphersuitechoice.md) + + diff --git a/docs/recipes/cryptography/findhardcodedalgorithmchoice.md b/docs/recipes/cryptography/findhardcodedalgorithmchoice.md new file mode 100644 index 0000000000..ccd27423e2 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedalgorithmchoice.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Hardcoded algorithm choice" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Hardcoded algorithm choice + +**io.moderne.cryptography.FindHardcodedAlgorithmChoice** + +_Locate hardcoded algorithm choices in cryptographic code._ + +## 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 FindHardcodedAlgorithmChoice +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/cryptography/findhardcodedalgorithmspecificparameters.md b/docs/recipes/cryptography/findhardcodedalgorithmspecificparameters.md new file mode 100644 index 0000000000..4c9ac78d14 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedalgorithmspecificparameters.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Hardcoded algorithm specific parameters" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Hardcoded algorithm specific parameters + +**io.moderne.cryptography.FindHardcodedAlgorithmSpecificParameters** + +_Locate hardcoded algorithm specific parameters in cryptographic code._ + +## 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 FindHardcodedAlgorithmSpecificParameters +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/cryptography/findhardcodedcertificate.md b/docs/recipes/cryptography/findhardcodedcertificate.md new file mode 100644 index 0000000000..c2fe5d0ec6 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedcertificate.md @@ -0,0 +1,109 @@ +--- +sidebar_label: "Find hardcoded PEM certificates" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded PEM certificates + +**io.moderne.cryptography.FindHardcodedCertificate** + +_Detects hardcoded PEM certificates passed into `CertificateFactory.generateCertificate()`._ + +## 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 FindHardcodedCertificate +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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/cryptography/findhardcodedciphersuitechoice.md b/docs/recipes/cryptography/findhardcodedciphersuitechoice.md new file mode 100644 index 0000000000..c731b42d2f --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedciphersuitechoice.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Hardcoded ciphersuite choice" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Hardcoded ciphersuite choice + +**io.moderne.cryptography.FindHardcodedCiphersuiteChoice** + +_Locate hardcoded ciphersuite choices in cryptographic code._ + +## 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 FindHardcodedCiphersuiteChoice +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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) diff --git a/docs/recipes/cryptography/findhardcodedciphersuitesonsslsocket.md b/docs/recipes/cryptography/findhardcodedciphersuitesonsslsocket.md new file mode 100644 index 0000000000..79c9d442d0 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedciphersuitesonsslsocket.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Find hardcoded cipher suites on SSL sockets" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded cipher suites on SSL sockets + +**io.moderne.cryptography.FindHardcodedCipherSuitesOnSslSocket** + +_Detects hardcoded cipher suites in SSL socket configurations, which can lead to security vulnerabilities._ + +## 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 FindHardcodedCipherSuitesOnSslSocket +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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) diff --git a/docs/recipes/cryptography/findhardcodedkeypairgenerator.md b/docs/recipes/cryptography/findhardcodedkeypairgenerator.md new file mode 100644 index 0000000000..5dc500091e --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedkeypairgenerator.md @@ -0,0 +1,118 @@ +--- +sidebar_label: "Find hardcoded algorithms in KeyPairGenerator" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded algorithms in `KeyPairGenerator` + +**io.moderne.cryptography.FindHardcodedKeyPairGenerator** + +_Detects hardcoded cryptographic algorithms._ + +## 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 | +| -- | -- | -- | -- | +| `String` | algorithm | *Optional*. The hardcoded algorithm to search for in the construction of `KeyPairGenerator`. When omitted finds all hardcoded algorithms. | `RSA` | + + +## 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 FindHardcodedKeyPairGenerator +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/cryptography/findhardcodedprivatekey.md b/docs/recipes/cryptography/findhardcodedprivatekey.md new file mode 100644 index 0000000000..8d1f93dc52 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedprivatekey.md @@ -0,0 +1,109 @@ +--- +sidebar_label: "Find hardcoded PEM private keys" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded PEM private keys + +**io.moderne.cryptography.FindHardcodedPrivateKey** + +_Detects hardcoded PEM private keys passed into `KeyFactory.generatePrivate()`._ + +## 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 FindHardcodedPrivateKey +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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/cryptography/findhardcodedprotocolchoice.md b/docs/recipes/cryptography/findhardcodedprotocolchoice.md new file mode 100644 index 0000000000..72003220a8 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedprotocolchoice.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Find hardcoded protocol choice" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded protocol choice + +**io.moderne.cryptography.FindHardcodedProtocolChoice** + +_Locate hardcoded protocol choices in cryptographic code._ + +## 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 FindHardcodedProtocolChoice +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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) diff --git a/docs/recipes/cryptography/findhardcodedprotocolsonsslsocketcreation.md b/docs/recipes/cryptography/findhardcodedprotocolsonsslsocketcreation.md new file mode 100644 index 0000000000..cf75953e37 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedprotocolsonsslsocketcreation.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Find hardcoded protocols on SSL socket creation" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded protocols on SSL socket creation + +**io.moderne.cryptography.FindHardcodedProtocolsOnSSLSocketCreation** + +_Finds hardcoded protocols in SSL socket creation methods, such as `SSLContext.getInstance(String)`._ + +## 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 FindHardcodedProtocolsOnSSLSocketCreation +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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) diff --git a/docs/recipes/cryptography/findhardcodedprotocolsonsslsocketsetprotocols.md b/docs/recipes/cryptography/findhardcodedprotocolsonsslsocketsetprotocols.md new file mode 100644 index 0000000000..d31ed0bf9e --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedprotocolsonsslsocketsetprotocols.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Find hardcoded protocols on SSL sockets" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded protocols on SSL sockets + +**io.moderne.cryptography.FindHardcodedProtocolsOnSSLSocketSetProtocols** + +_Detects hardcoded protocol versions in SSL socket configurations, which can hinder adaptability and security._ + +## 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 FindHardcodedProtocolsOnSSLSocketSetProtocols +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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) diff --git a/docs/recipes/cryptography/findhardcodedrsakeygenparameterspec.md b/docs/recipes/cryptography/findhardcodedrsakeygenparameterspec.md new file mode 100644 index 0000000000..08559295f3 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedrsakeygenparameterspec.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Find hardcoded numbers passed into RSAKeyGenParameterSpec" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded numbers passed into `RSAKeyGenParameterSpec` + +**io.moderne.cryptography.FindHardcodedRSAKeyGenParameterSpec** + +_It is usually insecure to pass hardcoded numbers passed into `RSAKeyGenParameterSpec`._ + +## 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 FindHardcodedRSAKeyGenParameterSpec +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/cryptography/findhardcodedsecretkeyspec.md b/docs/recipes/cryptography/findhardcodedsecretkeyspec.md new file mode 100644 index 0000000000..b2c14b96a2 --- /dev/null +++ b/docs/recipes/cryptography/findhardcodedsecretkeyspec.md @@ -0,0 +1,118 @@ +--- +sidebar_label: "Find hardcoded algorithms in SecretKeySpec" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find hardcoded algorithms in `SecretKeySpec` + +**io.moderne.cryptography.FindHardcodedSecretKeySpec** + +_Detects hardcoded cryptographic algorithms._ + +## 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 | +| -- | -- | -- | -- | +| `String` | algorithm | *Optional*. The hardcoded algorithm to search for in the construction of `SecretKeySpec`. When omitted finds all hardcoded algorithms. | `AES` | + + +## 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 FindHardcodedSecretKeySpec +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/cryptography/findsecurityproviderediting.md b/docs/recipes/cryptography/findsecurityproviderediting.md new file mode 100644 index 0000000000..08f92021ad --- /dev/null +++ b/docs/recipes/cryptography/findsecurityproviderediting.md @@ -0,0 +1,126 @@ +--- +sidebar_label: "Find programmatic edits of Security provider list" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find programmatic edits of `Security` provider list + +**io.moderne.cryptography.FindSecurityProviderEditing** + +_Locate programmatic edits of the `Security` provider list._ + +## 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 FindSecurityProviderEditing +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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 + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + + +### 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/cryptography/findsecuritysetproperties.md b/docs/recipes/cryptography/findsecuritysetproperties.md new file mode 100644 index 0000000000..4665ba0db4 --- /dev/null +++ b/docs/recipes/cryptography/findsecuritysetproperties.md @@ -0,0 +1,118 @@ +--- +sidebar_label: "Find Security.setProperty(..) calls for certain properties" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find `Security.setProperty(..)` calls for certain properties + +**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._ + +## 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 | +| -- | -- | -- | -- | +| `List` | properties | *Optional*. A list of the properties we want to prevent being set with `Security.setProperty(..)`. | `crypto.policy` | + + +## 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 FindSecuritySetProperties +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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:tim@moderne.io) diff --git a/docs/recipes/diffblue/generateunittests.md b/docs/recipes/cryptography/findsslconfiguration.md similarity index 64% rename from docs/recipes/diffblue/generateunittests.md rename to docs/recipes/cryptography/findsslconfiguration.md index a7f8f4f60c..42acdeb506 100644 --- a/docs/recipes/diffblue/generateunittests.md +++ b/docs/recipes/cryptography/findsslconfiguration.md @@ -1,15 +1,15 @@ --- -sidebar_label: "Generate unit tests" +sidebar_label: "Find SSL configuration" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Generate unit tests +# Find SSL configuration -**io.moderne.diffblue.GenerateUnitTests** +**io.moderne.cryptography.FindSslConfiguration** -_Use the Diffblue Cover tool to generate unit tests for Java classes._ +_The configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS) is a key aspect of making a secure application. This recipe detects and enumerates these configurations._ ## Recipe source @@ -18,46 +18,24 @@ 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 | -| -- | -- | -- | -- | -| `String` | license | The content of the `~/.diffblue/license.key` file to use for Diffblue Cover. | `YOUR-LICENSE-KEY` | -| `Integer` | iterations | *Optional*. The number of iterations to run when generating tests. | `1000` | -| `Boolean` | skipVerification | *Optional*. Skip verification of generated tests. | `false` | -| `List` | arguments | *Optional*. Additional arguments to pass to Diffblue Cover. See the available arguments in the [Cover CLI documentation](https://docs.diffblue.com/features/cover-cli/commands-and-arguments#argument-summary). | | - ## 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: +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: + -```yaml title="rewrite.yml" ---- -type: specs.openrewrite.org/v1beta/recipe -name: com.yourorg.GenerateUnitTestsExample -displayName: Generate unit tests example -recipeList: - - io.moderne.diffblue.GenerateUnitTests: - license: YOUR-LICENSE-KEY - iterations: 1000 - skipVerification: 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 GenerateUnitTests --recipe-option "license=YOUR-LICENSE-KEY" --recipe-option "iterations=1000" --recipe-option "skipVerification=false" +mod run . --recipe FindSslConfiguration ``` If the recipe is not available locally, then you can install it using: ```shell -mod config recipes jar install org.openrewrite.recipe:rewrite-diffblue:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DIFFBLUE}} +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} ``` @@ -66,7 +44,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-diffblue:{{VERSION 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. @@ -74,17 +52,20 @@ Please [contact Moderne](https://moderne.io/product) for more information about ## Data Tables - + -### Diffblue errors -**io.moderne.diffblue.table.DiffblueErrors** +### Ssl configuration +**io.moderne.cryptography.table.SslConfiguration** -_The errors generated by Diffblue Cover during its attempt to generate unit tests._ +_Records configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS)._ | Column Name | Description | | ----------- | ----------- | -| Error code | The error code returned by Diffblue Cover. | -| Error text | The error text returned by Diffblue Cover. | +| Source Path | Path to the source file where the SSL configuration is defined. | +| Protocol | Protocol used by SSL to encrypt communications. e.g.: TLS | +| Enabled Protocols | List of protocols enabled for SSL/TLS communication. e.g.: TLSv1.2|TLSv1.3 | +| Ciphers | List of ciphers used for SSL/TLS encryption. e.g.: TLS_AES_128_GCM_SHA256|TLS_AES_256_GCM_SHA384 | +| SSL Bundle | Spring SSL configuration bundle name | @@ -143,3 +124,6 @@ _Statistics used in analyzing the performance of recipes._ + +## Contributors +[Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/cryptography/findsslcontextdefault.md b/docs/recipes/cryptography/findsslcontextdefault.md new file mode 100644 index 0000000000..4fa4191ba1 --- /dev/null +++ b/docs/recipes/cryptography/findsslcontextdefault.md @@ -0,0 +1,126 @@ +--- +sidebar_label: "Find where SSLContext is set as system default" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find where `SSLContext` is set as system default + +**io.moderne.cryptography.FindSslContextDefault** + +_This includes anywhere where `SSLContext.setDefault` is called._ + +## 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 FindSslContextDefault +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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 + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + + +### 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/cryptography/postquantumcryptography.md b/docs/recipes/cryptography/postquantumcryptography.md new file mode 100644 index 0000000000..8323f2db63 --- /dev/null +++ b/docs/recipes/cryptography/postquantumcryptography.md @@ -0,0 +1,164 @@ +--- +sidebar_label: "Post quantum cryptography" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Post quantum cryptography + +**io.moderne.cryptography.PostQuantumCryptography** + +_Locate cryptographic configuration which may need to be updated for a brave new post-quantum-supremacy world._ + +### Tags + +* DevCenter:security + +## 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 PostQuantumCryptography +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-cryptography:{{VERSION_IO_MODERNE_RECIPE_REWRITE_CRYPTOGRAPHY}} +``` + + + +## 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. | + + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + + +### Ssl configuration +**io.moderne.cryptography.table.SslConfiguration** + +_Records configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS)._ + +| Column Name | Description | +| ----------- | ----------- | +| Source Path | Path to the source file where the SSL configuration is defined. | +| Protocol | Protocol used by SSL to encrypt communications. e.g.: TLS | +| Enabled Protocols | List of protocols enabled for SSL/TLS communication. e.g.: TLSv1.2|TLSv1.3 | +| Ciphers | List of ciphers used for SSL/TLS encryption. e.g.: TLS_AES_128_GCM_SHA256|TLS_AES_256_GCM_SHA384 | +| SSL Bundle | Spring SSL configuration bundle name | + + + + + +### Security issues +**io.moderne.devcenter.table.SecurityIssues** + +_Security issues in the repository._ + +| Column Name | Description | +| ----------- | ----------- | +| Ordinal | The ordinal position of this issue relative to other issues. | +| Issue name | The name of the security issue. | + + + + + +## Contributors +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/csharp/dependencies/dependencyinsight.md b/docs/recipes/csharp/dependencies/dependencyinsight.md index 4ce15a6680..737761cac8 100644 --- a/docs/recipes/csharp/dependencies/dependencyinsight.md +++ b/docs/recipes/csharp/dependencies/dependencyinsight.md @@ -191,4 +191,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:timtebeek@gmail.com) +[Tim te Beek](mailto:timtebeek@gmail.com), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com) diff --git a/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md b/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md index 870ceaf2c0..262f3912be 100644 --- a/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md +++ b/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -265,4 +265,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md b/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md index 060ccd6b2a..7928358604 100644 --- a/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md +++ b/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), renovate[bot] +[Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), renovate[bot] diff --git a/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md b/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md index 4752399cbd..37a91248eb 100644 --- a/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md +++ b/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), renovate[bot] +[Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), renovate[bot], [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/cucumber/jvm/cucumberjava8tojava.md b/docs/recipes/cucumber/jvm/cucumberjava8tojava.md index 9396acf14e..a4f7a41d92 100644 --- a/docs/recipes/cucumber/jvm/cucumberjava8tojava.md +++ b/docs/recipes/cucumber/jvm/cucumberjava8tojava.md @@ -409,7 +409,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -591,4 +591,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), renovate[bot] +[Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), renovate[bot] diff --git a/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md b/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md index 9d17ba9cf2..9658747228 100644 --- a/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md +++ b/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -260,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/cucumber/jvm/dropsummaryprinter.md b/docs/recipes/cucumber/jvm/dropsummaryprinter.md index 1a7336c6bd..f66046d30c 100644 --- a/docs/recipes/cucumber/jvm/dropsummaryprinter.md +++ b/docs/recipes/cucumber/jvm/dropsummaryprinter.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/cucumber/jvm/regextocucumberexpression.md b/docs/recipes/cucumber/jvm/regextocucumberexpression.md index f0591b7968..ae0d734305 100644 --- a/docs/recipes/cucumber/jvm/regextocucumberexpression.md +++ b/docs/recipes/cucumber/jvm/regextocucumberexpression.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/cucumber/jvm/upgradecucumber2x.md b/docs/recipes/cucumber/jvm/upgradecucumber2x.md index 7d2711ce7c..8edc943bd8 100644 --- a/docs/recipes/cucumber/jvm/upgradecucumber2x.md +++ b/docs/recipes/cucumber/jvm/upgradecucumber2x.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/cucumber/jvm/upgradecucumber5x.md b/docs/recipes/cucumber/jvm/upgradecucumber5x.md index 3429bcbe4f..3a8da4a474 100644 --- a/docs/recipes/cucumber/jvm/upgradecucumber5x.md +++ b/docs/recipes/cucumber/jvm/upgradecucumber5x.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/cucumber/jvm/upgradecucumber7x.md b/docs/recipes/cucumber/jvm/upgradecucumber7x.md index 62b3299907..d40041d8ac 100644 --- a/docs/recipes/cucumber/jvm/upgradecucumber7x.md +++ b/docs/recipes/cucumber/jvm/upgradecucumber7x.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -264,4 +264,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), renovate[bot] +[Tim te Beek](mailto:tim@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), renovate[bot] diff --git a/docs/recipes/devcenter/README.md b/docs/recipes/devcenter/README.md new file mode 100644 index 0000000000..1f87cef14c --- /dev/null +++ b/docs/recipes/devcenter/README.md @@ -0,0 +1,19 @@ +# Devcenter + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [DevCenter](./devcenterstarter.md) +* [OWASP top ten](./securitystarter.md) +* [Original DevCenter security card](./securityoriginalstarter.md) + +## Recipes + +* [Library upgrade](./libraryupgrade.md) +* [Move to JUnit 5](./junitjupiterupgrade.md) +* [Move to a later Java version](./javaversionupgrade.md) +* [Parent POM upgrade](./parentpomupgrade.md) +* [Report as security issues](./reportassecurityissues.md) + + diff --git a/docs/recipes/devcenter/devcenterstarter.md b/docs/recipes/devcenter/devcenterstarter.md new file mode 100644 index 0000000000..37c21cfb7d --- /dev/null +++ b/docs/recipes/devcenter/devcenterstarter.md @@ -0,0 +1,311 @@ +--- +sidebar_label: "DevCenter" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# DevCenter + +**io.moderne.devcenter.DevCenterStarter** + +_This is a default DevCenter configuration that can be used as a starting point for your own DevCenter configuration. It includes a combination of upgrades, migrations, and security fixes. You can customize this configuration to suit your needs. For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/)._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/resources/META-INF/rewrite/devcenter-starter.yml), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +:::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 + + + +* [Library upgrade](../devcenter/libraryupgrade) + * cardName: `Move to Spring Boot 3.5.0` + * groupIdPattern: `org.springframework.boot` + * artifactIdPattern: `*` + * version: `3.5.0` + * upgradeRecipe: `io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5` +* [Move to a later Java version](../devcenter/javaversionupgrade) + * majorVersion: `21` + * upgradeRecipe: `org.openrewrite.java.migrate.UpgradeToJava21` +* [Move to JUnit 5](../devcenter/junitjupiterupgrade) +* [OWASP top ten](../devcenter/securitystarter) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.moderne.devcenter.DevCenterStarter +displayName: DevCenter +description: | + This is a default DevCenter configuration that can be used as a starting point for your own DevCenter configuration. It includes a combination of upgrades, migrations, and security fixes. You can customize this configuration to suit your needs. + For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/). +recipeList: + - io.moderne.devcenter.LibraryUpgrade: + cardName: Move to Spring Boot 3.5.0 + groupIdPattern: org.springframework.boot + artifactIdPattern: "*" + version: 3.5.0 + upgradeRecipe: io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5 + - io.moderne.devcenter.JavaVersionUpgrade: + majorVersion: 21 + upgradeRecipe: org.openrewrite.java.migrate.UpgradeToJava21 + - io.moderne.devcenter.JUnitJupiterUpgrade + - io.moderne.devcenter.SecurityStarter + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `io.moderne.recipe:rewrite-devcenter` 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("io.moderne.devcenter.DevCenterStarter") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` + +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("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") + } + rewrite { + activeRecipe("io.moderne.devcenter.DevCenterStarter") + 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 + + io.moderne.devcenter.DevCenterStarter + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` + +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=io.moderne.recipe:rewrite-devcenter:RELEASE -Drewrite.activeRecipes=io.moderne.devcenter.DevCenterStarter -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 DevCenterStarter +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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 + + + + +### Upgrades and migrations +**io.moderne.devcenter.table.UpgradesAndMigrations** + +_Progress towards organizational objectives on library or language migrations and upgrades._ + +| Column Name | Description | +| ----------- | ----------- | +| Card | The display name of the DevCenter card | +| Ordinal | The ordinal position of this value relative to other values. | +| Value | The display value of the current state of this repository. | +| Minimum version | The minimum matching version that is currently in use. | + + + + + +### 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. | + + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + + +### Security issues +**io.moderne.devcenter.table.SecurityIssues** + +_Security issues in the repository._ + +| Column Name | Description | +| ----------- | ----------- | +| Ordinal | The ordinal position of this issue relative to other issues. | +| Issue name | The name of the security issue. | + + + + + +## Contributors +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), Bryce Tompkins, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jonathan Leitschuh](mailto:Jonathan.Leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Bryce Tompkins](mailto:bryce@moderne.io), [Kun Li](mailto:kun@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com), [Scott Jungling](mailto:scott@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) diff --git a/docs/recipes/devcenter/javaversionupgrade.md b/docs/recipes/devcenter/javaversionupgrade.md new file mode 100644 index 0000000000..7ca277ffc1 --- /dev/null +++ b/docs/recipes/devcenter/javaversionupgrade.md @@ -0,0 +1,203 @@ +--- +sidebar_label: "Move to a later Java version" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Move to a later Java version + +**io.moderne.devcenter.JavaVersionUpgrade** + +_Determine the current state of a repository relative to a desired Java version upgrade._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/java/io/moderne/devcenter/JavaVersionUpgrade.java), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Options + +| Type | Name | Description | Example | +| -- | -- | -- | -- | +| `int` | majorVersion | The major version of Java to upgrade to. | `24` | +| `String` | upgradeRecipe | *Optional*. The recipe to use to upgrade. | `org.openrewrite.java.migrate.UpgradeToJava21` | + + +## 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.JavaVersionUpgradeExample`. +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.JavaVersionUpgradeExample +displayName: Move to a later Java version example +recipeList: + - io.moderne.devcenter.JavaVersionUpgrade: + majorVersion: 24 + upgradeRecipe: org.openrewrite.java.migrate.UpgradeToJava21 +``` + +Now that `com.yourorg.JavaVersionUpgradeExample` has been defined, activate it and take a dependency on `io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}` 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.JavaVersionUpgradeExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` +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.JavaVersionUpgradeExample + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` +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 JavaVersionUpgrade --recipe-option "majorVersion=24" --recipe-option "upgradeRecipe=org.openrewrite.java.migrate.UpgradeToJava21" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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 + + + + +### Upgrades and migrations +**io.moderne.devcenter.table.UpgradesAndMigrations** + +_Progress towards organizational objectives on library or language migrations and upgrades._ + +| Column Name | Description | +| ----------- | ----------- | +| Card | The display name of the DevCenter card | +| Ordinal | The ordinal position of this value relative to other values. | +| Value | The display value of the current state of this repository. | +| Minimum version | The minimum matching version that is currently in use. | + + + + + +### 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), [Bryce Tompkins](mailto:bryce@moderne.io) diff --git a/docs/recipes/devcenter/junitjupiterupgrade.md b/docs/recipes/devcenter/junitjupiterupgrade.md new file mode 100644 index 0000000000..e61e522d76 --- /dev/null +++ b/docs/recipes/devcenter/junitjupiterupgrade.md @@ -0,0 +1,237 @@ +--- +sidebar_label: "Move to JUnit 5" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Move to JUnit 5 + +**io.moderne.devcenter.JUnitJupiterUpgrade** + +_Move to JUnit Jupiter._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/java/io/moderne/devcenter/JUnitJupiterUpgrade.java), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +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` | upgradeRecipe | *Optional*. The recipe to use to upgrade. | `org.openrewrite.java.testing.junit5.JUnit4to5Migration` | + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `io.moderne.recipe:rewrite-devcenter` 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("io.moderne.devcenter.JUnitJupiterUpgrade") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` + +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("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") + } + rewrite { + activeRecipe("io.moderne.devcenter.JUnitJupiterUpgrade") + 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 + + io.moderne.devcenter.JUnitJupiterUpgrade + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` + +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=io.moderne.recipe:rewrite-devcenter:RELEASE -Drewrite.activeRecipes=io.moderne.devcenter.JUnitJupiterUpgrade -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 JUnitJupiterUpgrade +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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 + + + + +### Upgrades and migrations +**io.moderne.devcenter.table.UpgradesAndMigrations** + +_Progress towards organizational objectives on library or language migrations and upgrades._ + +| Column Name | Description | +| ----------- | ----------- | +| Card | The display name of the DevCenter card | +| Ordinal | The ordinal position of this value relative to other values. | +| Value | The display value of the current state of this repository. | +| Minimum version | The minimum matching version that is currently in use. | + + + + + +### 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), [Bryce Tompkins](mailto:bryce@moderne.io) diff --git a/docs/recipes/devcenter/libraryupgrade.md b/docs/recipes/devcenter/libraryupgrade.md new file mode 100644 index 0000000000..e3d4b21f13 --- /dev/null +++ b/docs/recipes/devcenter/libraryupgrade.md @@ -0,0 +1,209 @@ +--- +sidebar_label: "Library upgrade" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Library upgrade + +**io.moderne.devcenter.LibraryUpgrade** + +_Determine the current state of a repository relative to a desired library upgrade._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/java/io/moderne/devcenter/LibraryUpgrade.java), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +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` | cardName | The display name of the DevCenter card | `Move to Spring Boot 3.5.0` | +| `String` | groupIdPattern | Group glob pattern used to match dependencies. | `com.fasterxml.jackson.module` | +| `String` | artifactIdPattern | Artifact glob pattern used to match dependencies. | `jackson-module-*` | +| `String` | version | The target version of the upgrade. Specify the version out to the desired patch version. | `3.4.1` | +| `String` | upgradeRecipe | *Optional*. The recipe to use to upgrade. | `io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5` | + + +## 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.LibraryUpgradeExample`. +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.LibraryUpgradeExample +displayName: Library upgrade example +recipeList: + - io.moderne.devcenter.LibraryUpgrade: + cardName: Move to Spring Boot 3.5.0 + groupIdPattern: com.fasterxml.jackson.module + artifactIdPattern: jackson-module-* + version: 3.4.1 + upgradeRecipe: io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5 +``` + +Now that `com.yourorg.LibraryUpgradeExample` has been defined, activate it and take a dependency on `io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}` 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.LibraryUpgradeExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` +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.LibraryUpgradeExample + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` +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 LibraryUpgrade --recipe-option "cardName=Move to Spring Boot 3.5.0" --recipe-option "groupIdPattern=com.fasterxml.jackson.module" --recipe-option "artifactIdPattern=jackson-module-*" --recipe-option "version=3.4.1" --recipe-option "upgradeRecipe=io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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 + + + + +### Upgrades and migrations +**io.moderne.devcenter.table.UpgradesAndMigrations** + +_Progress towards organizational objectives on library or language migrations and upgrades._ + +| Column Name | Description | +| ----------- | ----------- | +| Card | The display name of the DevCenter card | +| Ordinal | The ordinal position of this value relative to other values. | +| Value | The display value of the current state of this repository. | +| Minimum version | The minimum matching version that is currently in use. | + + + + + +### 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:tim@moderne.io), [Bryce Tompkins](mailto:bryce@moderne.io) diff --git a/docs/recipes/devcenter/parentpomupgrade.md b/docs/recipes/devcenter/parentpomupgrade.md new file mode 100644 index 0000000000..2c5b5777c5 --- /dev/null +++ b/docs/recipes/devcenter/parentpomupgrade.md @@ -0,0 +1,209 @@ +--- +sidebar_label: "Parent POM upgrade" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Parent POM upgrade + +**io.moderne.devcenter.ParentPomUpgrade** + +_Determine the current state of a repository relative to a desired parent POM upgrade._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/java/io/moderne/devcenter/ParentPomUpgrade.java), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +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` | cardName | The display name of the DevCenter card | `Upgrade internal Parent POM` | +| `String` | groupIdPattern | Group identifier used to match POM parents. | `org.springframework.boot` | +| `String` | artifactIdPattern | Artifact identifier used to match POM parents. | `spring-boot-parent` | +| `String` | version | The target version of the upgrade. Specify the version out to the desired patch version. | `3.4.5` | +| `String` | upgradeRecipe | *Optional*. The recipe to use to upgrade. | `com.acme.UpgradeInternalParentPom` | + + +## 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.ParentPomUpgradeExample`. +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.ParentPomUpgradeExample +displayName: Parent POM upgrade example +recipeList: + - io.moderne.devcenter.ParentPomUpgrade: + cardName: Upgrade internal Parent POM + groupIdPattern: org.springframework.boot + artifactIdPattern: spring-boot-parent + version: 3.4.5 + upgradeRecipe: com.acme.UpgradeInternalParentPom +``` + +Now that `com.yourorg.ParentPomUpgradeExample` has been defined, activate it and take a dependency on `io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}` 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.ParentPomUpgradeExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` +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.ParentPomUpgradeExample + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` +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 ParentPomUpgrade --recipe-option "cardName=Upgrade internal Parent POM" --recipe-option "groupIdPattern=org.springframework.boot" --recipe-option "artifactIdPattern=spring-boot-parent" --recipe-option "version=3.4.5" --recipe-option "upgradeRecipe=com.acme.UpgradeInternalParentPom" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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 + + + + +### Upgrades and migrations +**io.moderne.devcenter.table.UpgradesAndMigrations** + +_Progress towards organizational objectives on library or language migrations and upgrades._ + +| Column Name | Description | +| ----------- | ----------- | +| Card | The display name of the DevCenter card | +| Ordinal | The ordinal position of this value relative to other values. | +| Value | The display value of the current state of this repository. | +| Minimum version | The minimum matching version that is currently in use. | + + + + + +### 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 +[Bryce Tompkins](mailto:bryce@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/devcenter/reportassecurityissues.md b/docs/recipes/devcenter/reportassecurityissues.md new file mode 100644 index 0000000000..40cb8bc7bc --- /dev/null +++ b/docs/recipes/devcenter/reportassecurityissues.md @@ -0,0 +1,235 @@ +--- +sidebar_label: "Report as security issues" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Report as security issues + +**io.moderne.devcenter.ReportAsSecurityIssues** + +_Look for results produced by recipes in the same recipe list that this recipe is part of, and report them as security issues in DevCenter._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/java/io/moderne/devcenter/ReportAsSecurityIssues.java), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +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` | fixRecipe | *Optional*. The recipe to use to fix these issues. | `org.openrewrite.java.security.OwaspTopTen` | + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `io.moderne.recipe:rewrite-devcenter` 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("io.moderne.devcenter.ReportAsSecurityIssues") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` + +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("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") + } + rewrite { + activeRecipe("io.moderne.devcenter.ReportAsSecurityIssues") + 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 + + io.moderne.devcenter.ReportAsSecurityIssues + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` + +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=io.moderne.recipe:rewrite-devcenter:RELEASE -Drewrite.activeRecipes=io.moderne.devcenter.ReportAsSecurityIssues -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 ReportAsSecurityIssues +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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 + + + + +### Security issues +**io.moderne.devcenter.table.SecurityIssues** + +_Security issues in the repository._ + +| Column Name | Description | +| ----------- | ----------- | +| Ordinal | The ordinal position of this issue relative to other issues. | +| Issue name | The name of the security issue. | + + + + + +### 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) diff --git a/docs/recipes/devcenter/securityoriginalstarter.md b/docs/recipes/devcenter/securityoriginalstarter.md new file mode 100644 index 0000000000..0690feb508 --- /dev/null +++ b/docs/recipes/devcenter/securityoriginalstarter.md @@ -0,0 +1,335 @@ +--- +sidebar_label: "Original DevCenter security card" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Original DevCenter security card + +**io.moderne.devcenter.SecurityOriginalStarter** + +_This is the same set of recipes as the original DevCenter security card._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/resources/META-INF/rewrite/original-security.yml), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +:::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 + + + +* [Find secrets](../java/security/secrets/findsecrets) +* [Remediate OWASP A01:2021 Broken access control](../java/security/owaspa01) +* [Remediate OWASP A02:2021 Cryptographic failures](../java/security/owaspa02) +* [Remediate OWASP A03:2021 Injection](../java/security/owaspa03) +* [Remediate OWASP A06:2021 Vulnerable and outdated components](../java/security/owaspa06) +* [Remediate OWASP A08:2021 Software and data integrity failures](../java/security/owaspa08) +* [Regular Expression Denial of Service (ReDOS)](../java/security/regularexpressiondenialofservice) +* [Zip slip](../java/security/zipslip) +* [Use secure temporary file creation](../java/security/securetempfilecreation) +* [Report as security issues](../devcenter/reportassecurityissues) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.moderne.devcenter.SecurityOriginalStarter +displayName: Original DevCenter security card +description: | + This is the same set of recipes as the original DevCenter security card. +recipeList: + - org.openrewrite.java.security.secrets.FindSecrets + - org.openrewrite.java.security.OwaspA01 + - org.openrewrite.java.security.OwaspA02 + - org.openrewrite.java.security.OwaspA03 + - org.openrewrite.java.security.OwaspA06 + - org.openrewrite.java.security.OwaspA08 + - org.openrewrite.java.security.RegularExpressionDenialOfService + - org.openrewrite.java.security.ZipSlip + - org.openrewrite.java.security.SecureTempFileCreation + - io.moderne.devcenter.ReportAsSecurityIssues + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `io.moderne.recipe:rewrite-devcenter` 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("io.moderne.devcenter.SecurityOriginalStarter") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` + +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("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") + } + rewrite { + activeRecipe("io.moderne.devcenter.SecurityOriginalStarter") + 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 + + io.moderne.devcenter.SecurityOriginalStarter + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` + +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=io.moderne.recipe:rewrite-devcenter:RELEASE -Drewrite.activeRecipes=io.moderne.devcenter.SecurityOriginalStarter -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 SecurityOriginalStarter +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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. | + + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + + +### 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. | + + + + + +### Vulnerability report +**org.openrewrite.java.dependencies.table.VulnerabilityReport** + +_A vulnerability report that includes detailed information about the affected artifact and the corresponding CVEs._ + +| Column Name | Description | +| ----------- | ----------- | +| Project | The name of the project / module taking the dependency. Relevant in repositories with multiple modules. | +| CVE | The CVE number. | +| Group | The first part of a dependency coordinate `com.google.guava:guava:VERSION`. | +| Artifact | The second part of a dependency coordinate `com.google.guava:guava:VERSION`. | +| Version | The resolved version. | +| Fixed in version | The minimum version that is no longer vulnerable. | +| Last affected version | The last version which was vulnerable. | +| Version within delta | The difference between the version in use and the fixed version is within the configured maximum version delta. The recipe attempted to upgrade the version in use to a fixed version. | +| Summary | The summary of the CVE. | +| Base score | The calculated base score. | +| Depth | Zero for direct dependencies. | +| CWEs | Common Weakness Enumeration (CWE) identifiers; semicolon separated. | + + + + + +### Security issues +**io.moderne.devcenter.table.SecurityIssues** + +_Security issues in the repository._ + +| Column Name | Description | +| ----------- | ----------- | +| Ordinal | The ordinal position of this issue relative to other issues. | +| Issue name | The name of the security issue. | + + + + + +## Contributors +[Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), Bryce Tompkins, [Jonathan Leitschuh](mailto:Jonathan.Leitschuh@gmail.com), [Kun Li](mailto:kun@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com), [Scott Jungling](mailto:scott@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) diff --git a/docs/recipes/devcenter/securitystarter.md b/docs/recipes/devcenter/securitystarter.md new file mode 100644 index 0000000000..ce8731b81f --- /dev/null +++ b/docs/recipes/devcenter/securitystarter.md @@ -0,0 +1,291 @@ +--- +sidebar_label: "OWASP top ten" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# OWASP top ten + +**io.moderne.devcenter.SecurityStarter** + +_This recipe is a starter card to reveal common OWASP Top 10 issues in your source code. You can customize this configuration to suit your needs. For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/)._ + +## Recipe source + +[GitHub](https://github.com/moderneinc/rewrite-devcenter/blob/main/src/main/resources/META-INF/rewrite/devcenter-starter.yml), +[Issue Tracker](https://github.com/moderneinc/rewrite-devcenter/issues), +[Maven Central](https://central.sonatype.com/artifact/io.moderne.recipe/rewrite-devcenter/) + +:::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 + + + +* [Remediate OWASP A01:2021 Broken access control](../java/security/owaspa01) +* [Remediate OWASP A02:2021 Cryptographic failures](../java/security/owaspa02) +* [Remediate OWASP A03:2021 Injection](../java/security/owaspa03) +* [Remediate OWASP A08:2021 Software and data integrity failures](../java/security/owaspa08) +* [Regular Expression Denial of Service (ReDOS)](../java/security/regularexpressiondenialofservice) +* [Zip slip](../java/security/zipslip) +* [Use secure temporary file creation](../java/security/securetempfilecreation) +* [Report as security issues](../devcenter/reportassecurityissues) + * fixRecipe: `org.openrewrite.java.security.OwaspTopTen` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.moderne.devcenter.SecurityStarter +displayName: OWASP top ten +description: | + This recipe is a starter card to reveal common OWASP Top 10 issues in your source code. You can customize this configuration to suit your needs. + For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/). +recipeList: + - org.openrewrite.java.security.OwaspA01 + - org.openrewrite.java.security.OwaspA02 + - org.openrewrite.java.security.OwaspA03 + - org.openrewrite.java.security.OwaspA08 + - org.openrewrite.java.security.RegularExpressionDenialOfService + - org.openrewrite.java.security.ZipSlip + - org.openrewrite.java.security.SecureTempFileCreation + - io.moderne.devcenter.ReportAsSecurityIssues: + fixRecipe: org.openrewrite.java.security.OwaspTopTen + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `io.moderne.recipe:rewrite-devcenter` 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("io.moderne.devcenter.SecurityStarter") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") +} +``` + +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("io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}}") + } + rewrite { + activeRecipe("io.moderne.devcenter.SecurityStarter") + 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 + + io.moderne.devcenter.SecurityStarter + + + + + io.moderne.recipe + rewrite-devcenter + {{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} + + + + + + +``` + +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=io.moderne.recipe:rewrite-devcenter:RELEASE -Drewrite.activeRecipes=io.moderne.devcenter.SecurityStarter -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 SecurityStarter +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-devcenter:{{VERSION_IO_MODERNE_RECIPE_REWRITE_DEVCENTER}} +``` + + + +## 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 + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + + +### 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. | + + + + + +### Security issues +**io.moderne.devcenter.table.SecurityIssues** + +_Security issues in the repository._ + +| Column Name | Description | +| ----------- | ----------- | +| Ordinal | The ordinal position of this issue relative to other issues. | +| Issue name | The name of the security issue. | + + + + + +## Contributors +[Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), Bryce Tompkins, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jonathan Leitschuh](mailto:Jonathan.Leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Kun Li](mailto:kun@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com), [Scott Jungling](mailto:scott@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com) diff --git a/docs/recipes/diffblue/README.md b/docs/recipes/diffblue/README.md deleted file mode 100644 index 0ed4ca2058..0000000000 --- a/docs/recipes/diffblue/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Diffblue - -## Recipes - -* [Generate unit tests](./generateunittests.md) - - diff --git a/docs/recipes/docker/search/finddockerimageuses.md b/docs/recipes/docker/search/finddockerimageuses.md index 879196cc93..96ed79f82f 100644 --- a/docs/recipes/docker/search/finddockerimageuses.md +++ b/docs/recipes/docker/search/finddockerimageuses.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -227,4 +227,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/featureflags/ff4j/removecheck.md b/docs/recipes/featureflags/ff4j/removecheck.md index 39a199fbb4..ab4d202935 100644 --- a/docs/recipes/featureflags/ff4j/removecheck.md +++ b/docs/recipes/featureflags/ff4j/removecheck.md @@ -135,7 +135,7 @@ Now that `com.yourorg.RemoveCheckExample` has been defined, activate it and take ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/ff4j/search/findfeatureflag.md b/docs/recipes/featureflags/ff4j/search/findfeatureflag.md index 116ebe4347..4e521f14c2 100644 --- a/docs/recipes/featureflags/ff4j/search/findfeatureflag.md +++ b/docs/recipes/featureflags/ff4j/search/findfeatureflag.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/launchdarkly/changevariationdefault.md b/docs/recipes/featureflags/launchdarkly/changevariationdefault.md index 120401681d..8e458fa71a 100644 --- a/docs/recipes/featureflags/launchdarkly/changevariationdefault.md +++ b/docs/recipes/featureflags/launchdarkly/changevariationdefault.md @@ -105,7 +105,7 @@ Now that `com.yourorg.ChangeVariationDefaultExample` has been defined, activate ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md b/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md index f0fcc97ac0..1420ca1b0b 100644 --- a/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md +++ b/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/launchdarkly/removeboolvariation.md b/docs/recipes/featureflags/launchdarkly/removeboolvariation.md index 7bd58b46c7..7879223ea3 100644 --- a/docs/recipes/featureflags/launchdarkly/removeboolvariation.md +++ b/docs/recipes/featureflags/launchdarkly/removeboolvariation.md @@ -153,7 +153,7 @@ Now that `com.yourorg.RemoveBoolVariationExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/launchdarkly/removestringvariation.md b/docs/recipes/featureflags/launchdarkly/removestringvariation.md index bfe87c644d..e9f669c26b 100644 --- a/docs/recipes/featureflags/launchdarkly/removestringvariation.md +++ b/docs/recipes/featureflags/launchdarkly/removestringvariation.md @@ -139,7 +139,7 @@ Now that `com.yourorg.RemoveStringVariationExample` has been defined, activate i ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md b/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md index 8ef01c7943..0748811bea 100644 --- a/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md +++ b/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md index caab55b71a..3ac351fa9d 100644 --- a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md +++ b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md @@ -157,7 +157,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md index b07fdbe00a..095a96b3ae 100644 --- a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md +++ b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md @@ -157,7 +157,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md b/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md index 73685c5afc..0caa2971cf 100644 --- a/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md +++ b/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md @@ -135,7 +135,7 @@ Now that `com.yourorg.RemoveGetBooleanValueExample` has been defined, activate i ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/openfeature/search/findfeatureflag.md b/docs/recipes/featureflags/openfeature/search/findfeatureflag.md index bc825149e0..1695e0ac21 100644 --- a/docs/recipes/featureflags/openfeature/search/findfeatureflag.md +++ b/docs/recipes/featureflags/openfeature/search/findfeatureflag.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/removebooleanflag.md b/docs/recipes/featureflags/removebooleanflag.md index 5c0483a9b2..16e158283f 100644 --- a/docs/recipes/featureflags/removebooleanflag.md +++ b/docs/recipes/featureflags/removebooleanflag.md @@ -137,7 +137,7 @@ Now that `com.yourorg.RemoveBooleanFlagExample` has been defined, activate it an ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/removestringflag.md b/docs/recipes/featureflags/removestringflag.md index fa795e27bf..6e5a1ce3b7 100644 --- a/docs/recipes/featureflags/removestringflag.md +++ b/docs/recipes/featureflags/removestringflag.md @@ -110,7 +110,7 @@ Now that `com.yourorg.RemoveStringFlagExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/search/findfeatureflag.md b/docs/recipes/featureflags/search/findfeatureflag.md index 15d210dc69..9e3f20fe7d 100644 --- a/docs/recipes/featureflags/search/findfeatureflag.md +++ b/docs/recipes/featureflags/search/findfeatureflag.md @@ -111,7 +111,7 @@ Now that `com.yourorg.FindFeatureFlagExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/unleash/removeisenabled.md b/docs/recipes/featureflags/unleash/removeisenabled.md index a0f76f17ee..2a36719510 100644 --- a/docs/recipes/featureflags/unleash/removeisenabled.md +++ b/docs/recipes/featureflags/unleash/removeisenabled.md @@ -135,7 +135,7 @@ Now that `com.yourorg.RemoveIsEnabledExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/featureflags/unleash/search/findfeatureflag.md b/docs/recipes/featureflags/unleash/search/findfeatureflag.md index 94693cc2a7..b1cd7cbfaf 100644 --- a/docs/recipes/featureflags/unleash/search/findfeatureflag.md +++ b/docs/recipes/featureflags/unleash/search/findfeatureflag.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/addcrontrigger.md b/docs/recipes/github/addcrontrigger.md index 9032bd7d51..d9c6fdc8bc 100644 --- a/docs/recipes/github/addcrontrigger.md +++ b/docs/recipes/github/addcrontrigger.md @@ -50,7 +50,7 @@ Now that `com.yourorg.AddCronTriggerExample` has been defined, activate it and t ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/addmanualtrigger.md b/docs/recipes/github/addmanualtrigger.md index b61f40ca92..52d857de4d 100644 --- a/docs/recipes/github/addmanualtrigger.md +++ b/docs/recipes/github/addmanualtrigger.md @@ -151,7 +151,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/autocancelinprogressworkflow.md b/docs/recipes/github/autocancelinprogressworkflow.md index 28496ca229..d49fc086c5 100644 --- a/docs/recipes/github/autocancelinprogressworkflow.md +++ b/docs/recipes/github/autocancelinprogressworkflow.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/changeaction.md b/docs/recipes/github/changeaction.md index 4da2f268ef..dabe1d460f 100644 --- a/docs/recipes/github/changeaction.md +++ b/docs/recipes/github/changeaction.md @@ -104,7 +104,7 @@ Now that `com.yourorg.ChangeActionExample` has been defined, activate it and tak ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/changeactionversion.md b/docs/recipes/github/changeactionversion.md index 36a245a761..99acd3cbfd 100644 --- a/docs/recipes/github/changeactionversion.md +++ b/docs/recipes/github/changeactionversion.md @@ -97,7 +97,7 @@ Now that `com.yourorg.ChangeActionVersionExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/changedependabotscheduleinterval.md b/docs/recipes/github/changedependabotscheduleinterval.md index cd75c9fece..e37e3a54e3 100644 --- a/docs/recipes/github/changedependabotscheduleinterval.md +++ b/docs/recipes/github/changedependabotscheduleinterval.md @@ -119,7 +119,7 @@ Now that `com.yourorg.ChangeDependabotScheduleIntervalExample` has been defined, ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md b/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md index 45bcdd886c..b638cf409a 100644 --- a/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md +++ b/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md b/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md index 5c491e84a0..651bdd86aa 100644 --- a/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md +++ b/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/findgithubactionsecretreferences.md b/docs/recipes/github/findgithubactionsecretreferences.md index b33a3fc1bf..57da78b841 100644 --- a/docs/recipes/github/findgithubactionsecretreferences.md +++ b/docs/recipes/github/findgithubactionsecretreferences.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/findmissingtimeout.md b/docs/recipes/github/findmissingtimeout.md index 3a0e18eb6c..b78bf7267b 100644 --- a/docs/recipes/github/findmissingtimeout.md +++ b/docs/recipes/github/findmissingtimeout.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md b/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md index d13cee3eee..f984075ff3 100644 --- a/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md +++ b/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/gradle/renamewrappervalidationaction.md b/docs/recipes/github/gradle/renamewrappervalidationaction.md index 947712ddd0..2691cffa87 100644 --- a/docs/recipes/github/gradle/renamewrappervalidationaction.md +++ b/docs/recipes/github/gradle/renamewrappervalidationaction.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/prefersecretsinheritworkflow.md b/docs/recipes/github/prefersecretsinheritworkflow.md index 808d611f4e..acd06b790d 100644 --- a/docs/recipes/github/prefersecretsinheritworkflow.md +++ b/docs/recipes/github/prefersecretsinheritworkflow.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/prefertemurindistributions.md b/docs/recipes/github/prefertemurindistributions.md index a23f95b2c3..d99b142623 100644 --- a/docs/recipes/github/prefertemurindistributions.md +++ b/docs/recipes/github/prefertemurindistributions.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/removeallcrontriggers.md b/docs/recipes/github/removeallcrontriggers.md index 273ee7c8c8..b42a2ab9a8 100644 --- a/docs/recipes/github/removeallcrontriggers.md +++ b/docs/recipes/github/removeallcrontriggers.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/replacerunners.md b/docs/recipes/github/replacerunners.md index 3dc340beb5..f0efbc89da 100644 --- a/docs/recipes/github/replacerunners.md +++ b/docs/recipes/github/replacerunners.md @@ -95,7 +95,7 @@ Now that `com.yourorg.ReplaceRunnersExample` has been defined, activate it and t ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/setupjavaadoptopenj9tosemeru.md b/docs/recipes/github/setupjavaadoptopenj9tosemeru.md index c1cb7df638..c809fad631 100644 --- a/docs/recipes/github/setupjavaadoptopenj9tosemeru.md +++ b/docs/recipes/github/setupjavaadoptopenj9tosemeru.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/setupjavaadoptopenjdktotemurin.md b/docs/recipes/github/setupjavaadoptopenjdktotemurin.md index cee0e4e61a..7319a2cfa9 100644 --- a/docs/recipes/github/setupjavaadoptopenjdktotemurin.md +++ b/docs/recipes/github/setupjavaadoptopenjdktotemurin.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/setupjavacaching.md b/docs/recipes/github/setupjavacaching.md index 8a0f5caa6f..6f7c337d95 100644 --- a/docs/recipes/github/setupjavacaching.md +++ b/docs/recipes/github/setupjavacaching.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/setupjavaupgradejavaversion.md b/docs/recipes/github/setupjavaupgradejavaversion.md index a5f975ceec..4db6070c35 100644 --- a/docs/recipes/github/setupjavaupgradejavaversion.md +++ b/docs/recipes/github/setupjavaupgradejavaversion.md @@ -112,7 +112,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/github/upgradeslacknotificationversion2.md b/docs/recipes/github/upgradeslacknotificationversion2.md index a160a189ad..e988eac633 100644 --- a/docs/recipes/github/upgradeslacknotificationversion2.md +++ b/docs/recipes/github/upgradeslacknotificationversion2.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gitlab/README.md b/docs/recipes/gitlab/README.md index aa0bd648aa..0c5129c38c 100644 --- a/docs/recipes/gitlab/README.md +++ b/docs/recipes/gitlab/README.md @@ -11,6 +11,7 @@ _Recipes to perform [GitLab](https://gitlab.com/) migration tasks._ * [Add GitLab component](./addcomponent.md) * [Add GitLab stages](./addstages.md) * [Add GitLab template](./addtemplate.md) +* [Change GitLab Component](./changecomponent.md) * [Change GitLab template](./changetemplate.md) * [Remove GitLab template](./removetemplate.md) diff --git a/docs/recipes/gitlab/addcomponent.md b/docs/recipes/gitlab/addcomponent.md index ede02a1673..ca8814057f 100644 --- a/docs/recipes/gitlab/addcomponent.md +++ b/docs/recipes/gitlab/addcomponent.md @@ -26,6 +26,7 @@ This recipe is available under the [Moderne Source Available License](https://do | `String` | newComponent | Name of the component to use add. | `$CI_SERVER_FQDN/components/opentofu/full-pipeline` | | `String` | version | Version of the component to add. | `0.10.0` | | `List` | inputs | *Optional*. The set of inputs to provide | `opentofu_version: 1.6.1` | +| `InsertMode` | insertMode | *Optional*. Choose an insertion point when multiple mappings exist. Default is `Last`. Valid options: `Before`, `After`, `Last` | | ## Definition @@ -38,6 +39,7 @@ This recipe is available under the [Moderne Source Available License](https://do * acceptTheirs: `false` * objectIdentifyingProperty: `component` * filePattern: `.gitlab-ci.yml` + * insertMode: `Before` @@ -54,6 +56,8 @@ description: | inputs: [] +insertMode: Before + recipeList: - org.openrewrite.yaml.MergeYaml: key: $ @@ -63,6 +67,7 @@ recipeList: acceptTheirs: false objectIdentifyingProperty: component filePattern: .gitlab-ci.yml + insertMode: Before ``` @@ -75,6 +80,7 @@ recipeList: |newComponent|`$CI_SERVER_FQDN/components/opentofu/full-pipeline`| |version|`0.10.0`| |inputs|`List.of("version: 0.10.0", "opentofu_version: 1.6.1")`| +|insertMode|`null`| @@ -138,7 +144,7 @@ Now that `com.yourorg.AddComponentExample` has been defined, activate it and tak ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -272,4 +278,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gitlab/addstages.md b/docs/recipes/gitlab/addstages.md index 10d8f80e8b..7a44e518b8 100644 --- a/docs/recipes/gitlab/addstages.md +++ b/docs/recipes/gitlab/addstages.md @@ -25,6 +25,7 @@ This recipe is available under the [Moderne Source Available License](https://do | -- | -- | -- | -- | | `List` | stages | Stages to add. | `build,test,deploy` | | `Boolean` | acceptTheirs | *Optional*. When the set of stages would conflict, prefer the original value. | | +| `InsertMode` | insertMode | *Optional*. Choose an insertion point when multiple mappings exist. Default is `Last`. Valid options: `Before`, `After`, `Last` | | ## Definition @@ -36,6 +37,7 @@ This recipe is available under the [Moderne Source Available License](https://do * yaml: `stages: - ` * objectIdentifyingProperty: `stages` * filePattern: `.gitlab-ci.yml` + * insertMode: `Before` @@ -51,6 +53,8 @@ description: | stages: [] +insertMode: Before + recipeList: - org.openrewrite.yaml.MergeYaml: key: $ @@ -58,6 +62,7 @@ recipeList: - objectIdentifyingProperty: stages filePattern: .gitlab-ci.yml + insertMode: Before ``` @@ -69,6 +74,7 @@ recipeList: | -- | -- | |stages|`List.of("build", "test", "deploy")`| |acceptTheirs|`false`| +|insertMode|`null`| @@ -104,7 +110,7 @@ Now that `com.yourorg.AddStagesExample` has been defined, activate it and take a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -238,4 +244,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gitlab/addtemplate.md b/docs/recipes/gitlab/addtemplate.md index 8c8e5d5df6..2f56d9daea 100644 --- a/docs/recipes/gitlab/addtemplate.md +++ b/docs/recipes/gitlab/addtemplate.md @@ -24,6 +24,7 @@ This recipe is available under the [Moderne Source Available License](https://do | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | newTemplate | Name of the template to use instead. | `OpenTofu/Base.gitlab-ci.yml` | +| `InsertMode` | insertMode | *Optional*. Choose an insertion point when multiple mappings exist. Default is `Last`. Valid options: `Before`, `After`, `Last` | | ## Definition @@ -36,6 +37,7 @@ This recipe is available under the [Moderne Source Available License](https://do * acceptTheirs: `false` * objectIdentifyingProperty: `template` * filePattern: `.gitlab-ci.yml` + * insertMode: `Before` @@ -49,6 +51,8 @@ displayName: Add GitLab template description: | Add a GitLab template to an existing list, or add a new list where none was present. +insertMode: Before + recipeList: - org.openrewrite.yaml.MergeYaml: key: $ @@ -57,6 +61,7 @@ recipeList: acceptTheirs: false objectIdentifyingProperty: template filePattern: .gitlab-ci.yml + insertMode: Before ``` @@ -67,6 +72,7 @@ recipeList: | Parameter | Value | | -- | -- | |newTemplate|`Jobs/SAST.gitlab-ci.yml`| +|insertMode|`null`| @@ -122,7 +128,7 @@ Now that `com.yourorg.AddTemplateExample` has been defined, activate it and take ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -256,4 +262,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gitlab/changecomponent.md b/docs/recipes/gitlab/changecomponent.md new file mode 100644 index 0000000000..650d26754b --- /dev/null +++ b/docs/recipes/gitlab/changecomponent.md @@ -0,0 +1,265 @@ +--- +sidebar_label: "Change GitLab Component" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Change GitLab Component + +**org.openrewrite.gitlab.ChangeComponent** + +_Change a GitLab Component in use._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/ChangeComponent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) + +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` | oldComponent | The name of the component to match. | `$CI_SERVER_FQDN/components/opentofu/full-pipeline` | +| `String` | oldComponentVersion | Version of the existing component to use match. | `0.10.0` | +| `String` | newComponent | *Optional*. Name of the new component to use instead. | `$CI_SERVER_FQDN/components/opentofu/full-pipeline` | +| `String` | newComponentVersion | Version of the new component to use instead. | `0.10.0` | + + +## Definition + + + +* [Change value](../yaml/changevalue) + * keyPath: `$.include[?(@.component =~ 'null@null')].component` + * value: `null@null` + * filePattern: `.gitlab-ci.yml` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.gitlab.ChangeComponent +displayName: Change GitLab Component +description: | + Change a GitLab Component in use. + + + + +recipeList: + - org.openrewrite.yaml.ChangeValue: + keyPath: $.include[?(@.component =~ 'null@null')].component + value: null@null + filePattern: .gitlab-ci.yml + +``` + + +## Example + +###### Parameters +| Parameter | Value | +| -- | -- | +|oldComponent|`some-component`| +|oldComponentVersion|`0.10.0`| +|newComponent|`other-component`| +|newComponentVersion|`1.0.0`| + + + + + + +###### Before +```yaml +include: + - component: some-component@0.10.0 +``` + +###### After +```yaml +include: + - component: other-component@1.0.0 +``` + + + + +```diff +@@ -2,1 +2,1 @@ +include: +- - component: some-component@0.10.0 ++ - component: other-component@1.0.0 + +``` + + + + +## 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.ChangeComponentExample`. +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.ChangeComponentExample +displayName: Change GitLab Component example +recipeList: + - org.openrewrite.gitlab.ChangeComponent: + oldComponent: $CI_SERVER_FQDN/components/opentofu/full-pipeline + oldComponentVersion: 0.10.0 + newComponent: $CI_SERVER_FQDN/components/opentofu/full-pipeline + newComponentVersion: 0.10.0 +``` + +Now that `com.yourorg.ChangeComponentExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-gitlab:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITLAB}}` 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.ChangeComponentExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-gitlab:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITLAB}}") +} +``` +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.ChangeComponentExample + + + + + org.openrewrite.recipe + rewrite-gitlab + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITLAB}} + + + + + + +``` +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 ChangeComponent --recipe-option "oldComponent=$CI_SERVER_FQDN/components/opentofu/full-pipeline" --recipe-option "oldComponentVersion=0.10.0" --recipe-option "newComponent=$CI_SERVER_FQDN/components/opentofu/full-pipeline" --recipe-option "newComponentVersion=0.10.0" +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-gitlab:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_GITLAB}} +``` + + + +## 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 +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gitlab/changetemplate.md b/docs/recipes/gitlab/changetemplate.md index 93becf7d92..ea20e42d93 100644 --- a/docs/recipes/gitlab/changetemplate.md +++ b/docs/recipes/gitlab/changetemplate.md @@ -118,7 +118,7 @@ Now that `com.yourorg.ChangeTemplateExample` has been defined, activate it and t ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -252,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gitlab/removetemplate.md b/docs/recipes/gitlab/removetemplate.md index bafc8bf5fa..b12afaf99e 100644 --- a/docs/recipes/gitlab/removetemplate.md +++ b/docs/recipes/gitlab/removetemplate.md @@ -85,7 +85,7 @@ Now that `com.yourorg.RemoveTemplateExample` has been defined, activate it and t ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -219,4 +219,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gitlab/search/findcomponent.md b/docs/recipes/gitlab/search/findcomponent.md index 316f5d373c..9bb52908cc 100644 --- a/docs/recipes/gitlab/search/findcomponent.md +++ b/docs/recipes/gitlab/search/findcomponent.md @@ -118,7 +118,7 @@ Now that `com.yourorg.FindComponentExample` has been defined, activate it and ta ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -252,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gitlab/search/findtemplate.md b/docs/recipes/gitlab/search/findtemplate.md index 3a46e8fc1f..2bca92382c 100644 --- a/docs/recipes/gitlab/search/findtemplate.md +++ b/docs/recipes/gitlab/search/findtemplate.md @@ -112,7 +112,7 @@ Now that `com.yourorg.FindTemplateExample` has been defined, activate it and tak ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -246,4 +246,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Steven Tompkins](mailto:steven.tompkins.jr@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/gradle/README.md b/docs/recipes/gradle/README.md index 165261e35b..29b12d1e12 100644 --- a/docs/recipes/gradle/README.md +++ b/docs/recipes/gradle/README.md @@ -19,6 +19,7 @@ _Recipes that include further recipes, often including the individual recipes be ## Recipes * [Add Gradle dependency](./adddependency.md) +* [Add Gradle platform dependency](./addplatformdependency.md) * [Add Gradle property](./addproperty.md) * [Add JUnit Platform Launcher](./addjunitplatformlauncher.md) * [Change Extra Property](./changeextraproperty.md) diff --git a/docs/recipes/gradle/adddependency.md b/docs/recipes/gradle/adddependency.md index 51cc9837c8..1829e7e223 100644 --- a/docs/recipes/gradle/adddependency.md +++ b/docs/recipes/gradle/adddependency.md @@ -65,7 +65,7 @@ Now that `com.yourorg.AddDependencyExample` has been defined, activate it in you 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/addjunitplatformlauncher.md b/docs/recipes/gradle/addjunitplatformlauncher.md index fd68805dc2..a43e877132 100644 --- a/docs/recipes/gradle/addjunitplatformlauncher.md +++ b/docs/recipes/gradle/addjunitplatformlauncher.md @@ -127,7 +127,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/addplatformdependency.md b/docs/recipes/gradle/addplatformdependency.md new file mode 100644 index 0000000000..6f4b7d8034 --- /dev/null +++ b/docs/recipes/gradle/addplatformdependency.md @@ -0,0 +1,175 @@ +--- +sidebar_label: "Add Gradle platform dependency" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add Gradle platform dependency + +**org.openrewrite.gradle.AddPlatformDependency** + +_Add a gradle platform dependency to a `build.gradle` file in the correct configuration based on where it is used._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddPlatformDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + +## Options + +| Type | Name | Description | Example | +| -- | -- | -- | -- | +| `String` | groupId | The first part of a dependency coordinate 'com.google.guava:guava:VERSION'. | `com.google.guava` | +| `String` | artifactId | The second part of a dependency coordinate 'com.google.guava:guava:VERSION' | `guava` | +| `String` | version | *Optional*. An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). | `29.X` | +| `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example, Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +| `String` | configuration | *Optional*. A configuration to use when it is not what can be inferred from usage. Most of the time this will be left empty, but is used when adding a new as of yet unused dependency. | `implementation` | +| `Boolean` | enforced | *Optional*. Used to determine whether the platform dependency should be enforcedPlatform. | `true` | + + +## 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.AddPlatformDependencyExample`. +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.AddPlatformDependencyExample +displayName: Add Gradle platform dependency example +recipeList: + - org.openrewrite.gradle.AddPlatformDependency: + groupId: com.google.guava + artifactId: guava + version: 29.X + versionPattern: '-jre' + configuration: implementation + enforced: true +``` + +Now that `com.yourorg.AddPlatformDependencyExample` has been defined, activate it 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.AddPlatformDependencyExample") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} +``` +2. Run `gradle rewriteRun` 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 AddPlatformDependency --recipe-option "groupId=com.google.guava" --recipe-option "artifactId=guava" --recipe-option "version=29.X" --recipe-option "versionPattern='-jre'" --recipe-option "configuration=implementation" --recipe-option "enforced=true" +``` + +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 + + + + +### 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. | + + + + + +### 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/gradle/addproperty.md b/docs/recipes/gradle/addproperty.md index 4b8bbad02a..35313b5d82 100644 --- a/docs/recipes/gradle/addproperty.md +++ b/docs/recipes/gradle/addproperty.md @@ -53,7 +53,7 @@ Now that `com.yourorg.AddPropertyExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/changedependency.md b/docs/recipes/gradle/changedependency.md index 70dc77d352..1af3a52abe 100644 --- a/docs/recipes/gradle/changedependency.md +++ b/docs/recipes/gradle/changedependency.md @@ -126,7 +126,7 @@ Now that `com.yourorg.ChangeDependencyExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -168,6 +168,24 @@ Please [contact Moderne](https://moderne.io/product) for more information about ## Data Tables + + +### 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. | + + diff --git a/docs/recipes/gradle/changedependencyartifactid.md b/docs/recipes/gradle/changedependencyartifactid.md index 488b0ca149..754aa6415f 100644 --- a/docs/recipes/gradle/changedependencyartifactid.md +++ b/docs/recipes/gradle/changedependencyartifactid.md @@ -114,7 +114,7 @@ Now that `com.yourorg.ChangeDependencyArtifactIdExample` has been defined, activ 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/changedependencyclassifier.md b/docs/recipes/gradle/changedependencyclassifier.md index 6d4dd239d6..dd97a9390d 100644 --- a/docs/recipes/gradle/changedependencyclassifier.md +++ b/docs/recipes/gradle/changedependencyclassifier.md @@ -114,7 +114,7 @@ Now that `com.yourorg.ChangeDependencyClassifierExample` has been defined, activ 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/changedependencyconfiguration.md b/docs/recipes/gradle/changedependencyconfiguration.md index cc57961c9c..4b1c9d9d45 100644 --- a/docs/recipes/gradle/changedependencyconfiguration.md +++ b/docs/recipes/gradle/changedependencyconfiguration.md @@ -110,7 +110,7 @@ Now that `com.yourorg.ChangeDependencyConfigurationExample` has been defined, ac 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/changedependencyextension.md b/docs/recipes/gradle/changedependencyextension.md index 7ffdc5506a..07aaa1e2e1 100644 --- a/docs/recipes/gradle/changedependencyextension.md +++ b/docs/recipes/gradle/changedependencyextension.md @@ -114,7 +114,7 @@ Now that `com.yourorg.ChangeDependencyExtensionExample` has been defined, activa 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/changedependencygroupid.md b/docs/recipes/gradle/changedependencygroupid.md index b77056d89b..ad1054accb 100644 --- a/docs/recipes/gradle/changedependencygroupid.md +++ b/docs/recipes/gradle/changedependencygroupid.md @@ -114,7 +114,7 @@ Now that `com.yourorg.ChangeDependencyGroupIdExample` has been defined, activate 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/changeextraproperty.md b/docs/recipes/gradle/changeextraproperty.md index 52ad76277c..bb6f457125 100644 --- a/docs/recipes/gradle/changeextraproperty.md +++ b/docs/recipes/gradle/changeextraproperty.md @@ -108,7 +108,7 @@ Now that `com.yourorg.ChangeExtraPropertyExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/dependencyconstrainttorule.md b/docs/recipes/gradle/dependencyconstrainttorule.md index 24064b17a0..387015b52e 100644 --- a/docs/recipes/gradle/dependencyconstrainttorule.md +++ b/docs/recipes/gradle/dependencyconstrainttorule.md @@ -101,7 +101,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/dependencyusemapnotation.md b/docs/recipes/gradle/dependencyusemapnotation.md index ace753260f..add7b2815f 100644 --- a/docs/recipes/gradle/dependencyusemapnotation.md +++ b/docs/recipes/gradle/dependencyusemapnotation.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.gradle.DependencyUseMapNotation** -_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 `Strings` with an equivalent dependency represented as a `Map`._ +_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'` (groovy) or `group = "groupId", name = "artifactId", version = "version"` (kotlin). This recipe replaces dependencies represented as `Strings` with an equivalent dependency represented as a `Map`._ ## Recipe source @@ -87,7 +87,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -224,4 +224,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Simon Hutchinson](mailto:simon.hutchinson@ixxus.com), [Kun Li](mailto:kun@moderne.io) +[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) diff --git a/docs/recipes/gradle/dependencyusestringnotation.md b/docs/recipes/gradle/dependencyusestringnotation.md index 9abe7a6b5f..ee44b92a96 100644 --- a/docs/recipes/gradle/dependencyusestringnotation.md +++ b/docs/recipes/gradle/dependencyusestringnotation.md @@ -19,7 +19,8 @@ _In Gradle, dependencies can be expressed as a `String` like `"groupId:artifactI This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). -## Example +## Examples +##### Example 1 @@ -76,6 +77,67 @@ dependencies { +--- + +##### Example 2 + + + + + + +###### Before +```buildGradleKts +plugins { + `java-library` +} + +repositories { + mavenCentral() +} + +val version = "latest.release" + +dependencies { + api(group = "org.openrewrite", name = "rewrite-core", version = "latest.release") + implementation(group = "org.openrewrite", name = "rewrite-core", version = version, classifier = "sources") +} +``` + +###### After +```buildGradleKts +plugins { + `java-library` +} + +repositories { + mavenCentral() +} + +val version = "latest.release" + +dependencies { + api("org.openrewrite:rewrite-core:latest.release") + implementation("org.openrewrite:rewrite-core:$version:sources") +} +``` + + + + +```diff +@@ -12,2 +12,2 @@ + +dependencies { +- api(group = "org.openrewrite", name = "rewrite-core", version = "latest.release") +- implementation(group = "org.openrewrite", name = "rewrite-core", version = version, classifier = "sources") ++ api("org.openrewrite:rewrite-core:latest.release") ++ implementation("org.openrewrite:rewrite-core:$version:sources") +} +``` + + + ## Usage @@ -87,7 +149,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/enabledevelocitybuildcache.md b/docs/recipes/gradle/enabledevelocitybuildcache.md index 16e426a91d..d6436b80f6 100644 --- a/docs/recipes/gradle/enabledevelocitybuildcache.md +++ b/docs/recipes/gradle/enabledevelocitybuildcache.md @@ -94,7 +94,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/enablegradlebuildcache.md b/docs/recipes/gradle/enablegradlebuildcache.md index e2def274a6..b30aa233b0 100644 --- a/docs/recipes/gradle/enablegradlebuildcache.md +++ b/docs/recipes/gradle/enablegradlebuildcache.md @@ -60,7 +60,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/enablegradleparallelexecution.md b/docs/recipes/gradle/enablegradleparallelexecution.md index 90413947fb..653789d4a3 100644 --- a/docs/recipes/gradle/enablegradleparallelexecution.md +++ b/docs/recipes/gradle/enablegradleparallelexecution.md @@ -60,7 +60,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/gradle8/jacocoreportdeprecations.md b/docs/recipes/gradle/gradle8/jacocoreportdeprecations.md index 674ae6bcbc..9b84086da5 100644 --- a/docs/recipes/gradle/gradle8/jacocoreportdeprecations.md +++ b/docs/recipes/gradle/gradle8/jacocoreportdeprecations.md @@ -107,7 +107,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/migratetogradle5.md b/docs/recipes/gradle/migratetogradle5.md index aefac0cfca..5185a859ca 100644 --- a/docs/recipes/gradle/migratetogradle5.md +++ b/docs/recipes/gradle/migratetogradle5.md @@ -58,7 +58,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/migratetogradle6.md b/docs/recipes/gradle/migratetogradle6.md index edd9225e10..b617108cd7 100644 --- a/docs/recipes/gradle/migratetogradle6.md +++ b/docs/recipes/gradle/migratetogradle6.md @@ -106,7 +106,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/migratetogradle7.md b/docs/recipes/gradle/migratetogradle7.md index 39f1068a00..40f2b8c539 100644 --- a/docs/recipes/gradle/migratetogradle7.md +++ b/docs/recipes/gradle/migratetogradle7.md @@ -68,7 +68,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/migratetogradle8.md b/docs/recipes/gradle/migratetogradle8.md index 1b9375d948..af6b02b286 100644 --- a/docs/recipes/gradle/migratetogradle8.md +++ b/docs/recipes/gradle/migratetogradle8.md @@ -80,7 +80,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/addbuildplugin.md b/docs/recipes/gradle/plugins/addbuildplugin.md index e76848c5c0..cbb2616990 100644 --- a/docs/recipes/gradle/plugins/addbuildplugin.md +++ b/docs/recipes/gradle/plugins/addbuildplugin.md @@ -74,7 +74,7 @@ Now that `com.yourorg.AddBuildPluginExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md b/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md index 1a0ff04143..0d3d395b7f 100644 --- a/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md +++ b/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md @@ -41,7 +41,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/addsettingsplugin.md b/docs/recipes/gradle/plugins/addsettingsplugin.md index c7d17656b2..e5a775b7c6 100644 --- a/docs/recipes/gradle/plugins/addsettingsplugin.md +++ b/docs/recipes/gradle/plugins/addsettingsplugin.md @@ -53,7 +53,7 @@ Now that `com.yourorg.AddSettingsPluginExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/addsettingspluginrepository.md b/docs/recipes/gradle/plugins/addsettingspluginrepository.md index a822d60bdd..10e319edc9 100644 --- a/docs/recipes/gradle/plugins/addsettingspluginrepository.md +++ b/docs/recipes/gradle/plugins/addsettingspluginrepository.md @@ -71,7 +71,7 @@ Now that `com.yourorg.AddSettingsPluginRepositoryExample` has been defined, acti 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/changeplugin.md b/docs/recipes/gradle/plugins/changeplugin.md index 9856aad226..631b024105 100644 --- a/docs/recipes/gradle/plugins/changeplugin.md +++ b/docs/recipes/gradle/plugins/changeplugin.md @@ -94,7 +94,7 @@ Now that `com.yourorg.ChangePluginExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/changepluginversion.md b/docs/recipes/gradle/plugins/changepluginversion.md index 28cf0e49cd..11c202640f 100644 --- a/docs/recipes/gradle/plugins/changepluginversion.md +++ b/docs/recipes/gradle/plugins/changepluginversion.md @@ -99,7 +99,7 @@ Now that `com.yourorg.ChangePluginVersionExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md b/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md index aedd4fa09e..4386f03b16 100644 --- a/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md +++ b/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md @@ -131,7 +131,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/removebuildplugin.md b/docs/recipes/gradle/plugins/removebuildplugin.md index a5a1bc8e15..d6635cd0e8 100644 --- a/docs/recipes/gradle/plugins/removebuildplugin.md +++ b/docs/recipes/gradle/plugins/removebuildplugin.md @@ -62,7 +62,7 @@ Now that `com.yourorg.RemoveBuildPluginExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/removedevelocity.md b/docs/recipes/gradle/plugins/removedevelocity.md index ec8938de26..dac39076b5 100644 --- a/docs/recipes/gradle/plugins/removedevelocity.md +++ b/docs/recipes/gradle/plugins/removedevelocity.md @@ -131,7 +131,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/removedevelocityconfiguration.md b/docs/recipes/gradle/plugins/removedevelocityconfiguration.md index 9d81c9117a..4a06baf139 100644 --- a/docs/recipes/gradle/plugins/removedevelocityconfiguration.md +++ b/docs/recipes/gradle/plugins/removedevelocityconfiguration.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/removesettingsplugin.md b/docs/recipes/gradle/plugins/removesettingsplugin.md index a94db69fb2..53b61ba866 100644 --- a/docs/recipes/gradle/plugins/removesettingsplugin.md +++ b/docs/recipes/gradle/plugins/removesettingsplugin.md @@ -62,7 +62,7 @@ Now that `com.yourorg.RemoveSettingsPluginExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/plugins/upgradepluginversion.md b/docs/recipes/gradle/plugins/upgradepluginversion.md index c0cb3157a9..e2a1465e80 100644 --- a/docs/recipes/gradle/plugins/upgradepluginversion.md +++ b/docs/recipes/gradle/plugins/upgradepluginversion.md @@ -187,7 +187,7 @@ Now that `com.yourorg.UpgradePluginVersionExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/removedependency.md b/docs/recipes/gradle/removedependency.md index 01ec50272b..50d9622090 100644 --- a/docs/recipes/gradle/removedependency.md +++ b/docs/recipes/gradle/removedependency.md @@ -111,7 +111,7 @@ Now that `com.yourorg.RemoveDependencyExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/removeenablefeaturepreview.md b/docs/recipes/gradle/removeenablefeaturepreview.md index 6796e15acc..d82df6f40b 100644 --- a/docs/recipes/gradle/removeenablefeaturepreview.md +++ b/docs/recipes/gradle/removeenablefeaturepreview.md @@ -95,7 +95,7 @@ Now that `com.yourorg.RemoveEnableFeaturePreviewExample` has been defined, activ 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/removeredundantdependencyversions.md b/docs/recipes/gradle/removeredundantdependencyversions.md index 5cdd78ae16..d3fd8ba7f5 100644 --- a/docs/recipes/gradle/removeredundantdependencyversions.md +++ b/docs/recipes/gradle/removeredundantdependencyversions.md @@ -100,7 +100,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -237,4 +237,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +[Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/gradle/removerepository.md b/docs/recipes/gradle/removerepository.md index e6870ff920..2855fcc593 100644 --- a/docs/recipes/gradle/removerepository.md +++ b/docs/recipes/gradle/removerepository.md @@ -88,7 +88,7 @@ Now that `com.yourorg.RemoveRepositoryExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -187,4 +187,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Sam Snyder](mailto:sam@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com) diff --git a/docs/recipes/gradle/search/dependencyinsight.md b/docs/recipes/gradle/search/dependencyinsight.md index 047e912796..fbeaf625d1 100644 --- a/docs/recipes/gradle/search/dependencyinsight.md +++ b/docs/recipes/gradle/search/dependencyinsight.md @@ -110,7 +110,7 @@ Now that `com.yourorg.DependencyInsightExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -229,4 +229,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Peter Streef](mailto:peter@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [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) diff --git a/docs/recipes/gradle/search/finddependency.md b/docs/recipes/gradle/search/finddependency.md index 802f768758..f951b2d54d 100644 --- a/docs/recipes/gradle/search/finddependency.md +++ b/docs/recipes/gradle/search/finddependency.md @@ -119,7 +119,7 @@ Now that `com.yourorg.FindDependencyExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/search/finddependencyhandler.md b/docs/recipes/gradle/search/finddependencyhandler.md index 992abb63c0..0b3b9d8f39 100644 --- a/docs/recipes/gradle/search/finddependencyhandler.md +++ b/docs/recipes/gradle/search/finddependencyhandler.md @@ -58,7 +58,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/search/findgradleproject.md b/docs/recipes/gradle/search/findgradleproject.md index bb0a57c0d8..5ebcd20a62 100644 --- a/docs/recipes/gradle/search/findgradleproject.md +++ b/docs/recipes/gradle/search/findgradleproject.md @@ -47,7 +47,7 @@ Now that `com.yourorg.FindGradleProjectExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/search/findgradlewrapper.md b/docs/recipes/gradle/search/findgradlewrapper.md index 743d699104..069509e4f2 100644 --- a/docs/recipes/gradle/search/findgradlewrapper.md +++ b/docs/recipes/gradle/search/findgradlewrapper.md @@ -84,7 +84,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/search/findjvmtestsuites.md b/docs/recipes/gradle/search/findjvmtestsuites.md index 3cbc1708e9..0a41bc879e 100644 --- a/docs/recipes/gradle/search/findjvmtestsuites.md +++ b/docs/recipes/gradle/search/findjvmtestsuites.md @@ -23,7 +23,6 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | Type | Name | Description | Example | | -- | -- | -- | -- | -| `Boolean` | definesDependencies | Whether the test suite configuration defines dependencies to be resolved. Defaults to false. | | | `Boolean` | insertRows | Whether to insert rows into the table. Defaults to true. | | @@ -38,7 +37,6 @@ name: com.yourorg.FindJVMTestSuitesExample displayName: Find Gradle JVMTestSuite plugin configuration example recipeList: - org.openrewrite.gradle.search.FindJVMTestSuites: - definesDependencies: null insertRows: null ``` @@ -49,7 +47,7 @@ Now that `com.yourorg.FindJVMTestSuitesExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -69,7 +67,7 @@ repositories { 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 FindJVMTestSuites --recipe-option "definesDependencies=null" --recipe-option "insertRows=null" +mod run . --recipe FindJVMTestSuites --recipe-option "insertRows=null" ``` If the recipe is not available locally, then you can install it using: @@ -161,4 +159,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Shannon Pamperl](mailto:shanman190@gmail.com) +[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [BrendanHart](mailto:brendan.hart@gs.com), [Shannon Pamperl](mailto:shanman190@gmail.com) diff --git a/docs/recipes/gradle/search/findplugins.md b/docs/recipes/gradle/search/findplugins.md index d4e4d32cbc..00edd7cc95 100644 --- a/docs/recipes/gradle/search/findplugins.md +++ b/docs/recipes/gradle/search/findplugins.md @@ -94,7 +94,7 @@ Now that `com.yourorg.FindPluginsExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/search/findrepository.md b/docs/recipes/gradle/search/findrepository.md index 4bd6ec2ea6..83aa3f0438 100644 --- a/docs/recipes/gradle/search/findrepository.md +++ b/docs/recipes/gradle/search/findrepository.md @@ -172,7 +172,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/search/modulehasdependency.md b/docs/recipes/gradle/search/modulehasdependency.md index 9c0e641379..c4c9a4b848 100644 --- a/docs/recipes/gradle/search/modulehasdependency.md +++ b/docs/recipes/gradle/search/modulehasdependency.md @@ -173,7 +173,7 @@ Now that `com.yourorg.ModuleHasDependencyExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/search/modulehasplugin.md b/docs/recipes/gradle/search/modulehasplugin.md index 7aef30847d..cff2e5fd95 100644 --- a/docs/recipes/gradle/search/modulehasplugin.md +++ b/docs/recipes/gradle/search/modulehasplugin.md @@ -151,7 +151,7 @@ Now that `com.yourorg.ModuleHasPluginExample` has been defined, activate it in y 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/security/usehttpsforrepositories.md b/docs/recipes/gradle/security/usehttpsforrepositories.md index a65ec68c67..338e9e28d5 100644 --- a/docs/recipes/gradle/security/usehttpsforrepositories.md +++ b/docs/recipes/gradle/security/usehttpsforrepositories.md @@ -70,7 +70,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -207,4 +207,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Leitschuh](mailto:Jonathan.Leitschuh@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com) +[Jonathan Leitschuh](mailto:Jonathan.Leitschuh@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md b/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md index abd1c5fcd3..2f56a19c46 100644 --- a/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md +++ b/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/updategradlewrapper.md b/docs/recipes/gradle/updategradlewrapper.md index c8cc890912..c8326013fd 100644 --- a/docs/recipes/gradle/updategradlewrapper.md +++ b/docs/recipes/gradle/updategradlewrapper.md @@ -26,7 +26,12 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | `String` | version | *Optional*. An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified. | `7.x` | | `String` | distribution | *Optional*. The distribution of Gradle to use. "bin" includes Gradle binaries. "all" includes Gradle binaries, source code, and documentation. Defaults to "bin". Valid options: `bin`, `all` | | | `Boolean` | addIfMissing | *Optional*. Add a Gradle wrapper, if it's missing. Defaults to `true`. | | -| `String` | wrapperUri | *Optional*. The URI of the Gradle wrapper distribution. Lookup of available versions still requires access to https://services.gradle.org When this is specified the exact literal values supplied for `version` and `distribution` will be interpolated into this string wherever `${version}` and `${distribution}` appear respectively. Defaults to https://services.gradle.org/distributions/gradle-`${version}`-`${distribution}`.zip. | `https://services.gradle.org/distributions/gradle-${version}-${distribution}.zip` | + | `String` | wrapperUri | *Optional*. The URI of the Gradle wrapper distribution. +Specifies a custom location from which to download the Gradle wrapper scripts (gradlew, gradlew.bat, etc.). This is useful for setting up the Gradle wrapper without relying on Gradle's official distribution services. + +When this option is set, the version and distribution fields must not be specified — only one source of truth is allowed. The URI should point to a valid and reachable Gradle wrapper distribution (typically a .zip archive containing the wrapper files). +This is particularly helpful in environments where access to Gradle's central services is restricted or where custom Gradle wrapper setups are required. +If the URI is inaccessible, the recipe will leave the existing wrapper files in the repository unchanged, as they are generally compatible with various Gradle versions. | `https://services.gradle.org/distributions/gradle-8.5-bin.zip` | | `String` | distributionChecksum | *Optional*. The SHA-256 checksum of the Gradle distribution. If specified, the recipe will add the checksum along with the custom distribution URL. | `29e49b10984e585d8118b7d0bc452f944e386458df27371b49b4ac1dec4b7fda` | ## Example @@ -94,7 +99,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/updatejavacompatibility.md b/docs/recipes/gradle/updatejavacompatibility.md index cdc2dd0126..00590dd50c 100644 --- a/docs/recipes/gradle/updatejavacompatibility.md +++ b/docs/recipes/gradle/updatejavacompatibility.md @@ -103,7 +103,7 @@ Now that `com.yourorg.UpdateJavaCompatibilityExample` has been defined, activate 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -202,4 +202,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Ken Little](mailto:krl49700@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com) +[JohannisK](mailto:johan.kragt@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Ken Little](mailto:krl49700@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/gradle/upgradedependencyversion.md b/docs/recipes/gradle/upgradedependencyversion.md index c96e303226..8b1d413b5a 100644 --- a/docs/recipes/gradle/upgradedependencyversion.md +++ b/docs/recipes/gradle/upgradedependencyversion.md @@ -118,7 +118,7 @@ Now that `com.yourorg.UpgradeDependencyVersionExample` has been defined, activat 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/gradle/upgradetransitivedependencyversion.md b/docs/recipes/gradle/upgradetransitivedependencyversion.md index f8e8d7c244..0e7e592ebd 100644 --- a/docs/recipes/gradle/upgradetransitivedependencyversion.md +++ b/docs/recipes/gradle/upgradetransitivedependencyversion.md @@ -190,7 +190,7 @@ Now that `com.yourorg.UpgradeTransitiveDependencyVersionExample` has been define 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/groovy/format/autoformat.md b/docs/recipes/groovy/format/autoformat.md index a85b31e0d0..46d9a867ff 100644 --- a/docs/recipes/groovy/format/autoformat.md +++ b/docs/recipes/groovy/format/autoformat.md @@ -79,7 +79,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/groovy/format/gstringcurlybraces.md b/docs/recipes/groovy/format/gstringcurlybraces.md index f4052ae65f..24530117d7 100644 --- a/docs/recipes/groovy/format/gstringcurlybraces.md +++ b/docs/recipes/groovy/format/gstringcurlybraces.md @@ -62,7 +62,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md b/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md index 6ecf581b80..f5d7b4947d 100644 --- a/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md +++ b/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/groovy/format/omitparenthesesformat.md b/docs/recipes/groovy/format/omitparenthesesformat.md index edba17822a..2bf9a71762 100644 --- a/docs/recipes/groovy/format/omitparenthesesformat.md +++ b/docs/recipes/groovy/format/omitparenthesesformat.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/deletecontent.md b/docs/recipes/hcl/deletecontent.md index c958d24765..2184b32f37 100644 --- a/docs/recipes/hcl/deletecontent.md +++ b/docs/recipes/hcl/deletecontent.md @@ -87,7 +87,7 @@ Now that `com.yourorg.DeleteContentExample` has been defined, activate it in you 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/format/autoformat.md b/docs/recipes/hcl/format/autoformat.md index bd1ad78c81..83c16f22be 100644 --- a/docs/recipes/hcl/format/autoformat.md +++ b/docs/recipes/hcl/format/autoformat.md @@ -113,7 +113,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/format/blanklines.md b/docs/recipes/hcl/format/blanklines.md index 7f9e1d93ad..81a41048c8 100644 --- a/docs/recipes/hcl/format/blanklines.md +++ b/docs/recipes/hcl/format/blanklines.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/format/normalizeformat.md b/docs/recipes/hcl/format/normalizeformat.md index bba7cb1bf9..dba2ad6bc2 100644 --- a/docs/recipes/hcl/format/normalizeformat.md +++ b/docs/recipes/hcl/format/normalizeformat.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/format/removetrailingwhitespace.md b/docs/recipes/hcl/format/removetrailingwhitespace.md index 70280b0edc..9a2f0d5c8c 100644 --- a/docs/recipes/hcl/format/removetrailingwhitespace.md +++ b/docs/recipes/hcl/format/removetrailingwhitespace.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/format/spaces.md b/docs/recipes/hcl/format/spaces.md index 45112a945a..1f1f6d02d9 100644 --- a/docs/recipes/hcl/format/spaces.md +++ b/docs/recipes/hcl/format/spaces.md @@ -68,7 +68,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/format/tabsandindents.md b/docs/recipes/hcl/format/tabsandindents.md index 93cf836ed0..bc4b0666de 100644 --- a/docs/recipes/hcl/format/tabsandindents.md +++ b/docs/recipes/hcl/format/tabsandindents.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/movecontenttofile.md b/docs/recipes/hcl/movecontenttofile.md index 41ce504910..08029ea137 100644 --- a/docs/recipes/hcl/movecontenttofile.md +++ b/docs/recipes/hcl/movecontenttofile.md @@ -101,7 +101,7 @@ Now that `com.yourorg.MoveContentToFileExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/replacelegacyattributeindexsyntax.md b/docs/recipes/hcl/replacelegacyattributeindexsyntax.md index 8f10eb8592..f158455f78 100644 --- a/docs/recipes/hcl/replacelegacyattributeindexsyntax.md +++ b/docs/recipes/hcl/replacelegacyattributeindexsyntax.md @@ -64,7 +64,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hcl/search/findandreplaceliteral.md b/docs/recipes/hcl/search/findandreplaceliteral.md index 4b19b2f8f3..f885ac575e 100644 --- a/docs/recipes/hcl/search/findandreplaceliteral.md +++ b/docs/recipes/hcl/search/findandreplaceliteral.md @@ -98,7 +98,7 @@ Now that `com.yourorg.FindAndReplaceLiteralExample` has been defined, activate i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -221,4 +221,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -l-ferguson, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +l-ferguson, e5LA, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/hcl/search/findcontent.md b/docs/recipes/hcl/search/findcontent.md index ee6a940094..650ef759db 100644 --- a/docs/recipes/hcl/search/findcontent.md +++ b/docs/recipes/hcl/search/findcontent.md @@ -83,7 +83,7 @@ Now that `com.yourorg.FindContentExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/README.md b/docs/recipes/hibernate/README.md index fab2a6321f..57a6cf9fd5 100644 --- a/docs/recipes/hibernate/README.md +++ b/docs/recipes/hibernate/README.md @@ -19,6 +19,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Migrate to Hibernate 6.4.x](./migratetohibernate64.md) * [Migrate to Hibernate 6.5.x](./migratetohibernate65.md) * [Migrate to Hibernate 6.6.x](./migratetohibernate66.md) +* [Migrate to Hibernate 7.0.x](./migratetohibernate70.md) * [Rename `JavaTypeDescriptor` and `SqlTypeDescriptor` to `JavaType` and `SqlType`](./typedescriptortotype.md) ## Recipes diff --git a/docs/recipes/hibernate/addscalarpreferstandardbasictypes.md b/docs/recipes/hibernate/addscalarpreferstandardbasictypes.md index dec19a077a..c253a1a0ae 100644 --- a/docs/recipes/hibernate/addscalarpreferstandardbasictypes.md +++ b/docs/recipes/hibernate/addscalarpreferstandardbasictypes.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/emptyinterceptortointerface.md b/docs/recipes/hibernate/emptyinterceptortointerface.md index fc9065e384..cac13b886a 100644 --- a/docs/recipes/hibernate/emptyinterceptortointerface.md +++ b/docs/recipes/hibernate/emptyinterceptortointerface.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migratebooleanmappings.md b/docs/recipes/hibernate/migratebooleanmappings.md index 383faaec10..ac3398338d 100644 --- a/docs/recipes/hibernate/migratebooleanmappings.md +++ b/docs/recipes/hibernate/migratebooleanmappings.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md b/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md index 220d0bb423..83e417a75c 100644 --- a/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md +++ b/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migratetohibernate60.md b/docs/recipes/hibernate/migratetohibernate60.md index 3923be5a6b..a3663bfd67 100644 --- a/docs/recipes/hibernate/migratetohibernate60.md +++ b/docs/recipes/hibernate/migratetohibernate60.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migratetohibernate61.md b/docs/recipes/hibernate/migratetohibernate61.md index bc560bf873..8027a97327 100644 --- a/docs/recipes/hibernate/migratetohibernate61.md +++ b/docs/recipes/hibernate/migratetohibernate61.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migratetohibernate62.md b/docs/recipes/hibernate/migratetohibernate62.md index dd3b38d7b3..6af1b5e4ab 100644 --- a/docs/recipes/hibernate/migratetohibernate62.md +++ b/docs/recipes/hibernate/migratetohibernate62.md @@ -34,6 +34,7 @@ This recipe is available under the [Moderne Source Available License](https://do * groupId: `org.hibernate.orm` * artifactId: `*` * newVersion: `6.2.x` +* [Replace `@LazyCollection` with `jakarta.persistence.FetchType`](../hibernate/replacelazycollectionannotation) @@ -53,6 +54,7 @@ recipeList: groupId: org.hibernate.orm artifactId: "*" newVersion: 6.2.x + - org.openrewrite.hibernate.ReplaceLazyCollectionAnnotation ``` @@ -68,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -250,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Simon Zilliken, [Tim te Beek](mailto:tim@moderne.io), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/hibernate/migratetohibernate63.md b/docs/recipes/hibernate/migratetohibernate63.md index 5878e19161..d8fe904172 100644 --- a/docs/recipes/hibernate/migratetohibernate63.md +++ b/docs/recipes/hibernate/migratetohibernate63.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -252,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Simon Zilliken, [Tim te Beek](mailto:tim@moderne.io), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/hibernate/migratetohibernate64.md b/docs/recipes/hibernate/migratetohibernate64.md index e66409b777..7331eea8c6 100644 --- a/docs/recipes/hibernate/migratetohibernate64.md +++ b/docs/recipes/hibernate/migratetohibernate64.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -250,4 +250,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Simon Zilliken, [Tim te Beek](mailto:tim@moderne.io), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/hibernate/migratetohibernate65.md b/docs/recipes/hibernate/migratetohibernate65.md index e9a57421cc..8facf2c33f 100644 --- a/docs/recipes/hibernate/migratetohibernate65.md +++ b/docs/recipes/hibernate/migratetohibernate65.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -250,4 +250,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +Simon Zilliken, [Tim te Beek](mailto:tim@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/hibernate/migratetohibernate66.md b/docs/recipes/hibernate/migratetohibernate66.md index b152c92578..531de15a95 100644 --- a/docs/recipes/hibernate/migratetohibernate66.md +++ b/docs/recipes/hibernate/migratetohibernate66.md @@ -109,4 +109,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Simon Zilliken, [Tim te Beek](mailto:tim@moderne.io), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) diff --git a/docs/recipes/hibernate/migratetohibernate70.md b/docs/recipes/hibernate/migratetohibernate70.md new file mode 100644 index 0000000000..4b781db09a --- /dev/null +++ b/docs/recipes/hibernate/migratetohibernate70.md @@ -0,0 +1,112 @@ +--- +sidebar_label: "Migrate to Hibernate 7.0.x" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate to Hibernate 7.0.x + +**io.moderne.hibernate.MigrateToHibernate70** + +_This recipe will apply changes commonly needed when migrating to Hibernate 7.0.x._ + +## 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 MigrateToHibernate70 +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install io.moderne.recipe:rewrite-hibernate:{{VERSION_IO_MODERNE_RECIPE_REWRITE_HIBERNATE}} +``` + + + +## 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 +Simon Zilliken, [Tim te Beek](mailto:tim@moderne.io), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) diff --git a/docs/recipes/hibernate/migratetohibernatedependencies60.md b/docs/recipes/hibernate/migratetohibernatedependencies60.md index e25ae56bfd..023cc807b1 100644 --- a/docs/recipes/hibernate/migratetohibernatedependencies60.md +++ b/docs/recipes/hibernate/migratetohibernatedependencies60.md @@ -368,7 +368,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md index 21e550b598..4d49254207 100644 --- a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md +++ b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md @@ -136,7 +136,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md index 68167e3e9d..c29e17417a 100644 --- a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md +++ b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md @@ -41,7 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.2 displayName: Migrate Hibernate Types to Hypersistence Utils 6.2 description: | - This recipe will migrate any existing dependencies on `io.hypersistence:hypersistence-utils-hibernate-60` to `io.hypersistence:hypersistence-utils-hibernate-62`. + This recipe will migrate any existing dependencies on `io.hypersistence:hypersistence-utils-hibernate-60` to `io.hypersistence:hypersistence-utils-hibernate-62`. recipeList: - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: io.hypersistence @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md index e7564d81b6..e17318dfa0 100644 --- a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md +++ b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/migrateusertype.md b/docs/recipes/hibernate/migrateusertype.md index dbdb32ea20..a3d7f182e1 100644 --- a/docs/recipes/hibernate/migrateusertype.md +++ b/docs/recipes/hibernate/migrateusertype.md @@ -275,7 +275,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md b/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md index 7c2e351ec1..8dcf72b6b0 100644 --- a/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md +++ b/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/replacelazycollectionannotation.md b/docs/recipes/hibernate/replacelazycollectionannotation.md index 7edf043362..ad6b8952a7 100644 --- a/docs/recipes/hibernate/replacelazycollectionannotation.md +++ b/docs/recipes/hibernate/replacelazycollectionannotation.md @@ -103,7 +103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/typeannotationparameter.md b/docs/recipes/hibernate/typeannotationparameter.md index d7cb8da51e..7fa3eecee5 100644 --- a/docs/recipes/hibernate/typeannotationparameter.md +++ b/docs/recipes/hibernate/typeannotationparameter.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/typedescriptortotype.md b/docs/recipes/hibernate/typedescriptortotype.md index 0e5138eabf..aa1e20b013 100644 --- a/docs/recipes/hibernate/typedescriptortotype.md +++ b/docs/recipes/hibernate/typedescriptortotype.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/hibernate/update66/fixconflictingclasstypeannotations.md b/docs/recipes/hibernate/update66/fixconflictingclasstypeannotations.md index 22597a5b2f..c79af8758e 100644 --- a/docs/recipes/hibernate/update66/fixconflictingclasstypeannotations.md +++ b/docs/recipes/hibernate/update66/fixconflictingclasstypeannotations.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **io.moderne.hibernate.update66.FixConflictingClassTypeAnnotations** -_Since Hibernate 6.6 a mapped class can have *either* `@MappedSuperclass` or `@Embeddable`, or `@Entity`. This recipe removes `@Entity` from classes annotated with `@MappedSuperclass` or `@Embeddable`.For the moment die combination of `@MappedSuperclass` or `@Embeddable` is advised to migrate to [Single Table Inheritance](https://docs.jboss.org/hibernate/orm/6.6/userguide/html_single/Hibernate_User_Guide.html#entity-inheritance-single-table)but still accepted and therefore stays._ +_Since Hibernate 6.6 a mapped class can have *either* `@MappedSuperclass` or `@Embeddable`, or `@Entity`. This recipe removes `@Entity` from classes annotated with `@MappedSuperclass` or `@Embeddable`. For the moment die combination of `@MappedSuperclass` or `@Embeddable` is advised to migrate to [Single Table Inheritance](https://docs.jboss.org/hibernate/orm/6.6/userguide/html_single/Hibernate_User_Guide.html#entity-inheritance-single-table) but still accepted and therefore stays._ ## Recipe source @@ -150,4 +150,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), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md b/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md index 8f41b5aeb8..cc9a85006d 100644 --- a/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md +++ b/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md @@ -199,7 +199,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/camel/README.md b/docs/recipes/io/quarkus/updates/camel/README.md index 1d8abb5139..895ad6ffd9 100644 --- a/docs/recipes/io/quarkus/updates/camel/README.md +++ b/docs/recipes/io/quarkus/updates/camel/README.md @@ -4,6 +4,8 @@ * [Camel40](/recipes/io/quarkus/updates/camel/camel40) * [Camel410](/recipes/io/quarkus/updates/camel/camel410) +* [Camel411](/recipes/io/quarkus/updates/camel/camel411) +* [Camel412](/recipes/io/quarkus/updates/camel/camel412) * [Camel44](/recipes/io/quarkus/updates/camel/camel44) * [Camel47](/recipes/io/quarkus/updates/camel/camel47) * [Camel49](/recipes/io/quarkus/updates/camel/camel49) diff --git a/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md index f9c662e0bc..4bb0ffd5bb 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/camel/camel410/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel410/camelquarkusmigrationrecipe.md index f96aff4fd9..33de3932dc 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel410/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel410/camelquarkusmigrationrecipe.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/camel/camel411/README.md b/docs/recipes/io/quarkus/updates/camel/camel411/README.md new file mode 100644 index 0000000000..bfc62c7684 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/camel/camel411/README.md @@ -0,0 +1,7 @@ +# Camel411 + +## Recipes + +* [Migrates `camel 4.10` application to `camel 4.11`](./camelquarkusmigrationrecipe.md) + + diff --git a/docs/recipes/io/quarkus/updates/camel/camel411/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel411/camelquarkusmigrationrecipe.md new file mode 100644 index 0000000000..1b7fb0191b --- /dev/null +++ b/docs/recipes/io/quarkus/updates/camel/camel411/camelquarkusmigrationrecipe.md @@ -0,0 +1,236 @@ +--- +sidebar_label: "Migrates camel 4.10 application to camel 4.11" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrates `camel 4.10` application to `camel 4.11` + +**io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe** + +_Migrates `camel 4.10` quarkus application to `camel 4.11`._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Migrates `camel 4.10` application to `camel 4.11`](../../../../../org/apache/camel/upgrade/camel411/camelmigrationrecipe) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe +displayName: Migrates `camel 4.10` application to `camel 4.11` +description: | + Migrates `camel 4.10` quarkus application to `camel 4.11`. +recipeList: + - org.apache.camel.upgrade.camel411.CamelMigrationRecipe + +``` + + + +## 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("io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe") + 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("io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe") + 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 + + io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe + + + + + 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=io.quarkus.updates.camel.camel411.CamelQuarkusMigrationRecipe -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 CamelQuarkusMigrationRecipe +``` + +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/io/quarkus/updates/camel/camel412/README.md b/docs/recipes/io/quarkus/updates/camel/camel412/README.md new file mode 100644 index 0000000000..540a1e059f --- /dev/null +++ b/docs/recipes/io/quarkus/updates/camel/camel412/README.md @@ -0,0 +1,7 @@ +# Camel412 + +## Recipes + +* [Migrates `camel 4.11` application to `camel 4.12`](./camelquarkusmigrationrecipe.md) + + diff --git a/docs/recipes/io/quarkus/updates/camel/camel412/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel412/camelquarkusmigrationrecipe.md new file mode 100644 index 0000000000..f6abba6dae --- /dev/null +++ b/docs/recipes/io/quarkus/updates/camel/camel412/camelquarkusmigrationrecipe.md @@ -0,0 +1,255 @@ +--- +sidebar_label: "Migrates camel 4.11 application to camel 4.12" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrates `camel 4.11` application to `camel 4.12` + +**io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe** + +_Migrates `camel 4.11` quarkus application to `camel 4.12`._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Migrates `camel 4.11` application to `camel 4.12`](../../../../../org/apache/camel/upgrade/camel412/camelmigrationrecipe) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe +displayName: Migrates `camel 4.11` application to `camel 4.12` +description: | + Migrates `camel 4.11` quarkus application to `camel 4.12`. +recipeList: + - org.apache.camel.upgrade.camel412.CamelMigrationRecipe + +``` + + + +## 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("io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe") + 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("io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe") + 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 + + io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe + + + + + 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=io.quarkus.updates.camel.camel412.CamelQuarkusMigrationRecipe -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 CamelQuarkusMigrationRecipe +``` + +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. | + + + + + +### 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. | + + + + diff --git a/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md index 7a0a396ce0..5b5ab5e96f 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md index 6e91e96988..c5117707c2 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/camel/camel49/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel49/camelquarkusmigrationrecipe.md index 9b74b81c79..e5cb934fec 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel49/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel49/camelquarkusmigrationrecipe.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/README.md b/docs/recipes/io/quarkus/updates/core/README.md index 46cc906108..f4bdd7e4d5 100644 --- a/docs/recipes/io/quarkus/updates/core/README.md +++ b/docs/recipes/io/quarkus/updates/core/README.md @@ -12,6 +12,8 @@ * [Quarkus319](/recipes/io/quarkus/updates/core/quarkus319) * [Quarkus32](/recipes/io/quarkus/updates/core/quarkus32) * [Quarkus321](/recipes/io/quarkus/updates/core/quarkus321) +* [Quarkus323](/recipes/io/quarkus/updates/core/quarkus323) +* [Quarkus324](/recipes/io/quarkus/updates/core/quarkus324) * [Quarkus33](/recipes/io/quarkus/updates/core/quarkus33) * [Quarkus35](/recipes/io/quarkus/updates/core/quarkus35) * [Quarkus36](/recipes/io/quarkus/updates/core/quarkus36) diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md b/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md index 843492b41d..fb14383fa0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md index e3e4fcff54..d17871ad15 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md index 4d82a09343..d24a4d0066 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md index dc00478733..86be725695 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md index 4f7596cc78..a486d63ff3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md index d8eab3242d..4dcc954f57 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md index 93efb5d86e..80942bf9fe 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md index 2a0807edd6..1c4c8195f5 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md @@ -251,7 +251,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md index 1fe247356d..0dd0b75e3e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md index 38b608d734..385eb1198a 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md index 8fd47c74e7..fb150d36e3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md index f940aa435e..041f155481 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md index bb3f5660ea..b27ef344de 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md index 15cc51cc59..a031df6040 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md index c4e301f332..f293d22d73 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md index bf2cde86af..f55f89c32b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md index 54ec92c625..e5eebe1829 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md index d64882fc86..b119d5f3e0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md index c0c85568df..6579be4a2f 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md index 2c94b2340f..9e8ecb95ed 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md index 129f050f2b..193030296b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md index 71af5f7981..19d45ba013 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md index c3b810f2fd..f2eb29a98e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md index b8fc42b930..39f7c639c0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md index 8f775846aa..9c27b60c90 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md index 341e5b8c73..f0a6b9ea91 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md index 27eda86048..5873ba0526 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md index 434c2a0c02..f869fa5591 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md index c7bc885bc0..f38153d725 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md index 153791ea64..fa43794fd9 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md index e803a7bf02..b667316b9d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md index 0f1d222d2b..e8a8f28d79 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md index 881350941b..ac4367779a 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md index c6d1e07a24..0252aa7ee8 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md @@ -247,7 +247,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md index 805696f5b0..859846c67d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md @@ -873,7 +873,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md index a5973bff55..8829566fd7 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md @@ -873,7 +873,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md index 10dd673b45..a197381949 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md @@ -873,7 +873,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md index 9c78ec6fc1..75bb9c0c55 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md @@ -873,7 +873,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md index fe1f9946b8..458abf857a 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md @@ -873,7 +873,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md index 21185e835d..ed567b9fd2 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md @@ -873,7 +873,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md index ec9ffbad2a..0474784db6 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md @@ -873,7 +873,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md index bd29ebd8ed..5e7a7cceab 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md index c977fdf027..6367b3ed47 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md index 0ffdd5111d..4d3688c919 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md index 300c817ed4..a2e8d4f431 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md index ce507e37c0..90a260cebe 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md @@ -114,7 +114,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md index d7360703b4..4cd7b471b7 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md index da474fcd2f..9d01be6f02 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md b/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md index c9ffc4640c..0507f57e44 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md @@ -53,7 +53,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md b/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md index 64b5d125fc..955949a333 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md index de35716dd8..73c8632b16 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md b/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md index 13d0d16a38..d1f6ccf9e2 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md b/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md index 14b49ef1b8..6e980b2ed2 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md b/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md index 56e55827b6..ad07d97e68 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md index 987613cdeb..2608b303a8 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md b/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md index ed0d5f6ca4..01f4276801 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md index f7c7e72924..89b8feaf2a 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md index 841dd197d2..c01141874b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md index a156bed495..c738f84fd3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md @@ -53,7 +53,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md index 9e8ff1d043..4627026994 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md @@ -157,7 +157,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md index 001f34cf2e..ea4cff14b0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md index 4e7d9d9dc7..4c1661c067 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md index d20c114ff1..fc19f951df 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md index 517d8544a4..268b515865 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md index fdbc06030d..9ba281d431 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md index 3cda847dc9..5553d947fa 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md index 20a4b56f6a..a28f5853e5 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md index 7b00b7a394..4a786fee18 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md index 81daa7068a..9b2c011e26 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md b/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md index 11c592a293..ea361e3fd4 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus318/removeflywaycleanonvalidationerror.md b/docs/recipes/io/quarkus/updates/core/quarkus318/removeflywaycleanonvalidationerror.md index b25ea9b338..6009a29844 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus318/removeflywaycleanonvalidationerror.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus318/removeflywaycleanonvalidationerror.md @@ -55,7 +55,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus319/configurationpropertieschange.md b/docs/recipes/io/quarkus/updates/core/quarkus319/configurationpropertieschange.md index fb7d1548f0..72337fe6c8 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus319/configurationpropertieschange.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus319/configurationpropertieschange.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus319/hibernateormvalidationmode.md b/docs/recipes/io/quarkus/updates/core/quarkus319/hibernateormvalidationmode.md index 8dd855e128..f92f9a92d4 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus319/hibernateormvalidationmode.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus319/hibernateormvalidationmode.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus319/moveaccesstokenannotationtonewpackage.md b/docs/recipes/io/quarkus/updates/core/quarkus319/moveaccesstokenannotationtonewpackage.md index 818e4ccf4d..0b9cc1987e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus319/moveaccesstokenannotationtonewpackage.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus319/moveaccesstokenannotationtonewpackage.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md index 1285d1317e..0bee2343d3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md index e2a13d1147..578e6346b5 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md b/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md index b0c15b2e4e..ddf7b29bea 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus321/tlsregistrysplitpackagesfix.md b/docs/recipes/io/quarkus/updates/core/quarkus321/tlsregistrysplitpackagesfix.md index bd5130094a..2fd4afc46b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus321/tlsregistrysplitpackagesfix.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus321/tlsregistrysplitpackagesfix.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus323/README.md b/docs/recipes/io/quarkus/updates/core/quarkus323/README.md new file mode 100644 index 0000000000..32ee4b73b5 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus323/README.md @@ -0,0 +1,9 @@ +# Quarkus323 + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties](./hibernateormschemamanagementproperties.md) + + diff --git a/docs/recipes/io/quarkus/updates/core/quarkus323/hibernateormschemamanagementproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus323/hibernateormschemamanagementproperties.md new file mode 100644 index 0000000000..b0ab1db08e --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus323/hibernateormschemamanagementproperties.md @@ -0,0 +1,273 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties + +**io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties), +[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 Quarkus configuration property key](../../../../../quarkus/changequarkuspropertykey) + * oldPropertyKey: `quarkus\.hibernate-orm\.database\.generation` + * newPropertyKey: `quarkus.hibernate-orm.schema-management.strategy` +* [Change Quarkus configuration property key](../../../../../quarkus/changequarkuspropertykey) + * oldPropertyKey: `quarkus\.hibernate-orm\.database\.generation\.create-schemas` + * newPropertyKey: `quarkus.hibernate-orm.schema-management.create-schemas` +* [Change Quarkus configuration property key](../../../../../quarkus/changequarkuspropertykey) + * oldPropertyKey: `quarkus\.hibernate-orm\.database\.generation\.halt-on-error` + * newPropertyKey: `quarkus.hibernate-orm.schema-management.halt-on-error` +* [Change Quarkus configuration property key](../../../../../quarkus/changequarkuspropertykey) + * oldPropertyKey: `quarkus\.hibernate-orm\.(.+)\.database\.generation` + * newPropertyKey: `quarkus.hibernate-orm.$1.schema-management.strategy` +* [Change Quarkus configuration property key](../../../../../quarkus/changequarkuspropertykey) + * oldPropertyKey: `quarkus\.hibernate-orm\.(.+)\.database\.generation\.create-schemas` + * newPropertyKey: `quarkus.hibernate-orm.$1.schema-management.create-schemas` +* [Change Quarkus configuration property key](../../../../../quarkus/changequarkuspropertykey) + * oldPropertyKey: `quarkus\.hibernate-orm\.(.+)\.database\.generation\.halt-on-error` + * newPropertyKey: `quarkus.hibernate-orm.$1.schema-management.halt-on-error` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties +displayName: io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties +description: | + +recipeList: + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: + oldPropertyKey: quarkus\.hibernate-orm\.database\.generation + newPropertyKey: quarkus.hibernate-orm.schema-management.strategy + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: + oldPropertyKey: quarkus\.hibernate-orm\.database\.generation\.create-schemas + newPropertyKey: quarkus.hibernate-orm.schema-management.create-schemas + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: + oldPropertyKey: quarkus\.hibernate-orm\.database\.generation\.halt-on-error + newPropertyKey: quarkus.hibernate-orm.schema-management.halt-on-error + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: + oldPropertyKey: quarkus\.hibernate-orm\.(.+)\.database\.generation + newPropertyKey: quarkus.hibernate-orm.$1.schema-management.strategy + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: + oldPropertyKey: quarkus\.hibernate-orm\.(.+)\.database\.generation\.create-schemas + newPropertyKey: quarkus.hibernate-orm.$1.schema-management.create-schemas + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: + oldPropertyKey: quarkus\.hibernate-orm\.(.+)\.database\.generation\.halt-on-error + newPropertyKey: quarkus.hibernate-orm.$1.schema-management.halt-on-error + +``` + + + +## 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("io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties") + 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("io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties") + 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 + + io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties + + + + + 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=io.quarkus.updates.core.quarkus323.HibernateORMSchemaManagementProperties -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 HibernateORMSchemaManagementProperties +``` + +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/io/quarkus/updates/core/quarkus324/README.md b/docs/recipes/io/quarkus/updates/core/quarkus324/README.md new file mode 100644 index 0000000000..a2d41cbbee --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/README.md @@ -0,0 +1,19 @@ +# Quarkus324 + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency](./addhibernateannotationprocessorifnewjpamodelgendependency.md) +* [io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency](./addhibernateannotationprocessorifoldjpamodelgendependency.md) +* [io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7](./migratefromhibernateormsessionmethodsremovedin7.md) +* [io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies](./removejpamodelgendependencies.md) + +## Recipes + +* [io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable](./logconsoleasyncenable.md) +* [io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7](./migratefromhibernateormvariousremovedin7.md) +* [io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor](./replacenewjpamodelgenannotationprocessor.md) +* [io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor](./replaceoldjpamodelgenannotationprocessor.md) + + diff --git a/docs/recipes/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifnewjpamodelgendependency.md b/docs/recipes/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifnewjpamodelgendependency.md new file mode 100644 index 0000000000..2543538ee8 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifnewjpamodelgendependency.md @@ -0,0 +1,245 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency + +**io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency), +[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 + + + +* [Add an annotation processor to the Maven Compiler plugin configuration](../../../../../io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor) + * groupId: `org.hibernate.orm` + * artifactId: `hibernate-processor` + * mavenCompilerPluginVersion: `3.12.1` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency +displayName: io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency +description: | + +recipeList: + - io.quarkus.updates.core.quarkus37.AddMavenCompilerAnnotationProcessor: + groupId: org.hibernate.orm + artifactId: hibernate-processor + mavenCompilerPluginVersion: 3.12.1 + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency") + 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("io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency") + 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 + + io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency + + + + + 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=io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfNewJpaModelgenDependency -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 AddHibernateAnnotationProcessorIfNewJpaModelgenDependency +``` + +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/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifoldjpamodelgendependency.md b/docs/recipes/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifoldjpamodelgendependency.md new file mode 100644 index 0000000000..95ee171b41 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/addhibernateannotationprocessorifoldjpamodelgendependency.md @@ -0,0 +1,245 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency + +**io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency), +[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 + + + +* [Add an annotation processor to the Maven Compiler plugin configuration](../../../../../io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor) + * groupId: `org.hibernate.orm` + * artifactId: `hibernate-processor` + * mavenCompilerPluginVersion: `3.12.1` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency +displayName: io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency +description: | + +recipeList: + - io.quarkus.updates.core.quarkus37.AddMavenCompilerAnnotationProcessor: + groupId: org.hibernate.orm + artifactId: hibernate-processor + mavenCompilerPluginVersion: 3.12.1 + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency") + 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("io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency") + 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 + + io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency + + + + + 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=io.quarkus.updates.core.quarkus324.AddHibernateAnnotationProcessorIfOldJpaModelgenDependency -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 AddHibernateAnnotationProcessorIfOldJpaModelgenDependency +``` + +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/io/quarkus/updates/core/quarkus324/logconsoleasyncenable.md b/docs/recipes/io/quarkus/updates/core/quarkus324/logconsoleasyncenable.md new file mode 100644 index 0000000000..f6b3a15164 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/logconsoleasyncenable.md @@ -0,0 +1,239 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable + +**io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Change Quarkus configuration property key](../../../../../quarkus/changequarkuspropertykey) + * oldPropertyKey: `quarkus\.log\.console\.async` + * newPropertyKey: `quarkus.log.console.async.enable` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable +displayName: io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable +description: | + +recipeList: + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: + oldPropertyKey: quarkus\.log\.console\.async + newPropertyKey: quarkus.log.console.async.enable + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable") + 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("io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable") + 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 + + io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable + + + + + 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=io.quarkus.updates.core.quarkus324.LogConsoleAsyncEnable -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 LogConsoleAsyncEnable +``` + +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/io/quarkus/updates/core/quarkus324/migratefromhibernateormsessionmethodsremovedin7.md b/docs/recipes/io/quarkus/updates/core/quarkus324/migratefromhibernateormsessionmethodsremovedin7.md new file mode 100644 index 0000000000..52042a5619 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/migratefromhibernateormsessionmethodsremovedin7.md @@ -0,0 +1,309 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7 + +**io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7), +[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 method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session load(Class, Object)` + * newMethodName: `getReference` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session load(String, Object)` + * newMethodName: `getReference` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session load(Class, Object, org.hibernate.LockMode)` + * newMethodName: `get` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session load(String, Object, org.hibernate.LockMode)` + * newMethodName: `get` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session load(Class, Object, org.hibernate.LockOptions)` + * newMethodName: `get` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session load(String, Object, org.hibernate.LockOptions)` + * newMethodName: `get` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session get(Class, Object)` + * newMethodName: `find` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session get(String, Object)` + * newMethodName: `find` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session delete(Object)` + * newMethodName: `remove` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session save(Object)` + * newMethodName: `persist` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session save(String, Object)` + * newMethodName: `persist` +* [Change method name](../../../../../java/changemethodname) + * methodPattern: `org.hibernate.Session update(Object)` + * newMethodName: `merge` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7 +displayName: io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7 +description: | + +recipeList: + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session load(Class, Object) + newMethodName: getReference + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session load(String, Object) + newMethodName: getReference + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session load(Class, Object, org.hibernate.LockMode) + newMethodName: get + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session load(String, Object, org.hibernate.LockMode) + newMethodName: get + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session load(Class, Object, org.hibernate.LockOptions) + newMethodName: get + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session load(String, Object, org.hibernate.LockOptions) + newMethodName: get + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session get(Class, Object) + newMethodName: find + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session get(String, Object) + newMethodName: find + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session delete(Object) + newMethodName: remove + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session save(Object) + newMethodName: persist + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session save(String, Object) + newMethodName: persist + - org.openrewrite.java.ChangeMethodName: + methodPattern: org.hibernate.Session update(Object) + newMethodName: merge + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7") + 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("io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7") + 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 + + io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7 + + + + + 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=io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmSessionMethodsRemovedIn7 -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 MigrateFromHibernateOrmSessionMethodsRemovedIn7 +``` + +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/io/quarkus/updates/core/quarkus324/migratefromhibernateormvariousremovedin7.md b/docs/recipes/io/quarkus/updates/core/quarkus324/migratefromhibernateormvariousremovedin7.md new file mode 100644 index 0000000000..aa5798ad60 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/migratefromhibernateormvariousremovedin7.md @@ -0,0 +1,239 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7 + +**io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Replace constant with another constant](../../../../../java/replaceconstantwithanotherconstant) + * existingFullyQualifiedConstantName: `org.hibernate.annotations.CascadeType.DELETE` + * fullyQualifiedConstantName: `org.hibernate.annotations.CascadeType.REMOVE` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7 +displayName: io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7 +description: | + +recipeList: + - org.openrewrite.java.ReplaceConstantWithAnotherConstant: + existingFullyQualifiedConstantName: org.hibernate.annotations.CascadeType.DELETE + fullyQualifiedConstantName: org.hibernate.annotations.CascadeType.REMOVE + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7") + 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("io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7") + 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 + + io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7 + + + + + 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=io.quarkus.updates.core.quarkus324.MigrateFromHibernateOrmVariousRemovedIn7 -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 MigrateFromHibernateOrmVariousRemovedIn7 +``` + +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/io/quarkus/updates/core/quarkus324/removejpamodelgendependencies.md b/docs/recipes/io/quarkus/updates/core/quarkus324/removejpamodelgendependencies.md new file mode 100644 index 0000000000..c72448d6d4 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/removejpamodelgendependencies.md @@ -0,0 +1,249 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies + +**io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies), +[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 + + + +* [Remove Maven dependency](../../../../../maven/removedependency) + * groupId: `org.hibernate` + * artifactId: `hibernate-jpamodelgen` +* [Remove Maven dependency](../../../../../maven/removedependency) + * groupId: `org.hibernate.orm` + * artifactId: `hibernate-jpamodelgen` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies +displayName: io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies +description: | + +recipeList: + - org.openrewrite.maven.RemoveDependency: + groupId: org.hibernate + artifactId: hibernate-jpamodelgen + - org.openrewrite.maven.RemoveDependency: + groupId: org.hibernate.orm + artifactId: hibernate-jpamodelgen + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies") + 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("io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies") + 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 + + io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies + + + + + 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=io.quarkus.updates.core.quarkus324.RemoveJpaModelgenDependencies -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 RemoveJpaModelgenDependencies +``` + +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/io/quarkus/updates/core/quarkus324/replacenewjpamodelgenannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus324/replacenewjpamodelgenannotationprocessor.md new file mode 100644 index 0000000000..2897111619 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/replacenewjpamodelgenannotationprocessor.md @@ -0,0 +1,262 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor + +**io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Change Maven Compiler plugin annotation processor groupId, artifactId and/or the version](../../../../../io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid) + * oldGroupId: `org.hibernate.orm` + * oldArtifactId: `hibernate-jpamodelgen` + * newArtifactId: `hibernate-processor` + * removeVersionIfManaged: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor +displayName: io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor +description: | + +recipeList: + - io.quarkus.updates.core.quarkus37.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId: + oldGroupId: org.hibernate.orm + oldArtifactId: hibernate-jpamodelgen + newArtifactId: hibernate-processor + removeVersionIfManaged: true + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor") + 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("io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor") + 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 + + io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor + + + + + 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=io.quarkus.updates.core.quarkus324.ReplaceNewJpaModelgenAnnotationProcessor -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 ReplaceNewJpaModelgenAnnotationProcessor +``` + +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 + + + + +### 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. | + + + + + +### 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/io/quarkus/updates/core/quarkus324/replaceoldjpamodelgenannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus324/replaceoldjpamodelgenannotationprocessor.md new file mode 100644 index 0000000000..8b12488a69 --- /dev/null +++ b/docs/recipes/io/quarkus/updates/core/quarkus324/replaceoldjpamodelgenannotationprocessor.md @@ -0,0 +1,264 @@ +--- +sidebar_label: "io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor + +**io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor** + + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Change Maven Compiler plugin annotation processor groupId, artifactId and/or the version](../../../../../io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid) + * oldGroupId: `org.hibernate` + * oldArtifactId: `hibernate-jpamodelgen` + * newGroupId: `org.hibernate.orm` + * newArtifactId: `hibernate-processor` + * removeVersionIfManaged: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor +displayName: io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor +description: | + +recipeList: + - io.quarkus.updates.core.quarkus37.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId: + oldGroupId: org.hibernate + oldArtifactId: hibernate-jpamodelgen + newGroupId: org.hibernate.orm + newArtifactId: hibernate-processor + removeVersionIfManaged: true + +``` + + + +## 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("io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor") + 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("io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor") + 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 + + io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor + + + + + 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=io.quarkus.updates.core.quarkus324.ReplaceOldJpaModelgenAnnotationProcessor -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 ReplaceOldJpaModelgenAnnotationProcessor +``` + +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 + + + + +### 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. | + + + + + +### 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/io/quarkus/updates/core/quarkus33/applicationproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationproperties.md index bf185c7d97..efecfed9be 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus33/applicationproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationproperties.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md index 3d8195df8f..2cce7536da 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md b/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md index 61faab4371..346cc64397 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md index 2657776ebd..4cb0ab7b63 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md index b87fef23eb..27ed072231 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md b/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md index 2cd1497268..fb169b2e05 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md index 765340189b..54fa008bb3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md index 49b0416ebc..0adbcdd801 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md index 14ce49707a..69c5aeb727 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md @@ -53,7 +53,7 @@ Now that `com.yourorg.AddMavenCompilerAnnotationProcessorExample` has been defin ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md b/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md index 33661ab948..aaa85f5f1c 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md @@ -31,6 +31,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | | `Boolean` | overrideManagedVersion | *Optional*. If the new annotation processor has a managed version, this flag can be used to explicitly set the version on the annotation processor. The default for this flag is `false`. | | | `Boolean` | enforceManagedVersion | *Optional*. If the new annotation processor has a managed version, this flag can be used to explicitly set the version on the annotation processor with the version of the managed dependency. The default for this flag is `false`. | | +| `Boolean` | removeVersionIfManaged | *Optional*. If the new annotation processor has a managed version, this flag can be used to remove the version on the annotation processor. The default for this flag is `false`. | | ## Usage @@ -60,7 +61,7 @@ Now that `com.yourorg.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md index 88e222e759..11b5868ecb 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md index 188fed12d2..80363476f3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md b/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md index e6a626e147..a425fcef29 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md b/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md index dd1267c96d..8b0d48cfbc 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md b/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md index c1397ee0f4..d09e88810e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md b/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md index 86ecc2cc21..14ee1f6100 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md b/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md index ecac524fe3..0a4a714033 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md b/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md index eee51c1277..0424247602 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md index b40306905f..be2edcf2f9 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md b/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md index bae6684940..48f7850c36 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/setupjavaupgradejavaversion.md b/docs/recipes/io/quarkus/updates/core/quarkus37/setupjavaupgradejavaversion.md index 6bd0dfaaef..687e93b74d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/setupjavaupgradejavaversion.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/setupjavaupgradejavaversion.md @@ -48,7 +48,7 @@ Now that `com.yourorg.SetupJavaUpgradeJavaVersionExample` has been defined, acti ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md index d492786880..0f973851c3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md b/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md index d88c815bad..6ac4c35d97 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md @@ -50,7 +50,7 @@ Now that `com.yourorg.SyncMavenCompilerAnnotationProcessorVersionExample` has be ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/upgradejavaversion.md b/docs/recipes/io/quarkus/updates/core/quarkus37/upgradejavaversion.md index 25d66cf956..ce9e637097 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/upgradejavaversion.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/upgradejavaversion.md @@ -83,7 +83,7 @@ Now that `com.yourorg.UpgradeJavaVersionExample` has been defined, activate it a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md b/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md index 0fdfe92304..a299cbb9cc 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md index 70fdd1cff0..848b5ed921 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md b/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md index 2cfc8732c2..73acb5f711 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md b/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md index b3cab706ff..e0a7f29421 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md b/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md index d6ff2a75ef..1b9dc3f793 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md @@ -647,7 +647,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md index 7d6c3488e3..d5a90a24f1 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md @@ -52,7 +52,7 @@ Now that `com.yourorg.RemoveMavenCompilerAnnotationProcessorExample` has been de ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md index b092ca6d4d..8ca320f850 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md index 97bd3882ab..f5c198d2bb 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md b/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md index e4a5386a1c..2efdc7a6cc 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/minio/minio38/updateall.md b/docs/recipes/io/quarkus/updates/minio/minio38/updateall.md index 8237661ac3..e5abb0521c 100644 --- a/docs/recipes/io/quarkus/updates/minio/minio38/updateall.md +++ b/docs/recipes/io/quarkus/updates/minio/minio38/updateall.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/minio/minio38/updateproperties.md b/docs/recipes/io/quarkus/updates/minio/minio38/updateproperties.md index 474ed13b7a..09d535617c 100644 --- a/docs/recipes/io/quarkus/updates/minio/minio38/updateproperties.md +++ b/docs/recipes/io/quarkus/updates/minio/minio38/updateproperties.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/io/quarkus/updates/quarkiverse/minio/minio38/adjusturlpropertyvalue.md b/docs/recipes/io/quarkus/updates/quarkiverse/minio/minio38/adjusturlpropertyvalue.md index d87e1814e1..ce5f545d8e 100644 --- a/docs/recipes/io/quarkus/updates/quarkiverse/minio/minio38/adjusturlpropertyvalue.md +++ b/docs/recipes/io/quarkus/updates/quarkiverse/minio/minio38/adjusturlpropertyvalue.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/README.md b/docs/recipes/java/README.md index 16bd7ec6b0..6b769050aa 100644 --- a/docs/recipes/java/README.md +++ b/docs/recipes/java/README.md @@ -8,6 +8,7 @@ _Basic building blocks for transforming Java code._ * [Camel](/recipes/java/camel) * [Dependencies](/recipes/java/dependencies) * [Dropwizard](/recipes/java/dropwizard) +* [Flyway](/recipes/java/flyway) * [Format](/recipes/java/format) * [Jackson](/recipes/java/jackson) * [Jspecify](/recipes/java/jspecify) @@ -15,6 +16,7 @@ _Basic building blocks for transforming Java code._ * [Logging](/recipes/java/logging) * [Micronaut](/recipes/java/micronaut) * [Modernize](/recipes/java/migrate) +* [Netty](/recipes/java/netty) * [OpenRewrite best practices](/recipes/java/recipes) * [Search](/recipes/java/search) * [Security](/recipes/java/security) diff --git a/docs/recipes/java/addapache2licenseheader.md b/docs/recipes/java/addapache2licenseheader.md index ca45e55888..e6472c6993 100644 --- a/docs/recipes/java/addapache2licenseheader.md +++ b/docs/recipes/java/addapache2licenseheader.md @@ -74,7 +74,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/addcommenttomethod.md b/docs/recipes/java/addcommenttomethod.md index c14eabf9f4..e8eda69793 100644 --- a/docs/recipes/java/addcommenttomethod.md +++ b/docs/recipes/java/addcommenttomethod.md @@ -94,7 +94,7 @@ Now that `com.yourorg.AddCommentToMethodExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/addlicenseheader.md b/docs/recipes/java/addlicenseheader.md index dce93a7b23..64f02d691f 100644 --- a/docs/recipes/java/addlicenseheader.md +++ b/docs/recipes/java/addlicenseheader.md @@ -47,7 +47,7 @@ Now that `com.yourorg.AddLicenseHeaderExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/addliteralmethodargument.md b/docs/recipes/java/addliteralmethodargument.md index 9422db73e0..738b76893b 100644 --- a/docs/recipes/java/addliteralmethodargument.md +++ b/docs/recipes/java/addliteralmethodargument.md @@ -53,7 +53,7 @@ Now that `com.yourorg.AddLiteralMethodArgumentExample` has been defined, activat 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/addmethodparameter.md b/docs/recipes/java/addmethodparameter.md index d872738880..bb9ae914c1 100644 --- a/docs/recipes/java/addmethodparameter.md +++ b/docs/recipes/java/addmethodparameter.md @@ -102,7 +102,7 @@ Now that `com.yourorg.AddMethodParameterExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/addnullmethodargument.md b/docs/recipes/java/addnullmethodargument.md index e76440138e..ed8f9b67c4 100644 --- a/docs/recipes/java/addnullmethodargument.md +++ b/docs/recipes/java/addnullmethodargument.md @@ -55,7 +55,7 @@ Now that `com.yourorg.AddNullMethodArgumentExample` has been defined, activate i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/addorupdateannotationattribute.md b/docs/recipes/java/addorupdateannotationattribute.md index d3a8a3d508..d722848035 100644 --- a/docs/recipes/java/addorupdateannotationattribute.md +++ b/docs/recipes/java/addorupdateannotationattribute.md @@ -55,7 +55,7 @@ Now that `com.yourorg.AddOrUpdateAnnotationAttributeExample` has been defined, a 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), SiBorea, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Kun Li](mailto:kun@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), Daniel Shamis +[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 diff --git a/docs/recipes/java/ai/classdefinitionlength.md b/docs/recipes/java/ai/classdefinitionlength.md index d041394e43..7c36afcbe0 100644 --- a/docs/recipes/java/ai/classdefinitionlength.md +++ b/docs/recipes/java/ai/classdefinitionlength.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/ai/methoddefinitionlength.md b/docs/recipes/java/ai/methoddefinitionlength.md index 993831c13d..6cabcbb1f3 100644 --- a/docs/recipes/java/ai/methoddefinitionlength.md +++ b/docs/recipes/java/ai/methoddefinitionlength.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/camel/migrate/removedextensions.md b/docs/recipes/java/camel/migrate/removedextensions.md index d8b92f3bb9..6fa6bd8bf0 100644 --- a/docs/recipes/java/camel/migrate/removedextensions.md +++ b/docs/recipes/java/camel/migrate/removedextensions.md @@ -206,7 +206,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changeannotationattributename.md b/docs/recipes/java/changeannotationattributename.md index eaddc506d0..40c51410f3 100644 --- a/docs/recipes/java/changeannotationattributename.md +++ b/docs/recipes/java/changeannotationattributename.md @@ -51,7 +51,7 @@ Now that `com.yourorg.ChangeAnnotationAttributeNameExample` has been defined, ac 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changemethodaccesslevel.md b/docs/recipes/java/changemethodaccesslevel.md index 4617f61c58..52bfef7251 100644 --- a/docs/recipes/java/changemethodaccesslevel.md +++ b/docs/recipes/java/changemethodaccesslevel.md @@ -50,7 +50,7 @@ Now that `com.yourorg.ChangeMethodAccessLevelExample` has been defined, activate 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changemethodinvocationreturntype.md b/docs/recipes/java/changemethodinvocationreturntype.md index a071bcbef5..12afa76401 100644 --- a/docs/recipes/java/changemethodinvocationreturntype.md +++ b/docs/recipes/java/changemethodinvocationreturntype.md @@ -94,7 +94,7 @@ Now that `com.yourorg.ChangeMethodInvocationReturnTypeExample` has been defined, 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changemethodname.md b/docs/recipes/java/changemethodname.md index fc76c1bbde..60783f1137 100644 --- a/docs/recipes/java/changemethodname.md +++ b/docs/recipes/java/changemethodname.md @@ -51,7 +51,7 @@ Now that `com.yourorg.ChangeMethodNameExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changemethodtargettostatic.md b/docs/recipes/java/changemethodtargettostatic.md index 721df82264..e344fcc91b 100644 --- a/docs/recipes/java/changemethodtargettostatic.md +++ b/docs/recipes/java/changemethodtargettostatic.md @@ -53,7 +53,7 @@ Now that `com.yourorg.ChangeMethodTargetToStaticExample` has been defined, activ 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changemethodtargettovariable.md b/docs/recipes/java/changemethodtargettovariable.md index c9a528440a..7f6f8dc725 100644 --- a/docs/recipes/java/changemethodtargettovariable.md +++ b/docs/recipes/java/changemethodtargettovariable.md @@ -52,7 +52,7 @@ Now that `com.yourorg.ChangeMethodTargetToVariableExample` has been defined, act 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changepackage.md b/docs/recipes/java/changepackage.md index 41763a7342..66d0a0afff 100644 --- a/docs/recipes/java/changepackage.md +++ b/docs/recipes/java/changepackage.md @@ -50,7 +50,7 @@ Now that `com.yourorg.ChangePackageExample` has been defined, activate it in you 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changepackageinstringliteral.md b/docs/recipes/java/changepackageinstringliteral.md index b0bc688ea2..83d0de1151 100644 --- a/docs/recipes/java/changepackageinstringliteral.md +++ b/docs/recipes/java/changepackageinstringliteral.md @@ -93,7 +93,7 @@ Now that `com.yourorg.ChangePackageInStringLiteralExample` has been defined, act 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -216,4 +216,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +[Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/changestaticfieldtomethod.md b/docs/recipes/java/changestaticfieldtomethod.md index e7f3ca345a..e70e7600f6 100644 --- a/docs/recipes/java/changestaticfieldtomethod.md +++ b/docs/recipes/java/changestaticfieldtomethod.md @@ -55,7 +55,7 @@ Now that `com.yourorg.ChangeStaticFieldToMethodExample` has been defined, activa 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changetype.md b/docs/recipes/java/changetype.md index 816dae04b5..9433b42fd9 100644 --- a/docs/recipes/java/changetype.md +++ b/docs/recipes/java/changetype.md @@ -50,7 +50,7 @@ Now that `com.yourorg.ChangeTypeExample` has been defined, activate it in your b 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/changetypeinstringliteral.md b/docs/recipes/java/changetypeinstringliteral.md index c544da205d..6e3dcf71d6 100644 --- a/docs/recipes/java/changetypeinstringliteral.md +++ b/docs/recipes/java/changetypeinstringliteral.md @@ -99,7 +99,7 @@ Now that `com.yourorg.ChangeTypeInStringLiteralExample` has been defined, activa 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/createemptyjavaclass.md b/docs/recipes/java/createemptyjavaclass.md index ccd4410b05..a1765839cc 100644 --- a/docs/recipes/java/createemptyjavaclass.md +++ b/docs/recipes/java/createemptyjavaclass.md @@ -56,7 +56,7 @@ Now that `com.yourorg.CreateEmptyJavaClassExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/deletemethodargument.md b/docs/recipes/java/deletemethodargument.md index 3dd03460fc..ac58dedc0a 100644 --- a/docs/recipes/java/deletemethodargument.md +++ b/docs/recipes/java/deletemethodargument.md @@ -49,7 +49,7 @@ Now that `com.yourorg.DeleteMethodArgumentExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/adddependency.md b/docs/recipes/java/dependencies/adddependency.md index f9b9b72eea..e5fe364895 100644 --- a/docs/recipes/java/dependencies/adddependency.md +++ b/docs/recipes/java/dependencies/adddependency.md @@ -72,7 +72,7 @@ Now that `com.yourorg.AddDependencyExample` has been defined, activate it and ta ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/changedependency.md b/docs/recipes/java/dependencies/changedependency.md index 8262af0f3e..8a6762301c 100644 --- a/docs/recipes/java/dependencies/changedependency.md +++ b/docs/recipes/java/dependencies/changedependency.md @@ -201,7 +201,7 @@ Now that `com.yourorg.ChangeDependencyExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -335,4 +335,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io) +[Shannon Pamperl](mailto:shanman190@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dependencies/dependencyinsight.md b/docs/recipes/java/dependencies/dependencyinsight.md index 3e45e1046d..2e4e017f50 100644 --- a/docs/recipes/java/dependencies/dependencyinsight.md +++ b/docs/recipes/java/dependencies/dependencyinsight.md @@ -119,7 +119,7 @@ Now that `com.yourorg.DependencyInsightExample` has been defined, activate it an ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -273,4 +273,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Mike Solomon](mailto:mikesol@hey.com) +[Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Mike Solomon](mailto:mikesol@hey.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dependencies/dependencylist.md b/docs/recipes/java/dependencies/dependencylist.md index 9e35be832b..ef4aa2c10f 100644 --- a/docs/recipes/java/dependencies/dependencylist.md +++ b/docs/recipes/java/dependencies/dependencylist.md @@ -38,7 +38,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -260,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Kun Li](mailto:kun@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Sam Snyder](mailto:sam@moderne.io), [Kun Li](mailto:kun@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md b/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md index 53b0ac56a6..08fdf49e63 100644 --- a/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md +++ b/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md b/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md index c91d1301a3..6e3fc255fa 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-05-26T1102._ +_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._ ## Recipe source diff --git a/docs/recipes/java/dependencies/relocateddependencycheck.md b/docs/recipes/java/dependencies/relocateddependencycheck.md index ec7949e234..203b712ecc 100644 --- a/docs/recipes/java/dependencies/relocateddependencycheck.md +++ b/docs/recipes/java/dependencies/relocateddependencycheck.md @@ -114,7 +114,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/removedependency.md b/docs/recipes/java/dependencies/removedependency.md index 8432cd4037..9c4b8db1d8 100644 --- a/docs/recipes/java/dependencies/removedependency.md +++ b/docs/recipes/java/dependencies/removedependency.md @@ -207,7 +207,7 @@ Now that `com.yourorg.RemoveDependencyExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/search/findminimumdependencyversion.md b/docs/recipes/java/dependencies/search/findminimumdependencyversion.md index ee2f6f93a7..f8ba7ee9f8 100644 --- a/docs/recipes/java/dependencies/search/findminimumdependencyversion.md +++ b/docs/recipes/java/dependencies/search/findminimumdependencyversion.md @@ -148,7 +148,7 @@ Now that `com.yourorg.FindMinimumDependencyVersionExample` has been defined, act ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/search/findminimumjunitversion.md b/docs/recipes/java/dependencies/search/findminimumjunitversion.md index 9cf891e201..e080d904fe 100644 --- a/docs/recipes/java/dependencies/search/findminimumjunitversion.md +++ b/docs/recipes/java/dependencies/search/findminimumjunitversion.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/search/modulehasdependency.md b/docs/recipes/java/dependencies/search/modulehasdependency.md index 6abef6d1de..e40c1e9e0a 100644 --- a/docs/recipes/java/dependencies/search/modulehasdependency.md +++ b/docs/recipes/java/dependencies/search/modulehasdependency.md @@ -54,7 +54,7 @@ Now that `com.yourorg.ModuleHasDependencyExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/search/repositoryhasdependency.md b/docs/recipes/java/dependencies/search/repositoryhasdependency.md index a879d66285..c932b33402 100644 --- a/docs/recipes/java/dependencies/search/repositoryhasdependency.md +++ b/docs/recipes/java/dependencies/search/repositoryhasdependency.md @@ -54,7 +54,7 @@ Now that `com.yourorg.RepositoryHasDependencyExample` has been defined, activate ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/upgradedependencyversion.md b/docs/recipes/java/dependencies/upgradedependencyversion.md index 87864f01cc..f019b09378 100644 --- a/docs/recipes/java/dependencies/upgradedependencyversion.md +++ b/docs/recipes/java/dependencies/upgradedependencyversion.md @@ -200,7 +200,7 @@ Now that `com.yourorg.UpgradeDependencyVersionExample` has been defined, activat ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md b/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md index ad6d441202..eeb13cd55c 100644 --- a/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md +++ b/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md @@ -66,7 +66,7 @@ Now that `com.yourorg.UpgradeTransitiveDependencyVersionExample` has been define ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/addactuatorconfiguration.md b/docs/recipes/java/dropwizard/addactuatorconfiguration.md index 6056a9edd4..68a607d76e 100644 --- a/docs/recipes/java/dropwizard/addactuatorconfiguration.md +++ b/docs/recipes/java/dropwizard/addactuatorconfiguration.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/addcoreexampleproperties.md b/docs/recipes/java/dropwizard/addcoreexampleproperties.md index 9987afae97..3dffd86781 100644 --- a/docs/recipes/java/dropwizard/addcoreexampleproperties.md +++ b/docs/recipes/java/dropwizard/addcoreexampleproperties.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/addhibernateconfiguration.md b/docs/recipes/java/dropwizard/addhibernateconfiguration.md index 7173c44602..ebd16bba0a 100644 --- a/docs/recipes/java/dropwizard/addhibernateconfiguration.md +++ b/docs/recipes/java/dropwizard/addhibernateconfiguration.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/addjerseyconfiguration.md b/docs/recipes/java/dropwizard/addjerseyconfiguration.md index 526002978f..a9c19cab8a 100644 --- a/docs/recipes/java/dropwizard/addjerseyconfiguration.md +++ b/docs/recipes/java/dropwizard/addjerseyconfiguration.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/addmissingapplicationproperties.md b/docs/recipes/java/dropwizard/addmissingapplicationproperties.md index 9f898d972f..4982cc0c5c 100644 --- a/docs/recipes/java/dropwizard/addmissingapplicationproperties.md +++ b/docs/recipes/java/dropwizard/addmissingapplicationproperties.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/annotation/addclassannotationifannotationexists.md b/docs/recipes/java/dropwizard/annotation/addclassannotationifannotationexists.md index 5363454ee5..40874a83d1 100644 --- a/docs/recipes/java/dropwizard/annotation/addclassannotationifannotationexists.md +++ b/docs/recipes/java/dropwizard/annotation/addclassannotationifannotationexists.md @@ -103,7 +103,7 @@ Now that `com.yourorg.AddClassAnnotationIfAnnotationExistsExample` has been defi ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -237,4 +237,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/annotation/addclassannotationifsupertypeexists.md b/docs/recipes/java/dropwizard/annotation/addclassannotationifsupertypeexists.md index 94593344d9..edb1b4728a 100644 --- a/docs/recipes/java/dropwizard/annotation/addclassannotationifsupertypeexists.md +++ b/docs/recipes/java/dropwizard/annotation/addclassannotationifsupertypeexists.md @@ -119,7 +119,7 @@ Now that `com.yourorg.AddClassAnnotationIfSuperTypeExistsExample` has been defin ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -253,4 +253,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/annotation/micrometer/codahaletimedtomicrometertimed.md b/docs/recipes/java/dropwizard/annotation/micrometer/codahaletimedtomicrometertimed.md index 95c0f61dcb..5cd63f9c5a 100644 --- a/docs/recipes/java/dropwizard/annotation/micrometer/codahaletimedtomicrometertimed.md +++ b/docs/recipes/java/dropwizard/annotation/micrometer/codahaletimedtomicrometertimed.md @@ -179,7 +179,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/codecleanup.md b/docs/recipes/java/dropwizard/codecleanup.md index 49454d180e..555f77d6c7 100644 --- a/docs/recipes/java/dropwizard/codecleanup.md +++ b/docs/recipes/java/dropwizard/codecleanup.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -266,4 +266,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/config/removeandexcludedependency.md b/docs/recipes/java/dropwizard/config/removeandexcludedependency.md index bbd543ff69..3286419cb7 100644 --- a/docs/recipes/java/dropwizard/config/removeandexcludedependency.md +++ b/docs/recipes/java/dropwizard/config/removeandexcludedependency.md @@ -82,7 +82,7 @@ Now that `com.yourorg.RemoveAndExcludeDependencyExample` has been defined, activ ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -216,4 +216,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/coresetup.md b/docs/recipes/java/dropwizard/coresetup.md index 852a7431be..daad28a475 100644 --- a/docs/recipes/java/dropwizard/coresetup.md +++ b/docs/recipes/java/dropwizard/coresetup.md @@ -144,7 +144,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -345,4 +345,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/general/removemethodsbypackage.md b/docs/recipes/java/dropwizard/general/removemethodsbypackage.md index 2092b5cbc7..b3262ebb71 100644 --- a/docs/recipes/java/dropwizard/general/removemethodsbypackage.md +++ b/docs/recipes/java/dropwizard/general/removemethodsbypackage.md @@ -110,7 +110,7 @@ Now that `com.yourorg.RemoveMethodsByPackageExample` has been defined, activate ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -244,4 +244,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/general/removevariablesbypackage.md b/docs/recipes/java/dropwizard/general/removevariablesbypackage.md index 72b91f57f5..c138f03c1c 100644 --- a/docs/recipes/java/dropwizard/general/removevariablesbypackage.md +++ b/docs/recipes/java/dropwizard/general/removevariablesbypackage.md @@ -107,7 +107,7 @@ Now that `com.yourorg.RemoveVariablesByPackageExample` has been defined, activat ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -241,4 +241,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/method/changesupertype.md b/docs/recipes/java/dropwizard/method/changesupertype.md index db04da18b3..1f886c8aaf 100644 --- a/docs/recipes/java/dropwizard/method/changesupertype.md +++ b/docs/recipes/java/dropwizard/method/changesupertype.md @@ -109,7 +109,7 @@ Now that `com.yourorg.ChangeSuperTypeExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -243,4 +243,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/method/removesupertypebytype.md b/docs/recipes/java/dropwizard/method/removesupertypebytype.md index d4db885154..4f4430ab37 100644 --- a/docs/recipes/java/dropwizard/method/removesupertypebytype.md +++ b/docs/recipes/java/dropwizard/method/removesupertypebytype.md @@ -105,7 +105,7 @@ Now that `com.yourorg.RemoveSuperTypeByTypeExample` has been defined, activate i ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -239,4 +239,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/method/removeunnecessaryoverride.md b/docs/recipes/java/dropwizard/method/removeunnecessaryoverride.md index 55633c0682..654f4e8451 100644 --- a/docs/recipes/java/dropwizard/method/removeunnecessaryoverride.md +++ b/docs/recipes/java/dropwizard/method/removeunnecessaryoverride.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -278,4 +278,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/method/removeunnecessarysupercalls.md b/docs/recipes/java/dropwizard/method/removeunnecessarysupercalls.md index a2d08d9a44..fd3fa77b3a 100644 --- a/docs/recipes/java/dropwizard/method/removeunnecessarysupercalls.md +++ b/docs/recipes/java/dropwizard/method/removeunnecessarysupercalls.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/migrateconfigurationclass.md b/docs/recipes/java/dropwizard/migrateconfigurationclass.md index 41f330ac91..7676c1ff34 100644 --- a/docs/recipes/java/dropwizard/migrateconfigurationclass.md +++ b/docs/recipes/java/dropwizard/migrateconfigurationclass.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -268,4 +268,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/migratedropwizardtospringboot.md b/docs/recipes/java/dropwizard/migratedropwizardtospringboot.md index a08f39f9d0..984634dbf4 100644 --- a/docs/recipes/java/dropwizard/migratedropwizardtospringboot.md +++ b/docs/recipes/java/dropwizard/migratedropwizardtospringboot.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -273,4 +273,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/migratehealthchecksandmetrics.md b/docs/recipes/java/dropwizard/migratehealthchecksandmetrics.md index 4a558962cb..7cc90c8d71 100644 --- a/docs/recipes/java/dropwizard/migratehealthchecksandmetrics.md +++ b/docs/recipes/java/dropwizard/migratehealthchecksandmetrics.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/dropwizard/migratehibernate.md b/docs/recipes/java/dropwizard/migratehibernate.md index 452d732494..f4f9396b18 100644 --- a/docs/recipes/java/dropwizard/migratehibernate.md +++ b/docs/recipes/java/dropwizard/migratehibernate.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -285,4 +285,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/migrateresourcestospringjersey.md b/docs/recipes/java/dropwizard/migrateresourcestospringjersey.md index 76e4650701..353db3cbcb 100644 --- a/docs/recipes/java/dropwizard/migrateresourcestospringjersey.md +++ b/docs/recipes/java/dropwizard/migrateresourcestospringjersey.md @@ -118,7 +118,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -319,4 +319,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/migratesecurity.md b/docs/recipes/java/dropwizard/migratesecurity.md index 8f84b6d860..b9111e6fde 100644 --- a/docs/recipes/java/dropwizard/migratesecurity.md +++ b/docs/recipes/java/dropwizard/migratesecurity.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -271,4 +271,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/migratetasksandcommands.md b/docs/recipes/java/dropwizard/migratetasksandcommands.md index c26e2a46a3..febc035e90 100644 --- a/docs/recipes/java/dropwizard/migratetasksandcommands.md +++ b/docs/recipes/java/dropwizard/migratetasksandcommands.md @@ -56,7 +56,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -238,4 +238,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/migratetests.md b/docs/recipes/java/dropwizard/migratetests.md index 0849c859e5..23ba4581b6 100644 --- a/docs/recipes/java/dropwizard/migratetests.md +++ b/docs/recipes/java/dropwizard/migratetests.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -275,4 +275,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/dropwizard/modifydropwizardhealthcheckstospringvariants.md b/docs/recipes/java/dropwizard/modifydropwizardhealthcheckstospringvariants.md index e5ace1c749..fcbfb385f3 100644 --- a/docs/recipes/java/dropwizard/modifydropwizardhealthcheckstospringvariants.md +++ b/docs/recipes/java/dropwizard/modifydropwizardhealthcheckstospringvariants.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -256,4 +256,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Karl-Erik Hein +Karl-Erik Hein, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/flyway/README.md b/docs/recipes/java/flyway/README.md new file mode 100644 index 0000000000..9f44074410 --- /dev/null +++ b/docs/recipes/java/flyway/README.md @@ -0,0 +1,12 @@ +# Flyway + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Add missing Flyway module for MySQL](./addflywaymodulemysql.md) +* [Add missing Flyway module for Oracle](./addflywaymoduleoracle.md) +* [Add missing Flyway module for PostgreSQL](./addflywaymodulepostgresql.md) +* [Migrate to Flyway 10](./migratetoflyway10.md) + + diff --git a/docs/recipes/java/flyway/addflywaymodulemysql.md b/docs/recipes/java/flyway/addflywaymodulemysql.md new file mode 100644 index 0000000000..29b724cc29 --- /dev/null +++ b/docs/recipes/java/flyway/addflywaymodulemysql.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Add missing Flyway module for MySQL" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add missing Flyway module for MySQL + +**org.openrewrite.java.flyway.AddFlywayModuleMySQL** + +_Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-mysql` dependency if you are using MySQL with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780._ + +### Tags + +* flyway +* mysql + +## 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-mysql` + * acceptTransitive: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.flyway.AddFlywayModuleMySQL +displayName: Add missing Flyway module for MySQL +description: | + Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-mysql` dependency if you are using MySQL with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +tags: + - flyway + - mysql +recipeList: + - org.openrewrite.java.dependencies.AddDependency: + groupId: org.flywaydb + artifactId: flyway-mysql + 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.AddFlywayModuleMySQL") + 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.AddFlywayModuleMySQL") + 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.AddFlywayModuleMySQL + + + + + 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.AddFlywayModuleMySQL -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 AddFlywayModuleMySQL +``` + +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/addflywaymoduleoracle.md b/docs/recipes/java/flyway/addflywaymoduleoracle.md new file mode 100644 index 0000000000..5d8a9f7fc4 --- /dev/null +++ b/docs/recipes/java/flyway/addflywaymoduleoracle.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Add missing Flyway module for Oracle" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add missing Flyway module for Oracle + +**org.openrewrite.java.flyway.AddFlywayModuleOracle** + +_Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-database-oracle` dependency if you are using Oracle with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780._ + +### Tags + +* oracle +* 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-database-oracle` + * acceptTransitive: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.flyway.AddFlywayModuleOracle +displayName: Add missing Flyway module for Oracle +description: | + Database modules for Flyway 10 have been split out into separate modules for maintainability. Add the `flyway-database-oracle` dependency if you are using Oracle with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +tags: + - oracle + - flyway +recipeList: + - org.openrewrite.java.dependencies.AddDependency: + groupId: org.flywaydb + artifactId: flyway-database-oracle + 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.AddFlywayModuleOracle") + 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.AddFlywayModuleOracle") + 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.AddFlywayModuleOracle + + + + + 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.AddFlywayModuleOracle -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 AddFlywayModuleOracle +``` + +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/addflywaymodulepostgresql.md b/docs/recipes/java/flyway/addflywaymodulepostgresql.md new file mode 100644 index 0000000000..85446887f9 --- /dev/null +++ b/docs/recipes/java/flyway/addflywaymodulepostgresql.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Add missing Flyway module for PostgreSQL" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add missing Flyway module for PostgreSQL + +**org.openrewrite.java.flyway.AddFlywayModulePostgreSQL** + +_Database modules for Flyway 10 have been split out in to separate modules for maintainability. Add the `flyway-database-postgresql` dependency if you are using PostgreSQL with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780._ + +### Tags + +* postgresql +* 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-database-postgresql` + * acceptTransitive: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.flyway.AddFlywayModulePostgreSQL +displayName: Add missing Flyway module for PostgreSQL +description: | + Database modules for Flyway 10 have been split out in to separate modules for maintainability. Add the `flyway-database-postgresql` dependency if you are using PostgreSQL with Flyway 10, as detailed on https://github.com/flyway/flyway/issues/3780. +tags: + - postgresql + - flyway +recipeList: + - org.openrewrite.java.dependencies.AddDependency: + groupId: org.flywaydb + artifactId: flyway-database-postgresql + 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.AddFlywayModulePostgreSQL") + 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.AddFlywayModulePostgreSQL") + 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.AddFlywayModulePostgreSQL + + + + + 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.AddFlywayModulePostgreSQL -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 AddFlywayModulePostgreSQL +``` + +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 new file mode 100644 index 0000000000..8e7f939819 --- /dev/null +++ b/docs/recipes/java/flyway/migratetoflyway10.md @@ -0,0 +1,419 @@ +--- +sidebar_label: "Migrate to Flyway 10" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate to Flyway 10 + +**org.openrewrite.java.flyway.MigrateToFlyway10** + +_Migrate to Flyway 10. See details at [Flyway V10 has landed](https://documentation.red-gate.com/fd/flyway-v10-has-landed-222627771.html)._ + +### Tags + +* 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 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) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.flyway.MigrateToFlyway10 +displayName: Migrate to Flyway 10 +description: | + Migrate to Flyway 10. See details at [Flyway V10 has landed](https://documentation.red-gate.com/fd/flyway-v10-has-landed-222627771.html). +tags: + - flyway +recipeList: + - org.openrewrite.java.flyway.AddFlywayModulePostgreSQL + - org.openrewrite.java.flyway.AddFlywayModuleMySQL + - org.openrewrite.java.flyway.AddFlywayModuleOracle + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.3.12 + + + com.example + demo + 0.0.1-SNAPSHOT + + + org.flywaydb + flyway-core + + + org.postgresql + postgresql + runtime + + + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.3.12 + + + com.example + demo + 0.0.1-SNAPSHOT + + + org.flywaydb + flyway-core + + + org.flywaydb + flyway-database-postgresql + + + org.postgresql + postgresql + runtime + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -18,0 +18,4 @@ + + ++ org.flywaydb ++ flyway-database-postgresql ++ ++ + org.postgresql +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.3.12 + + + com.example + demo + 0.0.1-SNAPSHOT + + + org.flywaydb + flyway-core + + + org.postgresql + postgresql + runtime + + + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.3.12 + + + com.example + demo + 0.0.1-SNAPSHOT + + + org.flywaydb + flyway-core + + + org.flywaydb + flyway-database-postgresql + + + org.postgresql + postgresql + runtime + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -18,0 +18,4 @@ + + ++ org.flywaydb ++ flyway-database-postgresql ++ ++ + org.postgresql +``` + + + + +## 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.MigrateToFlyway10") + 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.MigrateToFlyway10") + 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.MigrateToFlyway10 + + + + + 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.MigrateToFlyway10 -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 MigrateToFlyway10 +``` + +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/format/autoformat.md b/docs/recipes/java/format/autoformat.md index 03295a402c..21a3e9d281 100644 --- a/docs/recipes/java/format/autoformat.md +++ b/docs/recipes/java/format/autoformat.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/blanklines.md b/docs/recipes/java/format/blanklines.md index 351e1f9d95..72dfa9db6e 100644 --- a/docs/recipes/java/format/blanklines.md +++ b/docs/recipes/java/format/blanklines.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/emptynewlineatendoffile.md b/docs/recipes/java/format/emptynewlineatendoffile.md index 7bcaa52418..ac3e44ba7b 100644 --- a/docs/recipes/java/format/emptynewlineatendoffile.md +++ b/docs/recipes/java/format/emptynewlineatendoffile.md @@ -34,7 +34,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/methodparampad.md b/docs/recipes/java/format/methodparampad.md index c78229d73d..1711720d9b 100644 --- a/docs/recipes/java/format/methodparampad.md +++ b/docs/recipes/java/format/methodparampad.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/normalizeformat.md b/docs/recipes/java/format/normalizeformat.md index eca63c753a..5597964600 100644 --- a/docs/recipes/java/format/normalizeformat.md +++ b/docs/recipes/java/format/normalizeformat.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/normalizelinebreaks.md b/docs/recipes/java/format/normalizelinebreaks.md index dea0b0f759..a09d9c28a6 100644 --- a/docs/recipes/java/format/normalizelinebreaks.md +++ b/docs/recipes/java/format/normalizelinebreaks.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/normalizetabsorspaces.md b/docs/recipes/java/format/normalizetabsorspaces.md index afc57676ab..9073a47f7d 100644 --- a/docs/recipes/java/format/normalizetabsorspaces.md +++ b/docs/recipes/java/format/normalizetabsorspaces.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/nowhitespaceafter.md b/docs/recipes/java/format/nowhitespaceafter.md index 493cf51c24..8d301784b8 100644 --- a/docs/recipes/java/format/nowhitespaceafter.md +++ b/docs/recipes/java/format/nowhitespaceafter.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/nowhitespacebefore.md b/docs/recipes/java/format/nowhitespacebefore.md index da9daec5a6..b75a64d1f9 100644 --- a/docs/recipes/java/format/nowhitespacebefore.md +++ b/docs/recipes/java/format/nowhitespacebefore.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/pademptyforloopcomponents.md b/docs/recipes/java/format/pademptyforloopcomponents.md index 6e6f87f9f4..a5400ce5f9 100644 --- a/docs/recipes/java/format/pademptyforloopcomponents.md +++ b/docs/recipes/java/format/pademptyforloopcomponents.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/removetrailingwhitespace.md b/docs/recipes/java/format/removetrailingwhitespace.md index ed48444978..1f5a8607ed 100644 --- a/docs/recipes/java/format/removetrailingwhitespace.md +++ b/docs/recipes/java/format/removetrailingwhitespace.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/singlelinecomments.md b/docs/recipes/java/format/singlelinecomments.md index 58606bda50..c8afc7c162 100644 --- a/docs/recipes/java/format/singlelinecomments.md +++ b/docs/recipes/java/format/singlelinecomments.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/spaces.md b/docs/recipes/java/format/spaces.md index 247050ecd3..51d8203c88 100644 --- a/docs/recipes/java/format/spaces.md +++ b/docs/recipes/java/format/spaces.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/tabsandindents.md b/docs/recipes/java/format/tabsandindents.md index 152a9be8d0..78b2e8625e 100644 --- a/docs/recipes/java/format/tabsandindents.md +++ b/docs/recipes/java/format/tabsandindents.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -202,4 +202,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/format/typecastparenpad.md b/docs/recipes/java/format/typecastparenpad.md index ea96fcd847..d26ec0eae2 100644 --- a/docs/recipes/java/format/typecastparenpad.md +++ b/docs/recipes/java/format/typecastparenpad.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/format/wrappingandbraces.md b/docs/recipes/java/format/wrappingandbraces.md index ee9bc5f5c8..a35dfe33a3 100644 --- a/docs/recipes/java/format/wrappingandbraces.md +++ b/docs/recipes/java/format/wrappingandbraces.md @@ -37,7 +37,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/jspecify/README.md b/docs/recipes/java/jspecify/README.md index 977e2a38e1..aa1de80c0b 100644 --- a/docs/recipes/java/jspecify/README.md +++ b/docs/recipes/java/jspecify/README.md @@ -4,6 +4,7 @@ _Recipes that include further recipes, often including the individual recipes below._ +* [JSpecify best practices](./jspecifybestpractices.md) * [Migrate from Jakarta annotation API to JSpecify](./migratefromjakartaannotationapi.md) * [Migrate from JetBrains annotations to JSpecify](./migratefromjetbrainsannotations.md) * [Migrate from OpenRewrite annotations to JSpecify](./migratefromopenrewriteannotations.md) diff --git a/docs/recipes/java/jspecify/jspecifybestpractices.md b/docs/recipes/java/jspecify/jspecifybestpractices.md new file mode 100644 index 0000000000..98b5f1ffa2 --- /dev/null +++ b/docs/recipes/java/jspecify/jspecifybestpractices.md @@ -0,0 +1,635 @@ +--- +sidebar_label: "JSpecify best practices" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# JSpecify best practices + +**org.openrewrite.java.jspecify.JSpecifyBestPractices** + +_Apply JSpecify best practices, such as migrating off of alternatives, and adding missing `@Nullable` annotations._ + +### Tags + +* java + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.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 + + + +* [Migrate to JSpecify](../../java/jspecify/migratetojspecify) +* [Annotate methods which may return `null` with `@Nullable`](../../staticanalysis/annotatenullablemethods) +* [Annotate null-checked method parameters with `@Nullable`](../../staticanalysis/annotatenullableparameters) +* [Move `@Nullable` method annotations to the return type](../../staticanalysis/nullableonmethodreturntype) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.jspecify.JSpecifyBestPractices +displayName: JSpecify best practices +description: | + Apply JSpecify best practices, such as migrating off of alternatives, and adding missing `@Nullable` annotations. +tags: + - java +recipeList: + - org.openrewrite.java.jspecify.MigrateToJSpecify + - org.openrewrite.staticanalysis.AnnotateNullableMethods + - org.openrewrite.staticanalysis.AnnotateNullableParameters + - org.openrewrite.staticanalysis.NullableOnMethodReturnType + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```java +@ParametersAreNonnullByDefault +package org.openrewrite.example; + +import javax.annotation.ParametersAreNonnullByDefault; +``` + +###### After +```java +@NullMarked +package org.openrewrite.example; + +import org.jspecify.annotations.NullMarked; +``` + + + + +```diff +@@ -1,1 +1,1 @@ +-@ParametersAreNonnullByDefault ++@NullMarked +package org.openrewrite.example; +@@ -4,1 +4,1 @@ +package org.openrewrite.example; + +-import javax.annotation.ParametersAreNonnullByDefault; ++import org.jspecify.annotations.NullMarked; + +``` + + + + + + + +###### Before +```java +import javax.annotation.Nonnull; +import javax.annotation.Nullable; + +public class Test { + @Nonnull + public String field1; + @Nullable + public String field2; + @Nullable + public Foo.Bar foobar; +} + +interface Foo { + class Bar { + @Nonnull + public String barField; + } +} +``` + +###### After +```java +import org.jspecify.annotations.NonNull; +import org.jspecify.annotations.Nullable; + +public class Test { + @NonNull + public String field1; + @Nullable + public String field2; + + public Foo.@Nullable Bar foobar; +} + +interface Foo { + class Bar { + @NonNull + public String barField; + } +} +``` + + + + +```diff +@@ -1,2 +1,2 @@ +-import javax.annotation.Nonnull; +-import javax.annotation.Nullable; ++import org.jspecify.annotations.NonNull; ++import org.jspecify.annotations.Nullable; + +@@ -5,1 +5,1 @@ + +public class Test { +- @Nonnull ++ @NonNull + public String field1; +@@ -9,2 +9,2 @@ + @Nullable + public String field2; +- @Nullable +- public Foo.Bar foobar; ++ ++ public Foo.@Nullable Bar foobar; +} +@@ -15,1 +15,1 @@ +interface Foo { + class Bar { +- @Nonnull ++ @NonNull + public String barField; +``` + + + +###### Unchanged +```mavenProject +foo +``` + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + com.example.foobar + foobar-core + 1.0.0 + + + javax.annotation + javax.annotation-api + 1.3.2 + + + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + com.example.foobar + foobar-core + 1.0.0 + + + javax.annotation + javax.annotation-api + 1.3.2 + + + org.jspecify + jspecify + 1.0.0 + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -12,0 +12,5 @@ + 1.3.2 + ++ ++ org.jspecify ++ jspecify ++ 1.0.0 ++ + +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```java +@ParametersAreNonnullByDefault +package org.openrewrite.example; + +import javax.annotation.ParametersAreNonnullByDefault; +``` + +###### After +```java +@NullMarked +package org.openrewrite.example; + +import org.jspecify.annotations.NullMarked; +``` + + + + +```diff +@@ -1,1 +1,1 @@ +-@ParametersAreNonnullByDefault ++@NullMarked +package org.openrewrite.example; +@@ -4,1 +4,1 @@ +package org.openrewrite.example; + +-import javax.annotation.ParametersAreNonnullByDefault; ++import org.jspecify.annotations.NullMarked; + +``` + + + + + + + +###### Before +```java +import javax.annotation.Nonnull; +import javax.annotation.Nullable; + +public class Test { + @Nonnull + public String field1; + @Nullable + public String field2; + @Nullable + public Foo.Bar foobar; +} + +interface Foo { + class Bar { + @Nonnull + public String barField; + } +} +``` + +###### After +```java +import org.jspecify.annotations.NonNull; +import org.jspecify.annotations.Nullable; + +public class Test { + @NonNull + public String field1; + @Nullable + public String field2; + + public Foo.@Nullable Bar foobar; +} + +interface Foo { + class Bar { + @NonNull + public String barField; + } +} +``` + + + + +```diff +@@ -1,2 +1,2 @@ +-import javax.annotation.Nonnull; +-import javax.annotation.Nullable; ++import org.jspecify.annotations.NonNull; ++import org.jspecify.annotations.Nullable; + +@@ -5,1 +5,1 @@ + +public class Test { +- @Nonnull ++ @NonNull + public String field1; +@@ -9,2 +9,2 @@ + @Nullable + public String field2; +- @Nullable +- public Foo.Bar foobar; ++ ++ public Foo.@Nullable Bar foobar; +} +@@ -15,1 +15,1 @@ +interface Foo { + class Bar { +- @Nonnull ++ @NonNull + public String barField; +``` + + + +###### Unchanged +```mavenProject +foo +``` + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + com.example.foobar + foobar-core + 1.0.0 + + + javax.annotation + javax.annotation-api + 1.3.2 + + + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + com.example.foobar + foobar-core + 1.0.0 + + + javax.annotation + javax.annotation-api + 1.3.2 + + + org.jspecify + jspecify + 1.0.0 + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -12,0 +12,5 @@ + 1.3.2 + ++ ++ org.jspecify ++ jspecify ++ 1.0.0 ++ + +``` + + + + +## 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.jspecify.JSpecifyBestPractices") + 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.jspecify.JSpecifyBestPractices") + 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.jspecify.JSpecifyBestPractices + + + + + 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.jspecify.JSpecifyBestPractices -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 JSpecifyBestPractices +``` + +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/jspecify/migratefromjakartaannotationapi.md b/docs/recipes/java/jspecify/migratefromjakartaannotationapi.md index 68497f8a9b..51803dce14 100644 --- a/docs/recipes/java/jspecify/migratefromjakartaannotationapi.md +++ b/docs/recipes/java/jspecify/migratefromjakartaannotationapi.md @@ -33,6 +33,7 @@ This recipe is available under the [Moderne Source Available License](https://do * artifactId: `jspecify` * version: `1.0.0` * onlyIfUsing: `jakarta.annotation.*ull*` + * acceptTransitive: `true` * [Change type](../../java/changetype) * oldFullyQualifiedTypeName: `jakarta.annotation.Nullable` * newFullyQualifiedTypeName: `org.jspecify.annotations.Nullable` @@ -61,6 +62,7 @@ recipeList: artifactId: jspecify version: 1.0.0 onlyIfUsing: jakarta.annotation.*ull* + acceptTransitive: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: jakarta.annotation.Nullable newFullyQualifiedTypeName: org.jspecify.annotations.Nullable @@ -86,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md b/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md index 3e83b5462c..f3d5fb4bd0 100644 --- a/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md +++ b/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md @@ -33,6 +33,7 @@ This recipe is available under the [Moderne Source Available License](https://do * artifactId: `jspecify` * version: `latest.release` * onlyIfUsing: `javax.annotation.*ull*` + * acceptTransitive: `true` * [Change type](../../java/changetype) * oldFullyQualifiedTypeName: `javax.annotation.Nullable` * newFullyQualifiedTypeName: `org.jspecify.annotations.Nullable` @@ -65,6 +66,7 @@ recipeList: artifactId: jspecify version: latest.release onlyIfUsing: javax.annotation.*ull* + acceptTransitive: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: javax.annotation.Nullable newFullyQualifiedTypeName: org.jspecify.annotations.Nullable @@ -94,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md b/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md index 01f88df5cb..48ace9d974 100644 --- a/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md +++ b/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md @@ -33,6 +33,7 @@ This recipe is available under the [Moderne Source Available License](https://do * artifactId: `jspecify` * version: `1.0.0` * onlyIfUsing: `org.jetbrains.annotations.*ull*` + * acceptTransitive: `true` * [Change type](../../java/changetype) * oldFullyQualifiedTypeName: `org.jetbrains.annotations.Nullable` * newFullyQualifiedTypeName: `org.jspecify.annotations.Nullable` @@ -61,6 +62,7 @@ recipeList: artifactId: jspecify version: 1.0.0 onlyIfUsing: org.jetbrains.annotations.*ull* + acceptTransitive: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: org.jetbrains.annotations.Nullable newFullyQualifiedTypeName: org.jspecify.annotations.Nullable @@ -86,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md b/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md index 39a705ef96..f5cc8bbb8f 100644 --- a/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md +++ b/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md @@ -116,7 +116,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md b/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md index d0de640a87..0b39fb7bb4 100644 --- a/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md +++ b/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md @@ -33,6 +33,7 @@ This recipe is available under the [Moderne Source Available License](https://do * artifactId: `jspecify` * version: `1.0.0` * onlyIfUsing: `org.springframework.lang.*ull*` + * acceptTransitive: `true` * [Change type](../../java/changetype) * oldFullyQualifiedTypeName: `org.springframework.lang.Nullable` * newFullyQualifiedTypeName: `org.jspecify.annotations.Nullable` @@ -61,6 +62,7 @@ recipeList: artifactId: jspecify version: 1.0.0 onlyIfUsing: org.springframework.lang.*ull* + acceptTransitive: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: org.springframework.lang.Nullable newFullyQualifiedTypeName: org.jspecify.annotations.Nullable @@ -86,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/jspecify/migratetojspecify.md b/docs/recipes/java/jspecify/migratetojspecify.md index 0a190a040d..e7caabd326 100644 --- a/docs/recipes/java/jspecify/migratetojspecify.md +++ b/docs/recipes/java/jspecify/migratetojspecify.md @@ -7,7 +7,7 @@ import TabItem from '@theme/TabItem'; # Migrate to JSpecify -**org.openrewrite.java.jspecify.MigrateToJspecify** +**org.openrewrite.java.jspecify.MigrateToJSpecify** _This recipe will migrate to JSpecify annotations from various other nullability annotation standards._ @@ -43,7 +43,7 @@ This recipe is available under the [Moderne Source Available License](https://do ```yaml --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.jspecify.MigrateToJspecify +name: org.openrewrite.java.jspecify.MigrateToJSpecify displayName: Migrate to JSpecify description: | This recipe will migrate to JSpecify annotations from various other nullability annotation standards. @@ -57,389 +57,6 @@ recipeList: ``` -## Examples -##### Example 1 - - - - - - -###### Before -```java -@ParametersAreNonnullByDefault -package org.openrewrite.example; - -import javax.annotation.ParametersAreNonnullByDefault; -``` - -###### After -```java -@NullMarked -package org.openrewrite.example; - -import org.jspecify.annotations.NullMarked; -``` - - - - -```diff -@@ -1,1 +1,1 @@ --@ParametersAreNonnullByDefault -+@NullMarked -package org.openrewrite.example; -@@ -4,1 +4,1 @@ -package org.openrewrite.example; - --import javax.annotation.ParametersAreNonnullByDefault; -+import org.jspecify.annotations.NullMarked; - -``` - - - - - - - -###### Before -```java -import javax.annotation.Nonnull; -import javax.annotation.Nullable; - -public class Test { - @Nonnull - public String field1; - @Nullable - public String field2; - @Nullable - public Foo.Bar foobar; -} - -interface Foo { - class Bar { - @Nonnull - public String barField; - } -} -``` - -###### After -```java -import org.jspecify.annotations.NonNull; -import org.jspecify.annotations.Nullable; - -public class Test { - @NonNull - public String field1; - @Nullable - public String field2; - - public Foo.@Nullable Bar foobar; -} - -interface Foo { - class Bar { - @NonNull - public String barField; - } -} -``` - - - - -```diff -@@ -1,2 +1,2 @@ --import javax.annotation.Nonnull; --import javax.annotation.Nullable; -+import org.jspecify.annotations.NonNull; -+import org.jspecify.annotations.Nullable; - -@@ -5,1 +5,1 @@ - -public class Test { -- @Nonnull -+ @NonNull - public String field1; -@@ -9,2 +9,2 @@ - @Nullable - public String field2; -- @Nullable -- public Foo.Bar foobar; -+ -+ public Foo.@Nullable Bar foobar; -} -@@ -15,1 +15,1 @@ -interface Foo { - class Bar { -- @Nonnull -+ @NonNull - public String barField; -``` - - - -###### Unchanged -```mavenProject -foo -``` - - - - - -###### Before -```xml title="pom.xml" - - 4.0.0 - com.example.foobar - foobar-core - 1.0.0 - - - javax.annotation - javax.annotation-api - 1.3.2 - - - -``` - -###### After -```xml title="pom.xml" - - 4.0.0 - com.example.foobar - foobar-core - 1.0.0 - - - javax.annotation - javax.annotation-api - 1.3.2 - - - org.jspecify - jspecify - 1.0.0 - - - -``` - - - - -```diff ---- pom.xml -+++ pom.xml -@@ -12,0 +12,5 @@ - 1.3.2 - -+ -+ org.jspecify -+ jspecify -+ 1.0.0 -+ - -``` - - - ---- - -##### Example 2 - - - - - - -###### Before -```java -@ParametersAreNonnullByDefault -package org.openrewrite.example; - -import javax.annotation.ParametersAreNonnullByDefault; -``` - -###### After -```java -@NullMarked -package org.openrewrite.example; - -import org.jspecify.annotations.NullMarked; -``` - - - - -```diff -@@ -1,1 +1,1 @@ --@ParametersAreNonnullByDefault -+@NullMarked -package org.openrewrite.example; -@@ -4,1 +4,1 @@ -package org.openrewrite.example; - --import javax.annotation.ParametersAreNonnullByDefault; -+import org.jspecify.annotations.NullMarked; - -``` - - - - - - - -###### Before -```java -import javax.annotation.Nonnull; -import javax.annotation.Nullable; - -public class Test { - @Nonnull - public String field1; - @Nullable - public String field2; - @Nullable - public Foo.Bar foobar; -} - -interface Foo { - class Bar { - @Nonnull - public String barField; - } -} -``` - -###### After -```java -import org.jspecify.annotations.NonNull; -import org.jspecify.annotations.Nullable; - -public class Test { - @NonNull - public String field1; - @Nullable - public String field2; - - public Foo.@Nullable Bar foobar; -} - -interface Foo { - class Bar { - @NonNull - public String barField; - } -} -``` - - - - -```diff -@@ -1,2 +1,2 @@ --import javax.annotation.Nonnull; --import javax.annotation.Nullable; -+import org.jspecify.annotations.NonNull; -+import org.jspecify.annotations.Nullable; - -@@ -5,1 +5,1 @@ - -public class Test { -- @Nonnull -+ @NonNull - public String field1; -@@ -9,2 +9,2 @@ - @Nullable - public String field2; -- @Nullable -- public Foo.Bar foobar; -+ -+ public Foo.@Nullable Bar foobar; -} -@@ -15,1 +15,1 @@ -interface Foo { - class Bar { -- @Nonnull -+ @NonNull - public String barField; -``` - - - -###### Unchanged -```mavenProject -foo -``` - - - - - -###### Before -```xml title="pom.xml" - - 4.0.0 - com.example.foobar - foobar-core - 1.0.0 - - - javax.annotation - javax.annotation-api - 1.3.2 - - - -``` - -###### After -```xml title="pom.xml" - - 4.0.0 - com.example.foobar - foobar-core - 1.0.0 - - - javax.annotation - javax.annotation-api - 1.3.2 - - - org.jspecify - jspecify - 1.0.0 - - - -``` - - - - -```diff ---- pom.xml -+++ pom.xml -@@ -12,0 +12,5 @@ - 1.3.2 - -+ -+ org.jspecify -+ jspecify -+ 1.0.0 -+ - -``` - - - ## Usage @@ -451,11 +68,11 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { - activeRecipe("org.openrewrite.java.jspecify.MigrateToJspecify") + activeRecipe("org.openrewrite.java.jspecify.MigrateToJSpecify") setExportDatatables(true) } @@ -488,7 +105,7 @@ rootProject { rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") } rewrite { - activeRecipe("org.openrewrite.java.jspecify.MigrateToJspecify") + activeRecipe("org.openrewrite.java.jspecify.MigrateToJSpecify") setExportDatatables(true) } afterEvaluate { @@ -523,7 +140,7 @@ gradle --init-script init.gradle rewriteRun true - org.openrewrite.java.jspecify.MigrateToJspecify + org.openrewrite.java.jspecify.MigrateToJSpecify @@ -546,7 +163,7 @@ gradle --init-script init.gradle rewriteRun 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.jspecify.MigrateToJspecify -Drewrite.exportDatatables=true +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.jspecify.MigrateToJSpecify -Drewrite.exportDatatables=true ``` @@ -554,7 +171,7 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCo 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 MigrateToJspecify +mod run . --recipe MigrateToJSpecify ``` If the recipe is not available locally, then you can install it using: @@ -568,7 +185,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VER 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. diff --git a/docs/recipes/java/liberty/README.md b/docs/recipes/java/liberty/README.md index 2495f5c549..d64ed3dcac 100644 --- a/docs/recipes/java/liberty/README.md +++ b/docs/recipes/java/liberty/README.md @@ -10,6 +10,7 @@ _Recipes that include further recipes, often including the individual recipes be ## Recipes * [Removes invalid JNDI properties](./removewas2libertynonportablejndilookup.md) +* [Replace `WSPrincipal.getCredential()` with `WSSubject` lookup](./replacewsprincipalgetcredential.md) * [Replace `revokeSSOCookies` with `logout`](./websphereunavailablessocookiemethod.md) * [Use `getProperty("wlp.server.name")`](./servername.md) diff --git a/docs/recipes/java/liberty/migratefromwebspheretoliberty.md b/docs/recipes/java/liberty/migratefromwebspheretoliberty.md index 1be1f2ff50..512a456146 100644 --- a/docs/recipes/java/liberty/migratefromwebspheretoliberty.md +++ b/docs/recipes/java/liberty/migratefromwebspheretoliberty.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -256,4 +256,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [cjobinabo](mailto:chukaobinabo@gmail.com), Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [anuram](mailto:ranuradh@us.ibm.com) +[Tim te Beek](mailto:tim@moderne.io), [cjobinabo](mailto:chukaobinabo@gmail.com), Chuka Obinabo, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [anuram](mailto:ranuradh@us.ibm.com) diff --git a/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md b/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md index 7facc0d237..74e7f550f5 100644 --- a/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md +++ b/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/liberty/replacewsprincipalgetcredential.md b/docs/recipes/java/liberty/replacewsprincipalgetcredential.md new file mode 100644 index 0000000000..ad3a1119cc --- /dev/null +++ b/docs/recipes/java/liberty/replacewsprincipalgetcredential.md @@ -0,0 +1,296 @@ +--- +sidebar_label: "Replace WSPrincipal.getCredential() with WSSubject lookup" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace `WSPrincipal.getCredential()` with `WSSubject` lookup + +**org.openrewrite.java.liberty.ReplaceWSPrincipalGetCredential** + +_Replaces `WSCredential credential = WSPrincipal.getCredential();` with a `null` initializer + `try/catch` lookup._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/java/liberty/ReplaceWSPrincipalGetCredential.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + +## Example + + + + + + +###### Before +```java +package com.acme; + +import com.ibm.websphere.security.auth.WSPrincipal; +import com.ibm.websphere.security.cred.WSCredential; + +class A { + void fetchCredential() { + WSCredential credential = WSPrincipal.getCredential(); + } +} +``` + +###### After +```java +package com.acme; + +import com.ibm.websphere.security.auth.WSSubject; +import com.ibm.websphere.security.cred.WSCredential; + +import javax.security.auth.Subject; + +class A { + void fetchCredential() { + WSCredential credential = null; + try { + Subject subject = WSSubject.getCallerSubject(); + if (subject != null) { + credential = subject.getPublicCredentials(WSCredential.class) + .iterator().next(); + } + } catch (Exception e) { + e.printStackTrace(); + } + } +} +``` + + + + +```diff +@@ -3,1 +3,1 @@ +package com.acme; + +-import com.ibm.websphere.security.auth.WSPrincipal; ++import com.ibm.websphere.security.auth.WSSubject; +import com.ibm.websphere.security.cred.WSCredential; +@@ -6,0 +6,2 @@ +import com.ibm.websphere.security.cred.WSCredential; + ++import javax.security.auth.Subject; ++ +class A { +@@ -8,1 +10,10 @@ +class A { + void fetchCredential() { +- WSCredential credential = WSPrincipal.getCredential(); ++ WSCredential credential = null; ++ try { ++ Subject subject = WSSubject.getCallerSubject(); ++ if (subject != null) { ++ credential = subject.getPublicCredentials(WSCredential.class) ++ .iterator().next(); ++ } ++ } catch (Exception e) { ++ e.printStackTrace(); ++ } + } +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` 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.liberty.ReplaceWSPrincipalGetCredential") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-liberty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LIBERTY}}") +} +``` + +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-liberty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LIBERTY}}") + } + rewrite { + activeRecipe("org.openrewrite.java.liberty.ReplaceWSPrincipalGetCredential") + 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.liberty.ReplaceWSPrincipalGetCredential + + + + + org.openrewrite.recipe + rewrite-liberty + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LIBERTY}} + + + + + + +``` + +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-liberty:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.liberty.ReplaceWSPrincipalGetCredential -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 ReplaceWSPrincipalGetCredential +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-liberty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LIBERTY}} +``` + + + +## 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 +[Avneesh Dubey](mailto:avneesh.dubey@ibm.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/liberty/servername.md b/docs/recipes/java/liberty/servername.md index 879576bcca..4897a92bbf 100644 --- a/docs/recipes/java/liberty/servername.md +++ b/docs/recipes/java/liberty/servername.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md b/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md index d7f7bfeef7..d78c5ab3e5 100644 --- a/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md +++ b/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,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), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/liberty/websphereunavailablessomethods.md b/docs/recipes/java/liberty/websphereunavailablessomethods.md index a5fb5d2145..be5250642b 100644 --- a/docs/recipes/java/liberty/websphereunavailablessomethods.md +++ b/docs/recipes/java/liberty/websphereunavailablessomethods.md @@ -211,7 +211,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -393,4 +393,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), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/logging/README.md b/docs/recipes/java/logging/README.md index 166e6f8a67..ee07761ff7 100644 --- a/docs/recipes/java/logging/README.md +++ b/docs/recipes/java/logging/README.md @@ -19,6 +19,7 @@ _Recipes that include further recipes, often including the individual recipes be ## Recipes * [Catch block log level](./catchblockloglevel.md) +* [Change logger fields to `private`](./changeloggerstoprivate.md) * [Parameterize logging statements](./parameterizedlogging.md) * [Use logger instead of `System.err` print statements](./systemerrtologging.md) * [Use logger instead of `System.out` print statements](./systemouttologging.md) diff --git a/docs/recipes/java/logging/catchblockloglevel.md b/docs/recipes/java/logging/catchblockloglevel.md index 317402435f..e7f5aec4ef 100644 --- a/docs/recipes/java/logging/catchblockloglevel.md +++ b/docs/recipes/java/logging/catchblockloglevel.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/changeloggerstoprivate.md b/docs/recipes/java/logging/changeloggerstoprivate.md new file mode 100644 index 0000000000..663b7c196f --- /dev/null +++ b/docs/recipes/java/logging/changeloggerstoprivate.md @@ -0,0 +1,256 @@ +--- +sidebar_label: "Change logger fields to private" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Change logger fields to `private` + +**org.openrewrite.java.logging.ChangeLoggersToPrivate** + +_Ensures that logger fields are declared as `private` to encapsulate logging mechanics within the class._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/ChangeLoggersToPrivate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Example + + + + + + +###### Before +```java +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +class Test { + public static final Logger LOGGER = LoggerFactory.getLogger(Test.class); +} +``` + +###### After +```java +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +class Test { + private static final Logger LOGGER = LoggerFactory.getLogger(Test.class); +} +``` + + + + +```diff +@@ -5,1 +5,1 @@ + +class Test { +- public static final Logger LOGGER = LoggerFactory.getLogger(Test.class); ++ private static final Logger LOGGER = LoggerFactory.getLogger(Test.class); +} +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` 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.logging.ChangeLoggersToPrivate") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}}") +} +``` + +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-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}}") + } + rewrite { + activeRecipe("org.openrewrite.java.logging.ChangeLoggersToPrivate") + 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.logging.ChangeLoggersToPrivate + + + + + org.openrewrite.recipe + rewrite-logging-frameworks + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} + + + + + + +``` + +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-logging-frameworks:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.logging.ChangeLoggersToPrivate -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 ChangeLoggersToPrivate +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} +``` + + + +## 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 +jhl221123 diff --git a/docs/recipes/java/logging/changelomboklogannotation.md b/docs/recipes/java/logging/changelomboklogannotation.md index d650b42644..1f86bd486d 100644 --- a/docs/recipes/java/logging/changelomboklogannotation.md +++ b/docs/recipes/java/logging/changelomboklogannotation.md @@ -127,7 +127,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md index 374e92a0ad..9b4506f1dc 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md index f962b97b72..aaed2ac599 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md index 23e2634e81..d28000cd3f 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md index 6568fc3720..d2b4efa874 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md index 6855622c9f..d4219b792a 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md index 4efbf6edb1..e39a544d03 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md index d269b28289..14a668030c 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md index b64bbe40ed..0b2b4e4f06 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md index 8c386e91f7..df60acae68 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md index cb7d00d1f8..5cecf3e0ee 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md index 7c776d99da..f2705f3715 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md index f2b847a860..aeb8f1d289 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md index fd6444dfa9..4f2a92662d 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md index 95d8da52f5..a315794c16 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md index c4cafb9c00..faad522a13 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md @@ -155,7 +155,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md b/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md index 295ea95b48..691f9897c0 100644 --- a/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md +++ b/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md @@ -215,7 +215,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/convertjulentering.md b/docs/recipes/java/logging/log4j/convertjulentering.md index 4768371581..ad2a15e12e 100644 --- a/docs/recipes/java/logging/log4j/convertjulentering.md +++ b/docs/recipes/java/logging/log4j/convertjulentering.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/convertjulexiting.md b/docs/recipes/java/logging/log4j/convertjulexiting.md index 82ef3901e7..7f79fae46a 100644 --- a/docs/recipes/java/logging/log4j/convertjulexiting.md +++ b/docs/recipes/java/logging/log4j/convertjulexiting.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/jultolog4j.md b/docs/recipes/java/logging/log4j/jultolog4j.md index c0df8e9f76..95c6167bee 100644 --- a/docs/recipes/java/logging/log4j/jultolog4j.md +++ b/docs/recipes/java/logging/log4j/jultolog4j.md @@ -357,7 +357,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/log4j1tolog4j2.md b/docs/recipes/java/logging/log4j/log4j1tolog4j2.md index 269086f537..c57e3d981d 100644 --- a/docs/recipes/java/logging/log4j/log4j1tolog4j2.md +++ b/docs/recipes/java/logging/log4j/log4j1tolog4j2.md @@ -299,7 +299,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -481,4 +481,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Pierre Delagrave](mailto:pierre@moderne.io) diff --git a/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md b/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md index 436ce1687f..13465993a5 100644 --- a/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md +++ b/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md b/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md index 691a407620..9e16228f14 100644 --- a/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md +++ b/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/parameterizedlogging.md b/docs/recipes/java/logging/log4j/parameterizedlogging.md index fe50374adb..0449346492 100644 --- a/docs/recipes/java/logging/log4j/parameterizedlogging.md +++ b/docs/recipes/java/logging/log4j/parameterizedlogging.md @@ -120,7 +120,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -302,4 +302,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [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, [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +Aaron Gershman, [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, [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Pierre Delagrave](mailto:pierre@moderne.io) diff --git a/docs/recipes/java/logging/log4j/prependrandomname.md b/docs/recipes/java/logging/log4j/prependrandomname.md index 2bd05f8995..cff0019602 100644 --- a/docs/recipes/java/logging/log4j/prependrandomname.md +++ b/docs/recipes/java/logging/log4j/prependrandomname.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/slf4jtolog4j.md b/docs/recipes/java/logging/log4j/slf4jtolog4j.md index 6372c56d3e..bfe7b74ffb 100644 --- a/docs/recipes/java/logging/log4j/slf4jtolog4j.md +++ b/docs/recipes/java/logging/log4j/slf4jtolog4j.md @@ -335,7 +335,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md b/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md index 81b0a915fd..15bc4cd887 100644 --- a/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md +++ b/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/logback/configureloggerlevel.md b/docs/recipes/java/logging/logback/configureloggerlevel.md index ec9e32b0f7..717b8dd4a6 100644 --- a/docs/recipes/java/logging/logback/configureloggerlevel.md +++ b/docs/recipes/java/logging/logback/configureloggerlevel.md @@ -111,7 +111,7 @@ Now that `com.yourorg.ConfigureLoggerLevelExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/logback/log4jappendertologback.md b/docs/recipes/java/logging/logback/log4jappendertologback.md index eb23e21f30..68de073dab 100644 --- a/docs/recipes/java/logging/logback/log4jappendertologback.md +++ b/docs/recipes/java/logging/logback/log4jappendertologback.md @@ -33,8 +33,8 @@ import org.apache.log4j.spi.LoggingEvent; class TrivialAppender extends AppenderSkeleton { @Override - protected void append(LoggingEvent loggingEvent) { - String s = this.layout.format(loggingEvent); + protected void append(LoggingEvent event) { + String s = this.layout.format(event); System.out.println(s); } @@ -57,8 +57,8 @@ import ch.qos.logback.core.AppenderBase; class TrivialAppender extends AppenderBase { @Override - protected void append(ILoggingEvent loggingEvent) { - String s = this.layout.doLayout(loggingEvent); + protected void append(ILoggingEvent event) { + String s = this.layout.doLayout(event); System.out.println(s); } } @@ -83,10 +83,10 @@ import org.apache.log4j.spi.LoggingEvent; @@ -6,2 +6,2 @@ class TrivialAppender extends AppenderSkeleton { @Override -- protected void append(LoggingEvent loggingEvent) { -- String s = this.layout.format(loggingEvent); -+ protected void append(ILoggingEvent loggingEvent) { -+ String s = this.layout.doLayout(loggingEvent); +- protected void append(LoggingEvent event) { +- String s = this.layout.format(event); ++ protected void append(ILoggingEvent event) { ++ String s = this.layout.doLayout(event); System.out.println(s); @@ -10,10 +10,0 @@ System.out.println(s); @@ -117,7 +117,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/logback/log4jlayouttologback.md b/docs/recipes/java/logging/logback/log4jlayouttologback.md index fbed3301d5..1645561794 100644 --- a/docs/recipes/java/logging/logback/log4jlayouttologback.md +++ b/docs/recipes/java/logging/logback/log4jlayouttologback.md @@ -39,8 +39,8 @@ class TrivialLayout extends Layout { } @Override - public String format(LoggingEvent loggingEvent) { - return loggingEvent.getRenderedMessage(); + public String format(LoggingEvent event) { + return event.getRenderedMessage(); } @Override @@ -58,8 +58,8 @@ import ch.qos.logback.core.LayoutBase; class TrivialLayout extends LayoutBase { @Override - public String doLayout(ILoggingEvent loggingEvent) { - return loggingEvent.getMessage(); + public String doLayout(ILoggingEvent event) { + return event.getMessage(); } } ``` @@ -85,16 +85,16 @@ import org.apache.log4j.spi.LoggingEvent; @Override - public void activateOptions() { - // there are no options to activate -+ public String doLayout(ILoggingEvent loggingEvent) { -+ return loggingEvent.getMessage(); ++ public String doLayout(ILoggingEvent event) { ++ return event.getMessage(); } @@ -10,10 +10,0 @@ // there are no options to activate } - - @Override -- public String format(LoggingEvent loggingEvent) { -- return loggingEvent.getRenderedMessage(); +- public String format(LoggingEvent event) { +- return event.getRenderedMessage(); - } - - @Override @@ -117,7 +117,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/logback/log4jtologback.md b/docs/recipes/java/logging/logback/log4jtologback.md index 11a802ad2e..b8f85405d4 100644 --- a/docs/recipes/java/logging/logback/log4jtologback.md +++ b/docs/recipes/java/logging/logback/log4jtologback.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -290,4 +290,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [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), [Jonathan Schneider](mailto:jkschneider@gmail.com), Patrick Way, [Kun Li](mailto:kun@moderne.io), [Peter Streef](mailto:p.streef@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com) +Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [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), [Jonathan Schneider](mailto:jkschneider@gmail.com), Patrick Way, [Kun Li](mailto:kun@moderne.io), [Peter Streef](mailto:p.streef@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com) diff --git a/docs/recipes/java/logging/parameterizedlogging.md b/docs/recipes/java/logging/parameterizedlogging.md index a70eaa4b81..94e8d35f55 100644 --- a/docs/recipes/java/logging/parameterizedlogging.md +++ b/docs/recipes/java/logging/parameterizedlogging.md @@ -103,7 +103,7 @@ Now that `com.yourorg.ParameterizedLoggingExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -237,4 +237,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Pierre Delagrave](mailto:pierre@moderne.io) diff --git a/docs/recipes/java/logging/printstacktracetologerror.md b/docs/recipes/java/logging/printstacktracetologerror.md index b2c64217e0..250e4ae5bb 100644 --- a/docs/recipes/java/logging/printstacktracetologerror.md +++ b/docs/recipes/java/logging/printstacktracetologerror.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/README.md b/docs/recipes/java/logging/slf4j/README.md index 4d565e47ca..8fc951086b 100644 --- a/docs/recipes/java/logging/slf4j/README.md +++ b/docs/recipes/java/logging/slf4j/README.md @@ -24,6 +24,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Change SLF4J log level](./changeloglevel.md) * [Enhances logging of exceptions by including the full stack trace in addition to the exception message](./completeexceptionlogging.md) * [Loggers should be named for their enclosing classes](./loggersnamedforenclosingclass.md) +* [Match `if (is*Enabled())` with logging statements](./matchisloglevelenabledwithlogstatements.md) * [Replace JUL `Level.ALL` logging with SLF4J's trace level](./jullevelalltotracerecipe.md) * [Replace JUL `Logger.config(Supplier)` with SLF4J's `Logger.atInfo().log(Supplier)`](./jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md) * [Replace JUL `Logger.fine(Supplier)` with SLF4J's `Logger.atDebug().log(Supplier)`](./jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md) @@ -68,6 +69,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Replace JUL `logger.log(Level.WARNING, e, Supplier)` with SLF4J's `Logger.atWarn().log(Supplier)`](./jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md) * [Replace parameterized JUL level call with corresponding SLF4J method calls](./julparameterizedarguments.md) * [SLF4J logging statements should begin with constants](./slf4jlogshouldbeconstant.md) +* [Strip `toString()` from arguments](./striptostringfromarguments.md) * [Wrap expensive log statements in conditionals](./wrapexpensivelogstatementsinconditionals.md) diff --git a/docs/recipes/java/logging/slf4j/changeloglevel.md b/docs/recipes/java/logging/slf4j/changeloglevel.md index 95f9be1829..1cfead7fcd 100644 --- a/docs/recipes/java/logging/slf4j/changeloglevel.md +++ b/docs/recipes/java/logging/slf4j/changeloglevel.md @@ -108,7 +108,7 @@ Now that `com.yourorg.ChangeLogLevelExample` has been defined, activate it and t ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md b/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md index 7258e7d6b9..b9b2ec365b 100644 --- a/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md +++ b/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md @@ -225,7 +225,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/completeexceptionlogging.md b/docs/recipes/java/logging/slf4j/completeexceptionlogging.md index b3d9726b64..5d7c3689c7 100644 --- a/docs/recipes/java/logging/slf4j/completeexceptionlogging.md +++ b/docs/recipes/java/logging/slf4j/completeexceptionlogging.md @@ -126,7 +126,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md index 73fdd70190..341c843459 100644 --- a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md +++ b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md index de0847f7ff..dd96929d43 100644 --- a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md +++ b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md index bf522ac4d0..ffae367255 100644 --- a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md +++ b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md index c86a8865d0..464e40d956 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md index 5a4c2c4950..9d49f5d7bc 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md index 795f5a4301..463458237d 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md index 03aed91e3f..141ae01bdb 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md index 4ee805d661..83ade3204f 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md index 738a40df35..2f80b1fd84 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md index b71b6eea22..fa4eecb821 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md index 15321b03db..04de48006e 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md index 75149b07be..a4fc41a59f 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md b/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md index d27a4c5a0a..ef7392d9c7 100644 --- a/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md +++ b/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/julparameterizedarguments.md b/docs/recipes/java/logging/slf4j/julparameterizedarguments.md index cb8b041ef9..75f6e067f3 100644 --- a/docs/recipes/java/logging/slf4j/julparameterizedarguments.md +++ b/docs/recipes/java/logging/slf4j/julparameterizedarguments.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4j.md b/docs/recipes/java/logging/slf4j/jultoslf4j.md index b39115f9b4..d9aa81da6c 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4j.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4j.md @@ -427,7 +427,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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, [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), [Mike Solomon](mailto:mike@moderne.io) +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) diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md index 36ff1e768f..cae0f15aa0 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md index c60b313b5f..f0f373041f 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md index 00523d6603..d5a0cdec53 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md index bbd04447d5..aa55619596 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md index eb6c4cf8ee..b408239f21 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md index 101408d0c7..6b827b0adf 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md index 1d13c903d8..4998d37717 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md index f45ab3751e..d16fcc9120 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md index 54bb0b0f7c..84d80b3754 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md index 97e4af174c..59cb172da5 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md index 3a51793298..93bf2acdf2 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md index c168a1c531..89e46465b5 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md index d8eb4d1aa6..481ccbf94b 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md index 27391276f2..62f600a2a8 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md index e2f758f385..6840009ba2 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md index c2ce584079..92029f1c24 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md index 9ed42bc934..0fe156a27b 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md index ed49ed8567..f5b57e5ac5 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md index fd9c188e2f..c37a75c7d3 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md index 271853b68f..a673f76e3b 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md index 0cd67b9f73..f5770ad273 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md index 9d93637420..e648d493d2 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md index 09dfac8448..adb8a57ba0 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md index 5b3fcf32c5..d75ff17e4d 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md index 908a07f3a5..ef04cb9fc8 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md index 1987186540..6da4b7f431 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md index e3e7065929..2e60d7eff9 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md index 61dad32366..c0015210b7 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md index 1016868e67..cdfc37e4d8 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md index 86c969c2d6..2aa4e585fe 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md index 0f64517c89..b14d7da990 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md index 520ad0f8c5..ab830613ff 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md index 96696ba893..ae617134cf 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md index 6bddc8c5a3..9973f7b8cd 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md b/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md index 7cfc55a161..fe85063dce 100644 --- a/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md +++ b/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md @@ -171,7 +171,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -353,4 +353,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Adriano Machado, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Pierre Delagrave](mailto:pierre@moderne.io) diff --git a/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md b/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md index 7fe30bef40..6436f52514 100644 --- a/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md +++ b/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md @@ -191,7 +191,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -373,4 +373,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:tim@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) +Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:tim@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), [Pierre Delagrave](mailto:pierre@moderne.io) diff --git a/docs/recipes/java/logging/slf4j/log4jtoslf4j.md b/docs/recipes/java/logging/slf4j/log4jtoslf4j.md index 969acc6808..b8a68f4da3 100644 --- a/docs/recipes/java/logging/slf4j/log4jtoslf4j.md +++ b/docs/recipes/java/logging/slf4j/log4jtoslf4j.md @@ -140,7 +140,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -322,4 +322,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [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), [Kun Li](mailto:kun@moderne.io), [Peter Streef](mailto:p.streef@gmail.com) +Aaron Gershman, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Md Riyazul Islam, [Tim te Beek](mailto:tim@moderne.io), [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), [Kun Li](mailto:kun@moderne.io), [Peter Streef](mailto:p.streef@gmail.com) diff --git a/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md b/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md index 97d8c0bb7b..bd44b09a54 100644 --- a/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md +++ b/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/matchisloglevelenabledwithlogstatements.md b/docs/recipes/java/logging/slf4j/matchisloglevelenabledwithlogstatements.md new file mode 100644 index 0000000000..6ef3eb482d --- /dev/null +++ b/docs/recipes/java/logging/slf4j/matchisloglevelenabledwithlogstatements.md @@ -0,0 +1,258 @@ +--- +sidebar_label: "Match if (is*Enabled()) with logging statements" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Match `if (is*Enabled())` with logging statements + +**org.openrewrite.java.logging.slf4j.MatchIsLogLevelEnabledWithLogStatements** + +_Change any `if (is*Enabled())` statements that do not match the maximum log level used in the `then` part to use the matching `is*Enabled()` method for that log level. This ensures that the logging condition is consistent with the actual logging statements._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/MatchIsLogLevelEnabledWithLogStatements.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). + +## Example + + + + + + +###### Before +```java +class Test { + void test(org.slf4j.Logger logger) { + if (logger.isDebugEnabled()) { + logger.info("message"); + } + } +} +``` + +###### After +```java +class Test { + void test(org.slf4j.Logger logger) { + if (logger.isInfoEnabled()) { + logger.info("message"); + } + } +} +``` + + + + +```diff +@@ -3,1 +3,1 @@ +class Test { + void test(org.slf4j.Logger logger) { +- if (logger.isDebugEnabled()) { ++ if (logger.isInfoEnabled()) { + logger.info("message"); +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` 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.logging.slf4j.MatchIsLogLevelEnabledWithLogStatements") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}}") +} +``` + +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-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}}") + } + rewrite { + activeRecipe("org.openrewrite.java.logging.slf4j.MatchIsLogLevelEnabledWithLogStatements") + 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.logging.slf4j.MatchIsLogLevelEnabledWithLogStatements + + + + + org.openrewrite.recipe + rewrite-logging-frameworks + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} + + + + + + +``` + +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-logging-frameworks:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.logging.slf4j.MatchIsLogLevelEnabledWithLogStatements -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 MatchIsLogLevelEnabledWithLogStatements +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} +``` + + + +## 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/logging/slf4j/parameterizedlogging.md b/docs/recipes/java/logging/slf4j/parameterizedlogging.md index 6f7dc2c7e8..72da5e1820 100644 --- a/docs/recipes/java/logging/slf4j/parameterizedlogging.md +++ b/docs/recipes/java/logging/slf4j/parameterizedlogging.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -268,4 +268,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Aaron Gershman, [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, [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +Aaron Gershman, [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, [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Pierre Delagrave](mailto:pierre@moderne.io) diff --git a/docs/recipes/java/logging/slf4j/slf4jbestpractices.md b/docs/recipes/java/logging/slf4j/slf4jbestpractices.md index 3bb5528061..5d136f578b 100644 --- a/docs/recipes/java/logging/slf4j/slf4jbestpractices.md +++ b/docs/recipes/java/logging/slf4j/slf4jbestpractices.md @@ -38,7 +38,10 @@ This recipe is available under the [Moderne Source Available License](https://do * [SLF4J logging statements should begin with constants](../../../java/logging/slf4j/slf4jlogshouldbeconstant) * [Enhances logging of exceptions by including the full stack trace in addition to the exception message](../../../java/logging/slf4j/completeexceptionlogging) * [Catch block log level](../../../java/logging/catchblockloglevel) +* [Change logger fields to `private`](../../../java/logging/changeloggerstoprivate) +* [Match `if (is*Enabled())` with logging statements](../../../java/logging/slf4j/matchisloglevelenabledwithlogstatements) * [Wrap expensive log statements in conditionals](../../../java/logging/slf4j/wrapexpensivelogstatementsinconditionals) +* [Strip `toString()` from arguments](../../../java/logging/slf4j/striptostringfromarguments) @@ -60,7 +63,10 @@ recipeList: - org.openrewrite.java.logging.slf4j.Slf4jLogShouldBeConstant - org.openrewrite.java.logging.slf4j.CompleteExceptionLogging - org.openrewrite.java.logging.CatchBlockLogLevel + - org.openrewrite.java.logging.ChangeLoggersToPrivate + - org.openrewrite.java.logging.slf4j.MatchIsLogLevelEnabledWithLogStatements - org.openrewrite.java.logging.slf4j.WrapExpensiveLogStatementsInConditionals + - org.openrewrite.java.logging.slf4j.StripToStringFromArguments ``` @@ -96,7 +102,7 @@ class Test { import org.slf4j.Logger; import org.slf4j.LoggerFactory; class Test { - Logger logger = LoggerFactory.getLogger(Test.class); + private Logger logger = LoggerFactory.getLogger(Test.class); void test() { Object obj1 = new Object(); Object obj2 = new Object(); @@ -117,7 +123,7 @@ class Test { import org.slf4j.LoggerFactory; class Test { - Logger logger = LoggerFactory.getLogger(String.class); -+ Logger logger = LoggerFactory.getLogger(Test.class); ++ private Logger logger = LoggerFactory.getLogger(Test.class); void test() { @@ -8,1 +8,1 @@ Object obj1 = new Object(); @@ -171,7 +177,7 @@ class Test { import org.slf4j.Logger; import org.slf4j.LoggerFactory; class Test { - Logger logger = LoggerFactory.getLogger(Test.class); + private Logger logger = LoggerFactory.getLogger(Test.class); void test() { Object obj1 = new Object(); Object obj2 = new Object(); @@ -192,7 +198,7 @@ class Test { import org.slf4j.LoggerFactory; class Test { - Logger logger = LoggerFactory.getLogger(String.class); -+ Logger logger = LoggerFactory.getLogger(Test.class); ++ private Logger logger = LoggerFactory.getLogger(Test.class); void test() { @@ -8,1 +8,1 @@ Object obj1 = new Object(); @@ -225,7 +231,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -407,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), 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), [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) diff --git a/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md b/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md index a9a8914b1a..f9795d7372 100644 --- a/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md +++ b/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/slf4j/striptostringfromarguments.md b/docs/recipes/java/logging/slf4j/striptostringfromarguments.md new file mode 100644 index 0000000000..6ba73a0a8f --- /dev/null +++ b/docs/recipes/java/logging/slf4j/striptostringfromarguments.md @@ -0,0 +1,215 @@ +--- +sidebar_label: "Strip toString() from arguments" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Strip `toString()` from arguments + +**org.openrewrite.java.logging.slf4j.StripToStringFromArguments** + +_Remove `.toString()` from logger call arguments; SLF4J will automatically call `toString()` on an argument when not a string, and do so only if the log level is enabled._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/StripToStringFromArguments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) + +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-logging-frameworks` 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.logging.slf4j.StripToStringFromArguments") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}}") +} +``` + +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-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}}") + } + rewrite { + activeRecipe("org.openrewrite.java.logging.slf4j.StripToStringFromArguments") + 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.logging.slf4j.StripToStringFromArguments + + + + + org.openrewrite.recipe + rewrite-logging-frameworks + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} + + + + + + +``` + +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-logging-frameworks:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.logging.slf4j.StripToStringFromArguments -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 StripToStringFromArguments +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_LOGGING_FRAMEWORKS}} +``` + + + +## 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 +[Pierre Delagrave](mailto:pierre@moderne.io) diff --git a/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md b/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md index 0bd48703e8..bd18cce6ec 100644 --- a/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md +++ b/docs/recipes/java/logging/slf4j/wrapexpensivelogstatementsinconditionals.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/systemerrtologging.md b/docs/recipes/java/logging/systemerrtologging.md index e89026aa34..4de00ae87d 100644 --- a/docs/recipes/java/logging/systemerrtologging.md +++ b/docs/recipes/java/logging/systemerrtologging.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/systemouttologging.md b/docs/recipes/java/logging/systemouttologging.md index 08c193b617..431bff8d20 100644 --- a/docs/recipes/java/logging/systemouttologging.md +++ b/docs/recipes/java/logging/systemouttologging.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/logging/systemprinttologging.md b/docs/recipes/java/logging/systemprinttologging.md index d15ccb71fa..bcaa99755f 100644 --- a/docs/recipes/java/logging/systemprinttologging.md +++ b/docs/recipes/java/logging/systemprinttologging.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/addannotationprocessorpath.md b/docs/recipes/java/micronaut/addannotationprocessorpath.md index 0d234e1463..79c614372e 100644 --- a/docs/recipes/java/micronaut/addannotationprocessorpath.md +++ b/docs/recipes/java/micronaut/addannotationprocessorpath.md @@ -56,7 +56,7 @@ Now that `com.yourorg.AddAnnotationProcessorPathExample` has been defined, activ ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/addhttprequesttypeparameter.md b/docs/recipes/java/micronaut/addhttprequesttypeparameter.md index 41c88677d2..8054f059a9 100644 --- a/docs/recipes/java/micronaut/addhttprequesttypeparameter.md +++ b/docs/recipes/java/micronaut/addhttprequesttypeparameter.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md b/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md index 686f4503cc..41b0fb1be3 100644 --- a/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md +++ b/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md b/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md index 3741fec45c..c5a4e5b967 100644 --- a/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md +++ b/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md b/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md index c7b99dd843..6fe71059ed 100644 --- a/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md +++ b/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md b/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md index d1e7ca1768..c5e5a1c72a 100644 --- a/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md +++ b/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md b/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md index 36d557e84a..24841d773d 100644 --- a/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md +++ b/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/changeannotationprocessorpath.md b/docs/recipes/java/micronaut/changeannotationprocessorpath.md index 9d3f819f23..aed9a56eed 100644 --- a/docs/recipes/java/micronaut/changeannotationprocessorpath.md +++ b/docs/recipes/java/micronaut/changeannotationprocessorpath.md @@ -58,7 +58,7 @@ Now that `com.yourorg.ChangeAnnotationProcessorPathExample` has been defined, ac ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -192,4 +192,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/micronaut/copynoninheritedannotations.md b/docs/recipes/java/micronaut/copynoninheritedannotations.md index eddb83ccb2..69ae708b76 100644 --- a/docs/recipes/java/micronaut/copynoninheritedannotations.md +++ b/docs/recipes/java/micronaut/copynoninheritedannotations.md @@ -137,7 +137,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/findpropertiesconfig.md b/docs/recipes/java/micronaut/findpropertiesconfig.md index 61ca702d5e..827d791098 100644 --- a/docs/recipes/java/micronaut/findpropertiesconfig.md +++ b/docs/recipes/java/micronaut/findpropertiesconfig.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/findyamlconfig.md b/docs/recipes/java/micronaut/findyamlconfig.md index 51e4bf0986..e2035d6fa1 100644 --- a/docs/recipes/java/micronaut/findyamlconfig.md +++ b/docs/recipes/java/micronaut/findyamlconfig.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md b/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md index e0b707f78f..bd1bf9b1ba 100644 --- a/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md +++ b/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/micronaut2to3migration.md b/docs/recipes/java/micronaut/micronaut2to3migration.md index 2038b7a9e9..4f2affed56 100644 --- a/docs/recipes/java/micronaut/micronaut2to3migration.md +++ b/docs/recipes/java/micronaut/micronaut2to3migration.md @@ -288,7 +288,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -489,4 +489,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Patrick Way, [Tim te Beek](mailto:timtebeek@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), Aaron Gershman +[Patrick](mailto:patway99@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Patrick Way, [Tim te Beek](mailto:timtebeek@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/micronaut/micronaut3to4migration.md b/docs/recipes/java/micronaut/micronaut3to4migration.md index 83704a2449..52ed3e80f5 100644 --- a/docs/recipes/java/micronaut/micronaut3to4migration.md +++ b/docs/recipes/java/micronaut/micronaut3to4migration.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -303,4 +303,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io) +[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Patrick](mailto:patway99@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io) diff --git a/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md b/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md index e02779c3a6..f8f77a4fa2 100644 --- a/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md +++ b/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md @@ -123,7 +123,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md b/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md index 444b54d291..bf1b8738b9 100644 --- a/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md +++ b/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md @@ -111,7 +111,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/removeannotationprocessorpath.md b/docs/recipes/java/micronaut/removeannotationprocessorpath.md index 9e9a49434e..77cb8aed3f 100644 --- a/docs/recipes/java/micronaut/removeannotationprocessorpath.md +++ b/docs/recipes/java/micronaut/removeannotationprocessorpath.md @@ -50,7 +50,7 @@ Now that `com.yourorg.RemoveAnnotationProcessorPathExample` has been defined, ac ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -184,4 +184,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Jeremy Grelle](mailto:grellej@unityfoundation.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/micronaut/removeunnecessarydependencies.md b/docs/recipes/java/micronaut/removeunnecessarydependencies.md index c167cce25d..7c22a2d32c 100644 --- a/docs/recipes/java/micronaut/removeunnecessarydependencies.md +++ b/docs/recipes/java/micronaut/removeunnecessarydependencies.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md b/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md index eca84b9865..3a09a3dde0 100644 --- a/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md +++ b/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md b/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md index d6b4d9f8d1..6c4ebd8371 100644 --- a/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md +++ b/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -270,4 +270,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com) +[Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/micronaut/typerequiresintrospection.md b/docs/recipes/java/micronaut/typerequiresintrospection.md index 8dfe4d8fc4..6d0da23eea 100644 --- a/docs/recipes/java/micronaut/typerequiresintrospection.md +++ b/docs/recipes/java/micronaut/typerequiresintrospection.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updateblockingtaskexecutors.md b/docs/recipes/java/micronaut/updateblockingtaskexecutors.md index 256ffa47a2..9882bc2ea9 100644 --- a/docs/recipes/java/micronaut/updateblockingtaskexecutors.md +++ b/docs/recipes/java/micronaut/updateblockingtaskexecutors.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatebuildplugins.md b/docs/recipes/java/micronaut/updatebuildplugins.md index ae0f5c3169..66e880160e 100644 --- a/docs/recipes/java/micronaut/updatebuildplugins.md +++ b/docs/recipes/java/micronaut/updatebuildplugins.md @@ -142,7 +142,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md b/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md index 9c2af35a5e..fca7a4da59 100644 --- a/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md +++ b/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -246,4 +246,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Jeremy Grelle](mailto:grellej@unityfoundation.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Aaron Gershman, [Tim te Beek](mailto:timtebeek@gmail.com) +[Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Jeremy Grelle](mailto:grellej@unityfoundation.io), [Knut Wannheden](mailto:knut@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Aaron Gershman, [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/micronaut/updatejakartaannotations.md b/docs/recipes/java/micronaut/updatejakartaannotations.md index 6b75c64fab..33bc6a0678 100644 --- a/docs/recipes/java/micronaut/updatejakartaannotations.md +++ b/docs/recipes/java/micronaut/updatejakartaannotations.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatemavenannotationprocessors.md b/docs/recipes/java/micronaut/updatemavenannotationprocessors.md index 7818671d57..42cb989cbc 100644 --- a/docs/recipes/java/micronaut/updatemavenannotationprocessors.md +++ b/docs/recipes/java/micronaut/updatemavenannotationprocessors.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -270,4 +270,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/micronaut/updatemicronautdata.md b/docs/recipes/java/micronaut/updatemicronautdata.md index 70510c6ec8..2d0ba29c6b 100644 --- a/docs/recipes/java/micronaut/updatemicronautdata.md +++ b/docs/recipes/java/micronaut/updatemicronautdata.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatemicronautemail.md b/docs/recipes/java/micronaut/updatemicronautemail.md index 4df6fc719d..eae33ff31f 100644 --- a/docs/recipes/java/micronaut/updatemicronautemail.md +++ b/docs/recipes/java/micronaut/updatemicronautemail.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatemicronautplatformbom.md b/docs/recipes/java/micronaut/updatemicronautplatformbom.md index 3de06b53b8..d9809f8e70 100644 --- a/docs/recipes/java/micronaut/updatemicronautplatformbom.md +++ b/docs/recipes/java/micronaut/updatemicronautplatformbom.md @@ -123,7 +123,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatemicronautsecurity.md b/docs/recipes/java/micronaut/updatemicronautsecurity.md index f8f6c29361..e584babce2 100644 --- a/docs/recipes/java/micronaut/updatemicronautsecurity.md +++ b/docs/recipes/java/micronaut/updatemicronautsecurity.md @@ -258,7 +258,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatemicronautsession.md b/docs/recipes/java/micronaut/updatemicronautsession.md index 61f36ca3aa..4ff93edbcb 100644 --- a/docs/recipes/java/micronaut/updatemicronautsession.md +++ b/docs/recipes/java/micronaut/updatemicronautsession.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatemicronautvalidation.md b/docs/recipes/java/micronaut/updatemicronautvalidation.md index a354169df5..c51beb79ad 100644 --- a/docs/recipes/java/micronaut/updatemicronautvalidation.md +++ b/docs/recipes/java/micronaut/updatemicronautvalidation.md @@ -110,7 +110,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -311,4 +311,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Jeremy Grelle](mailto:grellej@unityfoundation.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md b/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md index a5886dba3f..76c2102899 100644 --- a/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md +++ b/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md b/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md index 3438df2d8a..fdf14fbd4d 100644 --- a/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md +++ b/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md @@ -130,7 +130,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md b/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md index 58417c2669..260ea7c222 100644 --- a/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md +++ b/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md @@ -61,7 +61,7 @@ Now that `com.yourorg.UpgradeMicronautGradlePropertiesVersionExample` has been d ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -195,4 +195,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jeremy Grelle](mailto:grellej@unityfoundation.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md b/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md index 6aa63fea0d..7141996658 100644 --- a/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md +++ b/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md @@ -69,7 +69,7 @@ Now that `com.yourorg.UpgradeMicronautMavenPropertyVersionExample` has been defi ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -203,4 +203,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jeremy Grelle](mailto:grellej@unityfoundation.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Aaron Gershman +[Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jeremy Grelle](mailto:grellej@unityfoundation.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Aaron Gershman diff --git a/docs/recipes/java/migrate/README.md b/docs/recipes/java/migrate/README.md index 039687782f..2be32c5229 100644 --- a/docs/recipes/java/migrate/README.md +++ b/docs/recipes/java/migrate/README.md @@ -34,6 +34,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Adds missing JDBC interface methods.](./jrejdbcinterfacenewmethods.md) * [Adopt `javax.security.auth.Subject.current()` and `javax.security.auth.Subject.callAs()` methods`](./removedsubjectmethods.md) * [Adopt `setLongThreadID` in `java.util.logging.LogRecord`](./deprecatedlogrecordthreadid.md) +* [Adopt switch pattern matching (JEP 441)](./switchpatternmatching.md) * [Avoid using the deprecated empty `finalize()` method in `java.desktop`](./deletedeprecatedfinalize.md) * [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) @@ -68,11 +69,13 @@ _Recipes that include further recipes, often including the individual recipes be * [Add `JDeprScan` Maven Plug-in](./addjdeprscanplugin.md) * [Add maven jar plugin to suppress illegal reflection warnings](./addsuppressionforillegalreflectionwarningsplugin.md) * [Adds missing method implementations](./addmissingmethodimplementation.md) +* [Adds `static` modifier to `@Produces` fields that are in session beans](./addstaticvariableonproducersessionbean.md) * [Behavior change to bean discovery in modules with `beans.xml` file with no version specified](./beandiscovery.md) * [Catch `TypeNotPresentException` thrown by `Class.getAnnotation()`](./arraystoreexceptiontotypenotpresentexception.md) * [Change `beans.xml` `schemaLocation` to match XML namespace](./beansxmlnamespace.md) * [Change `javax.tools.ToolProvider` methods calls to static](./removedtoolproviderconstructor.md) * [Change method invocation return type](./changemethodinvocationreturntype.md) +* [Change `net.wasdev.maven.parent:java8-parent` to `:parent`](./wasdevmvnchangeparentartifactid.md) * [Disable the persistence unit second-level cache](./jpacacheproperties.md) * [Force indentation to either tabs or spaces](./usetabsorspaces.md) * [MBean and MXBean interfaces must be public](./mxbeanrule.md) diff --git a/docs/recipes/java/migrate/accesscontroller.md b/docs/recipes/java/migrate/accesscontroller.md index c7f526bd76..f21bc5f73e 100644 --- a/docs/recipes/java/migrate/accesscontroller.md +++ b/docs/recipes/java/migrate/accesscontroller.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/addjdeprscanplugin.md b/docs/recipes/java/migrate/addjdeprscanplugin.md index 26f90a2ae2..c8312a382d 100644 --- a/docs/recipes/java/migrate/addjdeprscanplugin.md +++ b/docs/recipes/java/migrate/addjdeprscanplugin.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/addlombokmapstructbinding.md b/docs/recipes/java/migrate/addlombokmapstructbinding.md index 49d8bf9141..d3d029ef3e 100644 --- a/docs/recipes/java/migrate/addlombokmapstructbinding.md +++ b/docs/recipes/java/migrate/addlombokmapstructbinding.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/addmissingmethodimplementation.md b/docs/recipes/java/migrate/addmissingmethodimplementation.md index 268fcec639..a27ca3b901 100644 --- a/docs/recipes/java/migrate/addmissingmethodimplementation.md +++ b/docs/recipes/java/migrate/addmissingmethodimplementation.md @@ -97,7 +97,7 @@ Now that `com.yourorg.AddMissingMethodImplementationExample` has been defined, a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/addstaticvariableonproducersessionbean.md b/docs/recipes/java/migrate/addstaticvariableonproducersessionbean.md new file mode 100644 index 0000000000..f3ee708cb7 --- /dev/null +++ b/docs/recipes/java/migrate/addstaticvariableonproducersessionbean.md @@ -0,0 +1,265 @@ +--- +sidebar_label: "Adds static modifier to @Produces fields that are in session beans" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Adds `static` modifier to `@Produces` fields that are in session beans + +**org.openrewrite.java.migrate.AddStaticVariableOnProducerSessionBean** + +_Ensures that the fields annotated with `@Produces` which is inside the session bean (`@Stateless`, `@Stateful`, or `@Singleton`) are declared `static`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/AddStaticVariableOnProducerSessionBean.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). + +## Example + + + + + + +###### Before +```java +package com.test; +import jakarta.ejb.Stateless; +import jakarta.enterprise.inject.Produces; + +@Stateless +public class MySessionBean { + @Produces + private SomeDependency someDependency; + void exampleMethod() { + return; + } +} +``` + +###### After +```java +package com.test; +import jakarta.ejb.Stateless; +import jakarta.enterprise.inject.Produces; + +@Stateless +public class MySessionBean { + @Produces + private static SomeDependency someDependency; + void exampleMethod() { + return; + } +} +``` + + + + +```diff +@@ -8,1 +8,1 @@ +public class MySessionBean { + @Produces +- private SomeDependency someDependency; ++ private static SomeDependency someDependency; + void exampleMethod() { +``` + + + + +## 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.AddStaticVariableOnProducerSessionBean") + 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.AddStaticVariableOnProducerSessionBean") + 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.AddStaticVariableOnProducerSessionBean + + + + + 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.AddStaticVariableOnProducerSessionBean -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 AddStaticVariableOnProducerSessionBean +``` + +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/addsuppressionforillegalreflectionwarningsplugin.md b/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md index 536d69b39b..e3d139aac1 100644 --- a/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md +++ b/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md b/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md index a24f21eba9..dd93dc0cac 100644 --- a/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md +++ b/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md @@ -101,7 +101,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/beandiscovery.md b/docs/recipes/java/migrate/beandiscovery.md index 68eb847d31..5c8d871f8b 100644 --- a/docs/recipes/java/migrate/beandiscovery.md +++ b/docs/recipes/java/migrate/beandiscovery.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/beansxmlnamespace.md b/docs/recipes/java/migrate/beansxmlnamespace.md index c6bc1ccaae..c5652e7147 100644 --- a/docs/recipes/java/migrate/beansxmlnamespace.md +++ b/docs/recipes/java/migrate/beansxmlnamespace.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md b/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md index 487da99bc8..6d9517b695 100644 --- a/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md +++ b/docs/recipes/java/migrate/bouncecastlefromjdk15ontojdk18on.md @@ -199,7 +199,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/castarraysaslisttolist.md b/docs/recipes/java/migrate/castarraysaslisttolist.md index ab8ca0c0d6..17ef035314 100644 --- a/docs/recipes/java/migrate/castarraysaslisttolist.md +++ b/docs/recipes/java/migrate/castarraysaslisttolist.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/changedefaultkeystore.md b/docs/recipes/java/migrate/changedefaultkeystore.md index 44fa0b9c2d..45cfabc61b 100644 --- a/docs/recipes/java/migrate/changedefaultkeystore.md +++ b/docs/recipes/java/migrate/changedefaultkeystore.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/changemethodinvocationreturntype.md b/docs/recipes/java/migrate/changemethodinvocationreturntype.md index 9fdafb2ce7..10b6b1630e 100644 --- a/docs/recipes/java/migrate/changemethodinvocationreturntype.md +++ b/docs/recipes/java/migrate/changemethodinvocationreturntype.md @@ -121,7 +121,7 @@ Now that `com.yourorg.ChangeMethodInvocationReturnTypeExample` has been defined, ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md b/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md index e37c78342c..5accb9d89f 100644 --- a/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md +++ b/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/comintellijannotationstoorgjetbrainsannotations.md b/docs/recipes/java/migrate/comintellijannotationstoorgjetbrainsannotations.md index a2d716b40f..b517cea496 100644 --- a/docs/recipes/java/migrate/comintellijannotationstoorgjetbrainsannotations.md +++ b/docs/recipes/java/migrate/comintellijannotationstoorgjetbrainsannotations.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md b/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md index 031303c158..48b0779d05 100644 --- a/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md +++ b/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md @@ -159,7 +159,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md index 8765c9a6fc..45958b0f1c 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md index 441fe31854..1c5ec26eb5 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md index ea42eb1221..2c8b247076 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md index aa323b4b5c..b465d04c0a 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md index c2c8c9eeeb..dc5f463791 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md index ae52966370..47e12fce3c 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md index 7b28c50a6f..7629f56a84 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/deletedeprecatedfinalize.md b/docs/recipes/java/migrate/deletedeprecatedfinalize.md index 69d10e8e04..44a451d968 100644 --- a/docs/recipes/java/migrate/deletedeprecatedfinalize.md +++ b/docs/recipes/java/migrate/deletedeprecatedfinalize.md @@ -259,7 +259,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md b/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md index 001234a30b..55ca6bc878 100644 --- a/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md +++ b/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md @@ -153,7 +153,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md b/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md index fe464f4e07..d37b01a98f 100644 --- a/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md +++ b/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md b/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md index 8cafd01fa0..d2bb124bbe 100644 --- a/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md +++ b/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/dontoverfetchdto.md b/docs/recipes/java/migrate/dontoverfetchdto.md index dfa10f8768..49fd6d3ffc 100644 --- a/docs/recipes/java/migrate/dontoverfetchdto.md +++ b/docs/recipes/java/migrate/dontoverfetchdto.md @@ -50,7 +50,7 @@ Now that `com.yourorg.DontOverfetchDtoExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguava.md b/docs/recipes/java/migrate/guava/noguava.md index 6213e83deb..437cbf1e14 100644 --- a/docs/recipes/java/migrate/guava/noguava.md +++ b/docs/recipes/java/migrate/guava/noguava.md @@ -449,7 +449,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md b/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md index 8996b39eea..9c1ee020cc 100644 --- a/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md +++ b/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavacreatetempdir.md b/docs/recipes/java/migrate/guava/noguavacreatetempdir.md index 34d13bb378..818e4e8ab8 100644 --- a/docs/recipes/java/migrate/guava/noguavacreatetempdir.md +++ b/docs/recipes/java/migrate/guava/noguavacreatetempdir.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavadirectexecutor.md b/docs/recipes/java/migrate/guava/noguavadirectexecutor.md index 89378702b1..736df7f63c 100644 --- a/docs/recipes/java/migrate/guava/noguavadirectexecutor.md +++ b/docs/recipes/java/migrate/guava/noguavadirectexecutor.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md b/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md index b1d080a761..82a5653080 100644 --- a/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md +++ b/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md b/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md index 57924f0945..b9fed2bc5b 100644 --- a/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md +++ b/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md b/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md index 5e75180527..3d93e6282b 100644 --- a/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md +++ b/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavajava11.md b/docs/recipes/java/migrate/guava/noguavajava11.md index 29d0e2772c..7b6def9a87 100644 --- a/docs/recipes/java/migrate/guava/noguavajava11.md +++ b/docs/recipes/java/migrate/guava/noguavajava11.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavajava21.md b/docs/recipes/java/migrate/guava/noguavajava21.md index 01d2f7380f..9e3e256c09 100644 --- a/docs/recipes/java/migrate/guava/noguavajava21.md +++ b/docs/recipes/java/migrate/guava/noguavajava21.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md b/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md index bc1a2bf988..e0dbec077d 100644 --- a/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md +++ b/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md b/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md index def885bad5..c10f226589 100644 --- a/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md +++ b/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md b/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md index 17a858e475..dd831723b9 100644 --- a/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md +++ b/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md b/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md index 4c8af42a6e..2b025a05bb 100644 --- a/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md +++ b/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md b/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md index c5ae6b3ded..b31afeaaa5 100644 --- a/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md +++ b/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md b/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md index 22e57a9311..34b9f2e3b9 100644 --- a/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md +++ b/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md b/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md index 1a812c91a1..14b7a59ca6 100644 --- a/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md +++ b/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md b/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md index 10ab64acf0..c72b82c258 100644 --- a/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md +++ b/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md b/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md index dd7b3bfce0..d451358bcd 100644 --- a/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md +++ b/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md index ac0b915790..40b77ceb3c 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md index c424418eee..7e88abc2c2 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md index 5a70bae53f..f1bbeaad65 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md index 95798ff12a..02f9b448bc 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md b/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md index afa1563e13..e22240bda8 100644 --- a/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md +++ b/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md b/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md index 05e311859c..21c3381ba5 100644 --- a/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md +++ b/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md b/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md index 346db422c7..6ad0f2fd34 100644 --- a/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md +++ b/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/nomapsandsetswithexpectedsize.md b/docs/recipes/java/migrate/guava/nomapsandsetswithexpectedsize.md index 4652c2a63d..7a43cc9ac1 100644 --- a/docs/recipes/java/migrate/guava/nomapsandsetswithexpectedsize.md +++ b/docs/recipes/java/migrate/guava/nomapsandsetswithexpectedsize.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/prefercharcompare.md b/docs/recipes/java/migrate/guava/prefercharcompare.md index b2801c94cf..be50a09bcb 100644 --- a/docs/recipes/java/migrate/guava/prefercharcompare.md +++ b/docs/recipes/java/migrate/guava/prefercharcompare.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferintegercompare.md b/docs/recipes/java/migrate/guava/preferintegercompare.md index 456015dc61..33baa80e23 100644 --- a/docs/recipes/java/migrate/guava/preferintegercompare.md +++ b/docs/recipes/java/migrate/guava/preferintegercompare.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md b/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md index e437ea6dd5..d22ed737cb 100644 --- a/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md +++ b/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md b/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md index d123f70f95..fbdd74caae 100644 --- a/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md +++ b/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md b/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md index 5e17c49893..8ec8ffd5d3 100644 --- a/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md +++ b/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md b/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md index 66843dc985..1d37f7fe57 100644 --- a/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md +++ b/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md b/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md index 4cb6868c7b..4b66ceefa4 100644 --- a/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md +++ b/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavastringjoin.md b/docs/recipes/java/migrate/guava/preferjavastringjoin.md index 7ddc71d379..ae1d408b4f 100644 --- a/docs/recipes/java/migrate/guava/preferjavastringjoin.md +++ b/docs/recipes/java/migrate/guava/preferjavastringjoin.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md b/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md index ff4d3f45bb..fe40abdedb 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md +++ b/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md b/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md index 926d8c3d1e..39ba775819 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md +++ b/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilfunction.md b/docs/recipes/java/migrate/guava/preferjavautilfunction.md index bf8985bb5d..316b16daf7 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilfunction.md +++ b/docs/recipes/java/migrate/guava/preferjavautilfunction.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md b/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md index 8212d7efd5..5a2f780433 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md +++ b/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md b/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md index 338c11b8f9..4b6b8ea920 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md +++ b/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md b/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md index f9b347cf97..81ef869b3e 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md +++ b/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautiloptional.md b/docs/recipes/java/migrate/guava/preferjavautiloptional.md index 19a3bbdc8f..024b63a76f 100644 --- a/docs/recipes/java/migrate/guava/preferjavautiloptional.md +++ b/docs/recipes/java/migrate/guava/preferjavautiloptional.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md b/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md index 8d9ea06d14..2622828afa 100644 --- a/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md +++ b/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md b/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md index 0700718490..147f92bd69 100644 --- a/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md +++ b/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md @@ -38,7 +38,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilpredicate.md b/docs/recipes/java/migrate/guava/preferjavautilpredicate.md index c05a261751..f71d24c646 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilpredicate.md +++ b/docs/recipes/java/migrate/guava/preferjavautilpredicate.md @@ -195,7 +195,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferjavautilsupplier.md b/docs/recipes/java/migrate/guava/preferjavautilsupplier.md index d8ece942c5..ceb420600f 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilsupplier.md +++ b/docs/recipes/java/migrate/guava/preferjavautilsupplier.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferlongcompare.md b/docs/recipes/java/migrate/guava/preferlongcompare.md index 801005715a..dc10c3c401 100644 --- a/docs/recipes/java/migrate/guava/preferlongcompare.md +++ b/docs/recipes/java/migrate/guava/preferlongcompare.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md b/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md index a52dfe171c..7ba7f4239e 100644 --- a/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md +++ b/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md b/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md index 9c635029a7..c1900be1ab 100644 --- a/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md +++ b/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md b/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md index 5af10838f1..5301472238 100644 --- a/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md +++ b/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md b/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md index e26521fcc4..e54b4714a4 100644 --- a/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md +++ b/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/prefermathaddexact.md b/docs/recipes/java/migrate/guava/prefermathaddexact.md index 3d73aa56b0..787d397d22 100644 --- a/docs/recipes/java/migrate/guava/prefermathaddexact.md +++ b/docs/recipes/java/migrate/guava/prefermathaddexact.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/prefermathclamp.md b/docs/recipes/java/migrate/guava/prefermathclamp.md index c0d28bf61b..2f37b401c4 100644 --- a/docs/recipes/java/migrate/guava/prefermathclamp.md +++ b/docs/recipes/java/migrate/guava/prefermathclamp.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md b/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md index 4cab21fd62..c3886cc8ed 100644 --- a/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md +++ b/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/prefermathsubtractexact.md b/docs/recipes/java/migrate/guava/prefermathsubtractexact.md index f94ebacda8..1da766d499 100644 --- a/docs/recipes/java/migrate/guava/prefermathsubtractexact.md +++ b/docs/recipes/java/migrate/guava/prefermathsubtractexact.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/guava/prefershortcompare.md b/docs/recipes/java/migrate/guava/prefershortcompare.md index 761a5160ab..b447270dcd 100644 --- a/docs/recipes/java/migrate/guava/prefershortcompare.md +++ b/docs/recipes/java/migrate/guava/prefershortcompare.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/ibmjdktooraclejdk.md b/docs/recipes/java/migrate/ibmjdktooraclejdk.md index a99f858961..4dc56ee8a7 100644 --- a/docs/recipes/java/migrate/ibmjdktooraclejdk.md +++ b/docs/recipes/java/migrate/ibmjdktooraclejdk.md @@ -149,7 +149,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/ibmsemeru.md b/docs/recipes/java/migrate/ibmsemeru.md index 56af337337..cc832a1d29 100644 --- a/docs/recipes/java/migrate/ibmsemeru.md +++ b/docs/recipes/java/migrate/ibmsemeru.md @@ -259,7 +259,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md b/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md index 6bac73112a..7422443220 100644 --- a/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md +++ b/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/internalbindpackages.md b/docs/recipes/java/migrate/internalbindpackages.md index 3434f05994..72075df5a3 100644 --- a/docs/recipes/java/migrate/internalbindpackages.md +++ b/docs/recipes/java/migrate/internalbindpackages.md @@ -315,7 +315,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md b/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md index f5b4a1d76f..0930bb8387 100644 --- a/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md +++ b/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jacoco/upgradejacoco.md b/docs/recipes/java/migrate/jacoco/upgradejacoco.md index fbace71fde..49753c4b2e 100644 --- a/docs/recipes/java/migrate/jacoco/upgradejacoco.md +++ b/docs/recipes/java/migrate/jacoco/upgradejacoco.md @@ -129,7 +129,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/README.md b/docs/recipes/java/migrate/jakarta/README.md index 2638275d85..331f30d9ac 100644 --- a/docs/recipes/java/migrate/jakarta/README.md +++ b/docs/recipes/java/migrate/jakarta/README.md @@ -4,9 +4,9 @@ _Recipes that include further recipes, often including the individual recipes below._ -* [Faces XHTML migration for Jakarta EE 10](./jakartafacesxhtml.md) +* [Faces XHTML migration for Jakarta EE 10](./jakartafacesxhtmlee10.md) * [JNDI name `jsf/ClientSideSecretKey` has been renamed to `faces/ClientSideSecretKey`, and the `jsf/FlashSecretKey` JNDI name has been renamed to `faces/FlashSecretKey`](./facesjndinameschanged.md) -* [JSF 2.x to Jakarta Faces 4.x](./faces2xmigrationtojakarta4x.md) +* [JSF 2.x to Jakarta Faces 3.x](./faces2xmigrationtojakartafaces3x.md) * [Jakarta Faces 4.0 to 4.1](./faces4xmigrationtofaces41x.md) * [Migrate Ehcache from javax to jakarta namespace](./ehcachejavaxtojakarta.md) * [Migrate JSF values inside EcmaScript files](./jakartafacesecmascript.md) @@ -22,7 +22,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Migrate deprecated `javax.ejb` packages to `jakarta.ejb`](./javaxejbtojakartaejb.md) * [Migrate deprecated `javax.el` packages to `jakarta.el`](./javaxeltojakartael.md) * [Migrate deprecated `javax.enterprise` packages to `jakarta.enterprise`](./javaxenterprisetojakartaenterprise.md) -* [Migrate deprecated `javax.faces` packages to `jakarta.faces`](./javaxfacestojakartafaces.md) +* [Migrate deprecated `javax.faces` packages to `jakarta.faces`](./updatejakartafacesapi3.md) * [Migrate deprecated `javax.inject` packages to `jakarta.inject`](./javaxinjectmigrationtojakartainject.md) * [Migrate deprecated `javax.interceptor` packages to `jakarta.interceptor`](./javaxinterceptortojakartainterceptor.md) * [Migrate deprecated `javax.jms` packages to `jakarta.jms`](./javaxjmstojakartajms.md) @@ -49,11 +49,15 @@ _Recipes that include further recipes, often including the individual recipes be * [Migrate xmlns entries and javax. packages in `ejb-jar.xml` files](./javaxejbjarxmltojakartaejbjarxml.md) * [Migrate xmlns entries and javax. packages in `validation.xml` files](./javaxbeanvalidationxmltojakartabeanvalidationxml.md) * [Migrate xmlns entries in `beans.xml` files](./javaxbeansxmltojakartabeansxml.md) +* [Migrate xmlns entries in `faces-config.xml` files](./jakartafacesconfigxml4.md) * [Migrate xmlns entries in `faces-config.xml` files](./javaxfacesconfigxmltojakartafacesconfigxml.md) * [Migrate xmlns entries in `orm.xml` files](./javaxormxmltojakartaormxml.md) * [Migrate xmlns entries in `persistence.xml` files](./javaxpersistencexmltojakartapersistencexml.md) +* [Migrate xmlns entries in `taglib.xml` files](./jakartafacestaglibraryxml4.md) * [Migrate xmlns entries in `taglib.xml` files](./javaxfacestaglibraryxmltojakartafacestaglibraryxml.md) +* [Migrate xmlns entries in `web-fragment.xml` files](./jakartawebfragmentxml6.md) * [Migrate xmlns entries in `web-fragment.xml` files](./javaxwebfragmentxmltojakartawebfragmentxml.md) +* [Migrate xmlns entries in `web.xml` files](./jakartawebxml6.md) * [Migrate xmlns entries in `web.xml` files](./javaxwebxmltojakartawebxml.md) * [OmniFaces Namespace Migration](./omnifacesnamespacemigration.md) * [Remove deprecated API's not supported in CDI4.0](./deprecatedcdiapisremoved40.md) @@ -63,20 +67,23 @@ _Recipes that include further recipes, often including the individual recipes be * [Replace `CURRENT_COMPONENT` and `CURRENT_COMPOSITE_COMPONENT` with `getCurrentComponent()` and `getCurrentCompositeComponent()`](./removeduicomponentconstant.md) * [Replace `ResourceResolver` with `ResourceHandler`](./removedjakartafacesresourceresolver.md) * [Replace `doUpgrade(..)` with `ServerContainer.upgradeHttpToWebSocket(..)`](./wswsocservercontainerdeprecation.md) -* [Substitute deprecated Faces Managed Beans](./facesmanagedbeansremoved.md) +* [Substitute removed Faces Managed Beans](./facesmanagedbeansremoved.md) * [Update Apache Commons Email to Email2 for Jakarta](./updateapachecommonsemaildependencies.md) * [Update Apache Shiro Dependencies to 2.0.x](./updateapacheshirodependencies.md) * [Update GlassFish Jersey Dependencies to 3.1.x](./updatejerseydependencies.md) * [Update Jakarta EE XML Web Services Dependencies for EE 10.](./updatejakartaxmlwsee10.md) * [Update Jakarta EE annotation Dependencies to 2.1.x.](./updatejakartaannotations2.md) -* [Upgrade Faces open source libraries](./upgradefacesopensourcelibraries.md) +* [Upgrade Faces open source libraries](./upgradefaces4opensourcelibraries.md) * [Upgrade Faces open source libraries](./upgradefaces41opensourcelibraries.md) +* [Upgrade Faces open source libraries](./upgradefaces3opensourcelibraries.md) +* [Upgrade to Jakarta Faces 4.x](./faces3xmigrationtofaces4x.md) * [Use `StateManagementStrategy`](./removedstatemanagermethods.md) * [Use `jakarta.el` instead of `jakarta.faces.el` and `javax.faces.el`](./removedjakartafacesexpressionlanguageclasses.md) * [Use `jakarta.xml.soap.SOAPFactory` to create `SOAPElements`](./removedsoapelementfactory.md) ## Recipes +* [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) * [Remove `Bean.isNullable()`](./removebeanisnullable.md) * [Remove trailing slash from `jakarta.ws.rs.ApplicationPath` values](./applicationpathwildcardnolongeraccepted.md) @@ -84,6 +91,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Replace `BeforeBeanDiscovery.addAnnotatedType(AnnotatedType)` with `addAnnotatedType(AnnotatedType, String)`](./updateaddannotatedtypes.md) * [Update Eclipse Yasson Dependencies to 3.0.x](./updateyassondependencies.md) * [Update EclipseLink Dependencies to 4.x](./updateeclipselinkdependencies.md) +* [Update Faces `@ManagedBean` to use CDI `@Named`](./updatemanagedbeantonamed.md) * [Update Jakarta EE Java Faces Dependencies to 4.0.x.](./updatejakartafacesapi4.md) * [Update Jakarta EE Java Faces Dependencies to 4.1.x](./updatejakartafacesapi41.md) * [Update Jakarta EE Platform Dependencies to 10.0.0](./updatejakartaplatform10.md) diff --git a/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md b/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md index 8b72eeac35..960f420236 100644 --- a/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md +++ b/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md b/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md index 1f669443dc..e4585d9fc0 100644 --- a/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md +++ b/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md index f5e5277a43..c761a3d0f3 100644 --- a/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md @@ -265,7 +265,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakarta4x.md b/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakartafaces3x.md similarity index 88% rename from docs/recipes/java/migrate/jakarta/faces2xmigrationtojakarta4x.md rename to docs/recipes/java/migrate/jakarta/faces2xmigrationtojakartafaces3x.md index f096ebfcb7..e691c2d44f 100644 --- a/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakarta4x.md +++ b/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakartafaces3x.md @@ -1,15 +1,15 @@ --- -sidebar_label: "JSF 2.x to Jakarta Faces 4.x" +sidebar_label: "JSF 2.x to Jakarta Faces 3.x" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# JSF 2.x to Jakarta Faces 4.x +# JSF 2.x to Jakarta Faces 3.x -**org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x** +**org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x** -_Jakarta EE 10 uses Faces 4.0 a major upgrade to Jakarta packages and XML namespaces._ +_Jakarta EE 9 uses Faces 3.0, a major upgrade to Jakarta packages and XML namespaces._ ### Tags @@ -19,7 +19,7 @@ _Jakarta EE 10 uses Faces 4.0 a major upgrade to Jakarta packages and XML namesp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -34,8 +34,8 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Update Jakarta EE Java Faces Dependencies to 4.0.x.](../../../java/migrate/jakarta/updatejakartafacesapi4) -* [Faces XHTML migration for Jakarta EE 10](../../../java/migrate/jakarta/jakartafacesxhtml) +* [Migrate deprecated `javax.faces` packages to `jakarta.faces`](../../../java/migrate/jakarta/updatejakartafacesapi3) +* [Faces XHTML migration for Jakarta EE 9](../../../java/migrate/jakarta/jakartafacesxhtmlee9) * [Migrate JSF values inside EcmaScript files](../../../java/migrate/jakarta/jakartafacesecmascript) * [Migrate xmlns entries in `faces-config.xml` files](../../../java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml) * [Migrate xmlns entries in `taglib.xml` files](../../../java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml) @@ -46,8 +46,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Replace `ResourceResolver` with `ResourceHandler`](../../../java/migrate/jakarta/removedjakartafacesresourceresolver) * [Use `StateManagementStrategy`](../../../java/migrate/jakarta/removedstatemanagermethods) * [Replace `CURRENT_COMPONENT` and `CURRENT_COMPOSITE_COMPONENT` with `getCurrentComponent()` and `getCurrentCompositeComponent()`](../../../java/migrate/jakarta/removeduicomponentconstant) -* [Substitute deprecated Faces Managed Beans](../../../java/migrate/jakarta/facesmanagedbeansremoved) -* [Upgrade Faces open source libraries](../../../java/migrate/jakarta/upgradefacesopensourcelibraries) +* [Upgrade Faces open source libraries](../../../java/migrate/jakarta/upgradefaces3opensourcelibraries) @@ -56,17 +55,17 @@ This recipe is available under the [Moderne Source Available License](https://do ```yaml --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x -displayName: JSF 2.x to Jakarta Faces 4.x +name: org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x +displayName: JSF 2.x to Jakarta Faces 3.x description: | - Jakarta EE 10 uses Faces 4.0 a major upgrade to Jakarta packages and XML namespaces. + Jakarta EE 9 uses Faces 3.0, a major upgrade to Jakarta packages and XML namespaces. tags: - faces - jsf - jakarta recipeList: - - org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi4 - - org.openrewrite.java.migrate.jakarta.JakartaFacesXhtml + - org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi3 + - org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE9 - org.openrewrite.java.migrate.jakarta.JakartaFacesEcmaScript - org.openrewrite.java.migrate.jakarta.JavaxFacesConfigXmlToJakartaFacesConfigXml - org.openrewrite.java.migrate.jakarta.JavaxFacesTagLibraryXmlToJakartaFacesTagLibraryXml @@ -77,8 +76,7 @@ recipeList: - org.openrewrite.java.migrate.jakarta.RemovedJakartaFacesResourceResolver - org.openrewrite.java.migrate.jakarta.RemovedStateManagerMethods - org.openrewrite.java.migrate.jakarta.RemovedUIComponentConstant - - org.openrewrite.java.migrate.jakarta.FacesManagedBeansRemoved - - org.openrewrite.java.migrate.jakarta.UpgradeFacesOpenSourceLibraries + - org.openrewrite.java.migrate.jakarta.UpgradeFaces3OpenSourceLibraries ``` @@ -94,11 +92,11 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x") + activeRecipe("org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x") setExportDatatables(true) } @@ -131,7 +129,7 @@ rootProject { rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x") + activeRecipe("org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x") setExportDatatables(true) } afterEvaluate { @@ -166,7 +164,7 @@ gradle --init-script init.gradle rewriteRun true - org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x + org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x @@ -189,7 +187,7 @@ gradle --init-script init.gradle rewriteRun 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.Faces2xMigrationToJakarta4x -Drewrite.exportDatatables=true +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.Faces2xMigrationToJakartaFaces3x -Drewrite.exportDatatables=true ``` @@ -197,7 +195,7 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCo 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 Faces2xMigrationToJakarta4x +mod run . --recipe Faces2xMigrationToJakartaFaces3x ``` If the recipe is not available locally, then you can install it using: @@ -211,7 +209,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VER 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. diff --git a/docs/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x.md b/docs/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x.md new file mode 100644 index 0000000000..2171678716 --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/faces3xmigrationtofaces4x.md @@ -0,0 +1,269 @@ +--- +sidebar_label: "Upgrade to Jakarta Faces 4.x" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Upgrade to Jakarta Faces 4.x + +**org.openrewrite.java.migrate.jakarta.Faces3xMigrationToFaces4x** + +_Jakarta EE 10 uses Faces 4.0._ + +### Tags + +* faces +* jsf +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.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 + + + +* [JSF 2.x to Jakarta Faces 3.x](../../../java/migrate/jakarta/faces2xmigrationtojakartafaces3x) +* [Update Jakarta EE Java Faces Dependencies to 4.0.x.](../../../java/migrate/jakarta/updatejakartafacesapi4) +* [Faces XHTML migration for Jakarta EE 10](../../../java/migrate/jakarta/jakartafacesxhtmlee10) +* [Migrate xmlns entries in `faces-config.xml` files](../../../java/migrate/jakarta/jakartafacesconfigxml4) +* [Migrate xmlns entries in `taglib.xml` files](../../../java/migrate/jakarta/jakartafacestaglibraryxml4) +* [Migrate xmlns entries in `web-fragment.xml` files](../../../java/migrate/jakarta/jakartawebfragmentxml6) +* [Migrate xmlns entries in `web.xml` files](../../../java/migrate/jakarta/jakartawebxml6) +* [Substitute removed Faces Managed Beans](../../../java/migrate/jakarta/facesmanagedbeansremoved) +* [Upgrade Faces open source libraries](../../../java/migrate/jakarta/upgradefaces4opensourcelibraries) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.Faces3xMigrationToFaces4x +displayName: Upgrade to Jakarta Faces 4.x +description: | + Jakarta EE 10 uses Faces 4.0. +tags: + - faces + - jsf + - jakarta +recipeList: + - org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x + - org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi4 + - org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE10 + - org.openrewrite.java.migrate.jakarta.JakartaFacesConfigXml4 + - org.openrewrite.java.migrate.jakarta.JakartaFacesTagLibraryXml4 + - org.openrewrite.java.migrate.jakarta.JakartaWebFragmentXml6 + - org.openrewrite.java.migrate.jakarta.JakartaWebXml6 + - org.openrewrite.java.migrate.jakarta.FacesManagedBeansRemoved + - org.openrewrite.java.migrate.jakarta.UpgradeFaces4OpenSourceLibraries + +``` + + + +## 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.Faces3xMigrationToFaces4x") + 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.Faces3xMigrationToFaces4x") + 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.Faces3xMigrationToFaces4x + + + + + 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.Faces3xMigrationToFaces4x -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 Faces3xMigrationToFaces4x +``` + +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 +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md b/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md index b1f64aeeeb..5decc050c4 100644 --- a/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md +++ b/docs/recipes/java/migrate/jakarta/faces4xmigrationtofaces41x.md @@ -34,7 +34,8 @@ This recipe is available under the [Moderne Source Available License](https://do -* [JSF 2.x to Jakarta Faces 4.x](../../../java/migrate/jakarta/faces2xmigrationtojakarta4x) +* [JSF 2.x to Jakarta Faces 3.x](../../../java/migrate/jakarta/faces2xmigrationtojakartafaces3x) +* [Upgrade to Jakarta Faces 4.x](../../../java/migrate/jakarta/faces3xmigrationtofaces4x) * [Update Jakarta EE Java Faces Dependencies to 4.1.x](../../../java/migrate/jakarta/updatejakartafacesapi41) * [OmniFaces Namespace Migration](../../../java/migrate/jakarta/omnifacesnamespacemigration) * [Upgrade Faces open source libraries](../../../java/migrate/jakarta/upgradefaces41opensourcelibraries) @@ -55,7 +56,8 @@ tags: - jsf - jakarta recipeList: - - org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x + - org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x + - org.openrewrite.java.migrate.jakarta.Faces3xMigrationToFaces4x - org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi41 - org.openrewrite.java.migrate.jakarta.OmniFacesNamespaceMigration - org.openrewrite.java.migrate.jakarta.UpgradeFaces41OpenSourceLibraries @@ -74,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -254,3 +256,6 @@ _Statistics used in analyzing the performance of recipes._ + +## Contributors +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md b/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md index c5cb1a517f..21b345eecc 100644 --- a/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md +++ b/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md @@ -13,7 +13,7 @@ _The `jsf/ClientSideSecretKey` JNDI name has been renamed to `faces/ClientSideSe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -197,7 +197,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md b/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md index 0d36863a0c..c966fb1129 100644 --- a/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md +++ b/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md @@ -1,11 +1,11 @@ --- -sidebar_label: "Substitute deprecated Faces Managed Beans" +sidebar_label: "Substitute removed Faces Managed Beans" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Substitute deprecated Faces Managed Beans +# Substitute removed Faces Managed Beans **org.openrewrite.java.migrate.jakarta.FacesManagedBeansRemoved** @@ -76,6 +76,7 @@ This recipe is available under the [Moderne Source Available License](https://do * oldFullyQualifiedTypeName: `jakarta.faces.bean.ViewScoped` * newFullyQualifiedTypeName: `jakarta.faces.view.ViewScoped` * ignoreDefinition: `true` +* [Update Faces `@ManagedBean` to use CDI `@Named`](../../../java/migrate/jakarta/updatemanagedbeantonamed) @@ -85,7 +86,7 @@ This recipe is available under the [Moderne Source Available License](https://do --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.jakarta.FacesManagedBeansRemoved -displayName: Substitute deprecated Faces Managed Beans +displayName: Substitute removed Faces Managed Beans description: | This recipe substitutes Faces Managed Beans, which were deprecated in JavaServer Faces 2.3 and have been removed from Jakarta Faces 4.0. recipeList: @@ -137,6 +138,7 @@ recipeList: oldFullyQualifiedTypeName: jakarta.faces.bean.ViewScoped newFullyQualifiedTypeName: jakarta.faces.view.ViewScoped ignoreDefinition: true + - org.openrewrite.java.migrate.jakarta.UpdateManagedBeanToNamed ``` @@ -301,7 +303,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -481,3 +483,6 @@ _Statistics used in analyzing the performance of recipes._ + +## Contributors +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md index c2c8837830..ee79f1d83b 100644 --- a/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md @@ -667,7 +667,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/jakartaee10.md b/docs/recipes/java/migrate/jakarta/jakartaee10.md index 16d70e961c..abf2b8af5a 100644 --- a/docs/recipes/java/migrate/jakarta/jakartaee10.md +++ b/docs/recipes/java/migrate/jakarta/jakartaee10.md @@ -34,7 +34,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate to Jakarta EE 9](../../../java/migrate/jakarta/javaxmigrationtojakarta) * [Migrate Jakarta EE 9 api dependencies to Jakarta EE 10 versions](../../../java/migrate/jakarta/migrationtojakarta10apis) -* [JSF 2.x to Jakarta Faces 4.x](../../../java/migrate/jakarta/faces2xmigrationtojakarta4x) +* [Upgrade to Jakarta Faces 4.x](../../../java/migrate/jakarta/faces3xmigrationtofaces4x) * [Use `isParametersProvided()`](../../../java/migrate/jakarta/removedisparmetersprovidedmethod) * [Use `jakarta.xml.soap.SOAPFactory` to create `SOAPElements`](../../../java/migrate/jakarta/removedsoapelementfactory) * [Replace `doUpgrade(..)` with `ServerContainer.upgradeHttpToWebSocket(..)`](../../../java/migrate/jakarta/wswsocservercontainerdeprecation) @@ -75,7 +75,7 @@ tags: recipeList: - org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta - org.openrewrite.java.migrate.jakarta.MigrationToJakarta10Apis - - org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x + - org.openrewrite.java.migrate.jakarta.Faces3xMigrationToFaces4x - org.openrewrite.java.migrate.jakarta.RemovedIsParmetersProvidedMethod - org.openrewrite.java.migrate.jakarta.RemovedSOAPElementFactory - org.openrewrite.java.migrate.jakarta.WsWsocServerContainerDeprecation @@ -211,7 +211,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [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), [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) diff --git a/docs/recipes/java/migrate/jakarta/jakartaee11.md b/docs/recipes/java/migrate/jakarta/jakartaee11.md index 1398d2be57..6eb5720fe7 100644 --- a/docs/recipes/java/migrate/jakarta/jakartaee11.md +++ b/docs/recipes/java/migrate/jakarta/jakartaee11.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -269,4 +269,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), [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), [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) diff --git a/docs/recipes/java/migrate/jakarta/jakartafacesconfigxml4.md b/docs/recipes/java/migrate/jakarta/jakartafacesconfigxml4.md new file mode 100644 index 0000000000..19ad901adf --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/jakartafacesconfigxml4.md @@ -0,0 +1,264 @@ +--- +sidebar_label: "Migrate xmlns entries in faces-config.xml files" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate xmlns entries in `faces-config.xml` files + +**org.openrewrite.java.migrate.jakarta.JakartaFacesConfigXml4** + +_Jakarta EE 10 uses Faces version 4._ + +### Tags + +* faces +* jsf +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.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 XML attribute](../../../xml/changetagattribute) + * elementName: `faces-config` + * attributeName: `version` + * newValue: `4.0` +* [Change XML attribute](../../../xml/changetagattribute) + * elementName: `faces-config` + * attributeName: `xsi:schemaLocation` + * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_4_0.xsd` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JakartaFacesConfigXml4 +displayName: Migrate xmlns entries in `faces-config.xml` files +description: | + Jakarta EE 10 uses Faces version 4. +tags: + - faces + - jsf + - jakarta +recipeList: + - org.openrewrite.xml.ChangeTagAttribute: + elementName: faces-config + attributeName: version + newValue: 4.0 + - org.openrewrite.xml.ChangeTagAttribute: + elementName: faces-config + attributeName: xsi:schemaLocation + newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_4_0.xsd + +``` + + + +## 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.JakartaFacesConfigXml4") + 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.JakartaFacesConfigXml4") + 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.JakartaFacesConfigXml4 + + + + + 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.JakartaFacesConfigXml4 -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 JakartaFacesConfigXml4 +``` + +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/jakartafacesecmascript.md b/docs/recipes/java/migrate/jakarta/jakartafacesecmascript.md index 461cf39886..c5a7ffb860 100644 --- a/docs/recipes/java/migrate/jakarta/jakartafacesecmascript.md +++ b/docs/recipes/java/migrate/jakarta/jakartafacesecmascript.md @@ -19,7 +19,7 @@ _Convert JSF to Faces values inside JavaScript,TypeScript, and Properties files. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/jakartafacestaglibraryxml4.md b/docs/recipes/java/migrate/jakarta/jakartafacestaglibraryxml4.md new file mode 100644 index 0000000000..6964dd8dc8 --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/jakartafacestaglibraryxml4.md @@ -0,0 +1,264 @@ +--- +sidebar_label: "Migrate xmlns entries in taglib.xml files" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate xmlns entries in `taglib.xml` files + +**org.openrewrite.java.migrate.jakarta.JakartaFacesTagLibraryXml4** + +_Faces 4 uses facelet-taglib 4.0._ + +### Tags + +* faces +* jsf +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.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 XML attribute](../../../xml/changetagattribute) + * elementName: `facelet-taglib` + * attributeName: `version` + * newValue: `4.0` +* [Change XML attribute](../../../xml/changetagattribute) + * elementName: `facelet-taglib` + * attributeName: `xsi:schemaLocation` + * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_4_0.xsd` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JakartaFacesTagLibraryXml4 +displayName: Migrate xmlns entries in `taglib.xml` files +description: | + Faces 4 uses facelet-taglib 4.0. +tags: + - faces + - jsf + - jakarta +recipeList: + - org.openrewrite.xml.ChangeTagAttribute: + elementName: facelet-taglib + attributeName: version + newValue: 4.0 + - org.openrewrite.xml.ChangeTagAttribute: + elementName: facelet-taglib + attributeName: xsi:schemaLocation + newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_4_0.xsd + +``` + + + +## 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.JakartaFacesTagLibraryXml4") + 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.JakartaFacesTagLibraryXml4") + 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.JakartaFacesTagLibraryXml4 + + + + + 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.JakartaFacesTagLibraryXml4 -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 JakartaFacesTagLibraryXml4 +``` + +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/jakartafacesxhtml.md b/docs/recipes/java/migrate/jakarta/jakartafacesxhtmlee10.md similarity index 87% rename from docs/recipes/java/migrate/jakarta/jakartafacesxhtml.md rename to docs/recipes/java/migrate/jakarta/jakartafacesxhtmlee10.md index 132d7090c7..2a47f665e3 100644 --- a/docs/recipes/java/migrate/jakarta/jakartafacesxhtml.md +++ b/docs/recipes/java/migrate/jakarta/jakartafacesxhtmlee10.md @@ -7,9 +7,9 @@ import TabItem from '@theme/TabItem'; # Faces XHTML migration for Jakarta EE 10 -**org.openrewrite.java.migrate.jakarta.JakartaFacesXhtml** +**org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE10** -_Find and replace legacy JSF namespaces and javax references with Jakarta Faces values in XHTML files._ +_Find and replace legacy JSF namespace URIs with Jakarta Faces URNs in XHTML files._ ### Tags @@ -106,10 +106,6 @@ This recipe is available under the [Moderne Source Available License](https://do * find: `http://primefaces.org/ui` * replace: `primefaces` * filePattern: `**/*.xhtml` -* [Find and replace](../../../text/findandreplace) - * find: `javax.` - * replace: `jakarta.` - * filePattern: `**/*.xhtml` @@ -118,10 +114,10 @@ This recipe is available under the [Moderne Source Available License](https://do ```yaml --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JakartaFacesXhtml +name: org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE10 displayName: Faces XHTML migration for Jakarta EE 10 description: | - Find and replace legacy JSF namespaces and javax references with Jakarta Faces values in XHTML files. + Find and replace legacy JSF namespace URIs with Jakarta Faces URNs in XHTML files. tags: - faces - jsf @@ -199,10 +195,6 @@ recipeList: find: http://primefaces.org/ui replace: primefaces filePattern: **/*.xhtml - - org.openrewrite.text.FindAndReplace: - find: javax. - replace: jakarta. - filePattern: **/*.xhtml ``` @@ -229,8 +221,8 @@ recipeList: - - + + - + @@ -295,20 +287,6 @@ recipeList: + xmlns:p="primefaces" + xmlns:pe="primefaces.extensions"> -@@ -13,2 +13,2 @@ - - -- -- -+ -+ - -@@ -22,1 +22,1 @@ - readonlyCell="#{row.readOnly}" - colType="numeric"> -- -+ - ``` @@ -336,8 +314,8 @@ recipeList: - - + + - + @@ -402,20 +380,6 @@ recipeList: + xmlns:p="primefaces" + xmlns:pe="primefaces.extensions"> -@@ -13,2 +13,2 @@ - - -- -- -+ -+ - -@@ -22,1 +22,1 @@ - readonlyCell="#{row.readOnly}" - colType="numeric"> -- -+ - ``` @@ -431,11 +395,11 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.JakartaFacesXhtml") + activeRecipe("org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE10") setExportDatatables(true) } @@ -468,7 +432,7 @@ rootProject { rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.JakartaFacesXhtml") + activeRecipe("org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE10") setExportDatatables(true) } afterEvaluate { @@ -503,7 +467,7 @@ gradle --init-script init.gradle rewriteRun true - org.openrewrite.java.migrate.jakarta.JakartaFacesXhtml + org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE10 @@ -526,7 +490,7 @@ gradle --init-script init.gradle rewriteRun 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.JakartaFacesXhtml -Drewrite.exportDatatables=true +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.JakartaFacesXhtmlEE10 -Drewrite.exportDatatables=true ``` @@ -534,7 +498,7 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCo 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 JakartaFacesXhtml +mod run . --recipe JakartaFacesXhtmlEE10 ``` If the recipe is not available locally, then you can install it using: @@ -548,7 +512,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VER 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. diff --git a/docs/recipes/java/migrate/jakarta/jakartafacesxhtmlee9.md b/docs/recipes/java/migrate/jakarta/jakartafacesxhtmlee9.md new file mode 100644 index 0000000000..d9a488b94f --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/jakartafacesxhtmlee9.md @@ -0,0 +1,433 @@ +--- +sidebar_label: "Faces XHTML migration for Jakarta EE 9" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Faces XHTML migration for Jakarta EE 9 + +**org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE9** + +_Find and replace javax references to jakarta in XHTML files._ + +### Tags + +* faces +* jsf +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), +[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). + + +## Definition + + + +* [Find and replace](../../../text/findandreplace) + * find: `javax.` + * replace: `jakarta.` + * filePattern: `**/*.xhtml` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JakartaFacesXhtmlEE9 +displayName: Faces XHTML migration for Jakarta EE 9 +description: | + Find and replace javax references to jakarta in XHTML files. +tags: + - faces + - jsf + - jakarta +recipeList: + - org.openrewrite.text.FindAndReplace: + find: javax. + replace: jakarta. + filePattern: **/*.xhtml + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```xml + + + + + + + + + + + + + + + +``` + +###### After +```xml + + + + + + + + + + + + + + + +``` + + + + +```diff +@@ -13,2 +13,2 @@ + + +- +- ++ ++ + +@@ -22,1 +22,1 @@ + readonlyCell="#{row.readOnly}" + colType="numeric"> +- ++ + +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```xml + + + + + + + + + + + + + + + +``` + +###### After +```xml + + + + + + + + + + + + + + + +``` + + + + +```diff +@@ -13,2 +13,2 @@ + + +- +- ++ ++ + +@@ -22,1 +22,1 @@ + readonlyCell="#{row.readOnly}" + colType="numeric"> +- ++ + +``` + + + + +## 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.JakartaFacesXhtmlEE9") + 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.JakartaFacesXhtmlEE9") + 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.JakartaFacesXhtmlEE9 + + + + + 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.JakartaFacesXhtmlEE9 -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 JakartaFacesXhtmlEE9 +``` + +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/jakartawebfragmentxml6.md b/docs/recipes/java/migrate/jakarta/jakartawebfragmentxml6.md new file mode 100644 index 0000000000..29cdaeaabc --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/jakartawebfragmentxml6.md @@ -0,0 +1,264 @@ +--- +sidebar_label: "Migrate xmlns entries in web-fragment.xml files" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate xmlns entries in `web-fragment.xml` files + +**org.openrewrite.java.migrate.jakarta.JakartaWebFragmentXml6** + +_Faces 4 uses web-fragment 6.0._ + +### Tags + +* faces +* jsf +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.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 XML attribute](../../../xml/changetagattribute) + * elementName: `web-fragment` + * attributeName: `version` + * newValue: `6.0` +* [Change XML attribute](../../../xml/changetagattribute) + * elementName: `web-fragment` + * attributeName: `xsi:schemaLocation` + * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-fragment_6_0.xsd` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JakartaWebFragmentXml6 +displayName: Migrate xmlns entries in `web-fragment.xml` files +description: | + Faces 4 uses web-fragment 6.0. +tags: + - faces + - jsf + - jakarta +recipeList: + - org.openrewrite.xml.ChangeTagAttribute: + elementName: web-fragment + attributeName: version + newValue: 6.0 + - org.openrewrite.xml.ChangeTagAttribute: + elementName: web-fragment + attributeName: xsi:schemaLocation + newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-fragment_6_0.xsd + +``` + + + +## 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.JakartaWebFragmentXml6") + 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.JakartaWebFragmentXml6") + 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.JakartaWebFragmentXml6 + + + + + 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.JakartaWebFragmentXml6 -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 JakartaWebFragmentXml6 +``` + +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/jakartawebxml6.md b/docs/recipes/java/migrate/jakarta/jakartawebxml6.md new file mode 100644 index 0000000000..617ff1d949 --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/jakartawebxml6.md @@ -0,0 +1,264 @@ +--- +sidebar_label: "Migrate xmlns entries in web.xml files" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate xmlns entries in `web.xml` files + +**org.openrewrite.java.migrate.jakarta.JakartaWebXml6** + +_Faces 4 uses web-app 6.0._ + +### Tags + +* faces +* jsf +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.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 XML attribute](../../../xml/changetagattribute) + * elementName: `web-app` + * attributeName: `version` + * newValue: `6.0` +* [Change XML attribute](../../../xml/changetagattribute) + * elementName: `web-app` + * attributeName: `xsi:schemaLocation` + * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.JakartaWebXml6 +displayName: Migrate xmlns entries in `web.xml` files +description: | + Faces 4 uses web-app 6.0. +tags: + - faces + - jsf + - jakarta +recipeList: + - org.openrewrite.xml.ChangeTagAttribute: + elementName: web-app + attributeName: version + newValue: 6.0 + - org.openrewrite.xml.ChangeTagAttribute: + elementName: web-app + attributeName: xsi:schemaLocation + newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd + +``` + + + +## 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.JakartaWebXml6") + 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.JakartaWebXml6") + 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.JakartaWebXml6 + + + + + 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.JakartaWebXml6 -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 JakartaWebXml6 +``` + +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/javaxactivationmigrationtojakartaactivation.md b/docs/recipes/java/migrate/jakarta/javaxactivationmigrationtojakartaactivation.md index 009d001bb7..c55b53ad64 100644 --- a/docs/recipes/java/migrate/jakarta/javaxactivationmigrationtojakartaactivation.md +++ b/docs/recipes/java/migrate/jakarta/javaxactivationmigrationtojakartaactivation.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md b/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md index 852aaa2dd4..17ae033d3a 100644 --- a/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md +++ b/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md @@ -118,7 +118,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md b/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md index d4457eef0c..fc5fef1ade 100644 --- a/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md +++ b/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md b/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md index e364085183..24523a5fd7 100644 --- a/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md +++ b/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md b/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md index f04de6179a..e98734dcff 100644 --- a/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md +++ b/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md b/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md index b4d2a2e052..c4b36ee715 100644 --- a/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md @@ -181,7 +181,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md b/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md index ac28dd341f..e29411c199 100644 --- a/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md @@ -355,7 +355,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md b/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md index f0c35721b6..94f2ddf3b9 100644 --- a/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md +++ b/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md b/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md index 923bd59a08..c5ef18da21 100644 --- a/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md +++ b/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md b/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md index 52a6bc29c4..48e27bffa5 100644 --- a/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md @@ -379,7 +379,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md b/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md index 7787b40427..7f6469b4cc 100644 --- a/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md +++ b/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md b/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md index af5d1e6624..b5fc51fe37 100644 --- a/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md +++ b/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md b/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md index 8cb2e090bd..aea09a5df7 100644 --- a/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md +++ b/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md b/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md index e1bdda1d4e..f0229e208f 100644 --- a/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md @@ -19,7 +19,7 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -37,7 +37,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change XML attribute](../../../xml/changetagattribute) * elementName: `faces-config` * attributeName: `version` - * newValue: `4.0` + * newValue: `3.0` * [Change XML attribute](../../../xml/changetagattribute) * elementName: `faces-config` * attributeName: `xmlns` @@ -45,7 +45,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change XML attribute](../../../xml/changetagattribute) * elementName: `faces-config` * attributeName: `xsi:schemaLocation` - * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_4_0.xsd` + * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd` * [Find and replace](../../../text/findandreplace) * find: `javax.` * replace: `jakarta.` @@ -70,7 +70,7 @@ recipeList: - org.openrewrite.xml.ChangeTagAttribute: elementName: faces-config attributeName: version - newValue: 4.0 + newValue: 3.0 - org.openrewrite.xml.ChangeTagAttribute: elementName: faces-config attributeName: xmlns @@ -78,7 +78,7 @@ recipeList: - org.openrewrite.xml.ChangeTagAttribute: elementName: faces-config attributeName: xsi:schemaLocation - newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_4_0.xsd + newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd - org.openrewrite.text.FindAndReplace: find: javax. replace: jakarta. @@ -117,8 +117,8 @@ recipeList: + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd" + version="3.0"> jakarta.faces.Output @@ -143,8 +143,8 @@ recipeList: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_1.0.xsd" - version="1.0"> -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_4_0.xsd" -+ version="4.0"> ++ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd" ++ version="3.0"> @@ -8,2 +8,2 @@ @@ -189,8 +189,8 @@ recipeList: + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd" + version="3.0"> jakarta.faces.Output @@ -215,8 +215,8 @@ recipeList: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_1.0.xsd" - version="1.0"> -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_4_0.xsd" -+ version="4.0"> ++ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facesconfig_3_0.xsd" ++ version="3.0"> @@ -8,2 +8,2 @@ @@ -241,7 +241,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md b/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md index 63b5c29d85..9254df3e38 100644 --- a/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md @@ -19,7 +19,7 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -37,7 +37,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change XML attribute](../../../xml/changetagattribute) * elementName: `facelet-taglib` * attributeName: `version` - * newValue: `4.0` + * newValue: `3.0` * [Change XML attribute](../../../xml/changetagattribute) * elementName: `facelet-taglib` * attributeName: `xmlns` @@ -45,7 +45,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change XML attribute](../../../xml/changetagattribute) * elementName: `facelet-taglib` * attributeName: `xsi:schemaLocation` - * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_4_0.xsd` + * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_3_0.xsd` * [Find and replace](../../../text/findandreplace) * find: `javax.` * replace: `jakarta.` @@ -70,7 +70,7 @@ recipeList: - org.openrewrite.xml.ChangeTagAttribute: elementName: facelet-taglib attributeName: version - newValue: 4.0 + newValue: 3.0 - org.openrewrite.xml.ChangeTagAttribute: elementName: facelet-taglib attributeName: xmlns @@ -78,7 +78,7 @@ recipeList: - org.openrewrite.xml.ChangeTagAttribute: elementName: facelet-taglib attributeName: xsi:schemaLocation - newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_4_0.xsd + newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_3_0.xsd - org.openrewrite.text.FindAndReplace: find: javax. replace: jakarta. @@ -113,10 +113,10 @@ recipeList: ###### After ```xml - + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_3_0.xsd"> getFileContent jakarta.util.ShowcaseUtil @@ -133,14 +133,14 @@ recipeList: - -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_4_0.xsd"> ++ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_3_0.xsd"> @@ -8,1 +8,1 @@ @@ -179,10 +179,10 @@ recipeList: ###### After ```xml - + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_3_0.xsd"> getFileContent jakarta.util.ShowcaseUtil @@ -199,14 +199,14 @@ recipeList: - -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_4_0.xsd"> ++ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-facelettaglibrary_3_0.xsd"> @@ -8,1 +8,1 @@ @@ -229,7 +229,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md b/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md index f144f90195..c4fbc3acb8 100644 --- a/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md +++ b/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md @@ -149,7 +149,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md b/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md index 4cf1478f06..8dfcb2a551 100644 --- a/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md +++ b/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md b/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md index 280de58f15..26ded172d2 100644 --- a/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md +++ b/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md b/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md index b6ed34971d..b02768ff7f 100644 --- a/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md +++ b/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md b/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md index 693c93dbb2..79db1c5864 100644 --- a/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md +++ b/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md b/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md index f241bc1a6a..e824c698ff 100644 --- a/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md +++ b/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md @@ -44,6 +44,11 @@ This recipe is available under the [Moderne Source Available License](https://do * groupId: `jakarta.mail` * artifactId: `jakarta.mail-api` * newVersion: `2.0.x` +* [Add Gradle or Maven dependency](../../../java/dependencies/adddependency) + * groupId: `jakarta.mail` + * artifactId: `jakarta.mail-api` + * version: `2.0.x` + * onlyIfUsing: `javax.mail.*` * [Rename package name](../../../java/changepackage) * oldPackageName: `javax.mail` * newPackageName: `jakarta.mail` @@ -77,6 +82,11 @@ recipeList: groupId: jakarta.mail artifactId: jakarta.mail-api newVersion: 2.0.x + - org.openrewrite.java.dependencies.AddDependency: + groupId: jakarta.mail + artifactId: jakarta.mail-api + version: 2.0.x + onlyIfUsing: javax.mail.* - org.openrewrite.java.ChangePackage: oldPackageName: javax.mail newPackageName: jakarta.mail @@ -96,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md b/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md index 4ce565240a..2e09142c7d 100644 --- a/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md @@ -44,7 +44,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate deprecated `javax.ejb` packages to `jakarta.ejb`](../../../java/migrate/jakarta/javaxejbtojakartaejb) * [Migrate deprecated `javax.el` packages to `jakarta.el`](../../../java/migrate/jakarta/javaxeltojakartael) * [Migrate deprecated `javax.enterprise` packages to `jakarta.enterprise`](../../../java/migrate/jakarta/javaxenterprisetojakartaenterprise) -* [Migrate deprecated `javax.faces` packages to `jakarta.faces`](../../../java/migrate/jakarta/javaxfacestojakartafaces) +* [JSF 2.x to Jakarta Faces 3.x](../../../java/migrate/jakarta/faces2xmigrationtojakartafaces3x) * [Migrate deprecated `javax.inject` packages to `jakarta.inject`](../../../java/migrate/jakarta/javaxinjectmigrationtojakartainject) * [Migrate deprecated `javax.interceptor` packages to `jakarta.interceptor`](../../../java/migrate/jakarta/javaxinterceptortojakartainterceptor) * [Migrate deprecated `javax.jms` packages to `jakarta.jms`](../../../java/migrate/jakarta/javaxjmstojakartajms) @@ -99,7 +99,7 @@ recipeList: - org.openrewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb - org.openrewrite.java.migrate.jakarta.JavaxElToJakartaEl - org.openrewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise - - org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces + - org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakartaFaces3x - org.openrewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject - org.openrewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor - org.openrewrite.java.migrate.jakarta.JavaxJmsToJakartaJms @@ -211,7 +211,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [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), [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/jakarta/javaxormxmltojakartaormxml.md b/docs/recipes/java/migrate/jakarta/javaxormxmltojakartaormxml.md index f028f3e8f8..a621a083f5 100644 --- a/docs/recipes/java/migrate/jakarta/javaxormxmltojakartaormxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxormxmltojakartaormxml.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md b/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md index 6c11a3137c..e2344f5ec2 100644 --- a/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md +++ b/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md b/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md index 75c1e14847..f5b3993624 100644 --- a/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md +++ b/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md b/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md index 5aab20df65..f1c5b379f4 100644 --- a/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md +++ b/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md b/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md index 37350f3160..061bd9312f 100644 --- a/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md +++ b/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md b/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md index e7c6c9987d..06fd4614d9 100644 --- a/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md +++ b/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md b/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md index e5c936f909..2c78ef6483 100644 --- a/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md +++ b/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md b/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md index 3810c60876..5cbe378827 100644 --- a/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md +++ b/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md @@ -183,7 +183,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md b/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md index 978cc5cef7..09ba401bc7 100644 --- a/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md +++ b/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md b/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md index 269205590f..ef7f06916f 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md @@ -19,7 +19,7 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -223,7 +223,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md b/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md index ae47505d56..4d50d8cebd 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md +++ b/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md @@ -124,7 +124,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md b/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md index c49ef07453..7a5c0b56bd 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md @@ -19,7 +19,7 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -37,7 +37,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change XML attribute](../../../xml/changetagattribute) * elementName: `web-app` * attributeName: `version` - * newValue: `6.0` + * newValue: `5.0` * [Change XML attribute](../../../xml/changetagattribute) * elementName: `web-app` * attributeName: `xmlns` @@ -45,7 +45,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change XML attribute](../../../xml/changetagattribute) * elementName: `web-app` * attributeName: `xsi:schemaLocation` - * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd` + * newValue: `https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd` * [Find and replace](../../../text/findandreplace) * find: `javax.` * replace: `jakarta.` @@ -74,7 +74,7 @@ recipeList: - org.openrewrite.xml.ChangeTagAttribute: elementName: web-app attributeName: version - newValue: 6.0 + newValue: 5.0 - org.openrewrite.xml.ChangeTagAttribute: elementName: web-app attributeName: xmlns @@ -82,7 +82,7 @@ recipeList: - org.openrewrite.xml.ChangeTagAttribute: elementName: web-app attributeName: xsi:schemaLocation - newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd + newValue: https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd - org.openrewrite.text.FindAndReplace: find: javax. replace: jakarta. @@ -122,8 +122,8 @@ recipeList: + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" + version="5.0"> jakarta.faces.PROJECT_STAGE Production @@ -145,8 +145,8 @@ recipeList: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_0.xsd" - version="2.0"> -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd" -+ version="6.0"> ++ 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"> @@ -191,8 +191,8 @@ recipeList: + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" + version="5.0"> jakarta.faces.PROJECT_STAGE Production @@ -219,8 +219,8 @@ recipeList: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_0.xsd" - version="2.0"> -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd" -+ version="6.0"> ++ 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"> @@ -260,8 +260,8 @@ recipeList: + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" + version="5.0"> jakarta.faces.PROJECT_STAGE Production @@ -283,8 +283,8 @@ recipeList: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_0.xsd" - version="2.0"> -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd" -+ version="6.0"> ++ 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"> @@ -329,8 +329,8 @@ recipeList: + xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" + version="5.0"> jakarta.faces.PROJECT_STAGE Production @@ -357,8 +357,8 @@ recipeList: xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_0.xsd" - version="2.0"> -+ xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd" -+ version="6.0"> ++ 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"> @@ -381,7 +381,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md b/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md index 687419c06c..a59eeed2b4 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md +++ b/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md b/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md index 700875f730..a90f94c2c7 100644 --- a/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md +++ b/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md @@ -132,7 +132,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md b/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md index 80a5e421b9..848d0f1a88 100644 --- a/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md +++ b/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxxmltojakartaxmlxjcbinding.md b/docs/recipes/java/migrate/jakarta/javaxxmltojakartaxmlxjcbinding.md index 9346d7ff89..ccf48441b7 100644 --- a/docs/recipes/java/migrate/jakarta/javaxxmltojakartaxmlxjcbinding.md +++ b/docs/recipes/java/migrate/jakarta/javaxxmltojakartaxmlxjcbinding.md @@ -75,6 +75,89 @@ recipeList: ``` +## Examples +##### Example 1 + + + + + + +###### Before +```xml + + + +``` + +###### After +```xml + + + +``` + + + + +```diff +@@ -2,2 +2,2 @@ + +- +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```xml + + + +``` + +###### After +```xml + + + +``` + + + + +```diff +@@ -2,2 +2,2 @@ + +- +``` + + + ## Usage @@ -86,7 +169,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md b/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md index 5e2903f35c..1258c851bd 100644 --- a/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md +++ b/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md @@ -132,7 +132,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md index d2f33625d8..1fbee76e0b 100644 --- a/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/migrationtojakarta10apis.md b/docs/recipes/java/migrate/jakarta/migrationtojakarta10apis.md index 9c770f1d87..fc4a317ec2 100644 --- a/docs/recipes/java/migrate/jakarta/migrationtojakarta10apis.md +++ b/docs/recipes/java/migrate/jakarta/migrationtojakarta10apis.md @@ -210,7 +210,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/omnifacesnamespacemigration.md b/docs/recipes/java/migrate/jakarta/omnifacesnamespacemigration.md index d5756d4152..5936ef623e 100644 --- a/docs/recipes/java/migrate/jakarta/omnifacesnamespacemigration.md +++ b/docs/recipes/java/migrate/jakarta/omnifacesnamespacemigration.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md b/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md index f2a6f7de03..5a8b40b310 100644 --- a/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md +++ b/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md @@ -577,7 +577,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removebeanisnullable.md b/docs/recipes/java/migrate/jakarta/removebeanisnullable.md index 39b03a69b8..3d32944faf 100644 --- a/docs/recipes/java/migrate/jakarta/removebeanisnullable.md +++ b/docs/recipes/java/migrate/jakarta/removebeanisnullable.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md b/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md index 56eb3a1356..3635ae411c 100644 --- a/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md +++ b/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md @@ -163,7 +163,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md b/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md index e251a383d9..f8486f7ef6 100644 --- a/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md +++ b/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md @@ -9,11 +9,11 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.migrate.jakarta.RemovedJakartaFacesExpressionLanguageClasses** -_Several classes were removed and replaced in Jakarta Faces 4.0. The only Object definition not removed in the `jakarta.faces.el` package is the CompositeComponentExpressionHolder interface._ +_Several classes were removed and replaced in Jakarta Faces 3.0. The only Object definition not removed in the `jakarta.faces.el` package is the CompositeComponentExpressionHolder interface._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -29,69 +29,69 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.MethodBinding` + * oldFullyQualifiedTypeName: `javax.faces.el.MethodBinding` * newFullyQualifiedTypeName: `jakarta.el.MethodExpression` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.PropertyResolver` - * newFullyQualifiedTypeName: `jakarta.el.ELResolver` - * ignoreDefinition: `true` -* [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.ValueBinding` - * newFullyQualifiedTypeName: `jakarta.el.ValueExpression` + * oldFullyQualifiedTypeName: `jakarta.faces.el.MethodBinding` + * newFullyQualifiedTypeName: `jakarta.el.MethodExpression` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.VariableResolver` + * oldFullyQualifiedTypeName: `javax.faces.el.PropertyResolver` * newFullyQualifiedTypeName: `jakarta.el.ELResolver` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.EvaluationException` - * newFullyQualifiedTypeName: `jakarta.el.ELException` - * ignoreDefinition: `true` -* [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.MethodNotFoundException` - * newFullyQualifiedTypeName: `jakarta.el.MethodNotFoundException` - * ignoreDefinition: `true` -* [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.PropertyNotFoundException` - * newFullyQualifiedTypeName: `jakarta.el.PropertyNotFoundException` + * oldFullyQualifiedTypeName: `jakarta.faces.el.PropertyResolver` + * newFullyQualifiedTypeName: `jakarta.el.ELResolver` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.el.ReferenceSyntaxException` - * newFullyQualifiedTypeName: `jakarta.el.ELException` + * oldFullyQualifiedTypeName: `javax.faces.el.ValueBinding` + * newFullyQualifiedTypeName: `jakarta.el.ValueExpression` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `javax.faces.el.MethodBinding` - * newFullyQualifiedTypeName: `jakarta.el.MethodExpression` + * oldFullyQualifiedTypeName: `jakarta.faces.el.ValueBinding` + * newFullyQualifiedTypeName: `jakarta.el.ValueExpression` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `javax.faces.el.PropertyResolver` + * oldFullyQualifiedTypeName: `javax.faces.el.VariableResolver` * newFullyQualifiedTypeName: `jakarta.el.ELResolver` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `javax.faces.el.ValueBinding` - * newFullyQualifiedTypeName: `jakarta.el.ValueExpression` - * ignoreDefinition: `true` -* [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `javax.faces.el.VariableResolver` + * oldFullyQualifiedTypeName: `jakarta.faces.el.VariableResolver` * newFullyQualifiedTypeName: `jakarta.el.ELResolver` * ignoreDefinition: `true` * [Change type](../../../java/changetype) * oldFullyQualifiedTypeName: `javax.faces.el.EvaluationException` * newFullyQualifiedTypeName: `jakarta.el.ELException` * ignoreDefinition: `true` +* [Change type](../../../java/changetype) + * oldFullyQualifiedTypeName: `jakarta.faces.el.EvaluationException` + * newFullyQualifiedTypeName: `jakarta.el.ELException` + * ignoreDefinition: `true` * [Change type](../../../java/changetype) * oldFullyQualifiedTypeName: `javax.faces.el.MethodNotFoundException` * newFullyQualifiedTypeName: `jakarta.el.MethodNotFoundException` * ignoreDefinition: `true` +* [Change type](../../../java/changetype) + * oldFullyQualifiedTypeName: `jakarta.faces.el.MethodNotFoundException` + * newFullyQualifiedTypeName: `jakarta.el.MethodNotFoundException` + * ignoreDefinition: `true` * [Change type](../../../java/changetype) * oldFullyQualifiedTypeName: `javax.faces.el.PropertyNotFoundException` * newFullyQualifiedTypeName: `jakarta.el.PropertyNotFoundException` * ignoreDefinition: `true` +* [Change type](../../../java/changetype) + * oldFullyQualifiedTypeName: `jakarta.faces.el.PropertyNotFoundException` + * newFullyQualifiedTypeName: `jakarta.el.PropertyNotFoundException` + * ignoreDefinition: `true` * [Change type](../../../java/changetype) * oldFullyQualifiedTypeName: `javax.faces.el.ReferenceSyntaxException` * newFullyQualifiedTypeName: `jakarta.el.ELException` * ignoreDefinition: `true` +* [Change type](../../../java/changetype) + * oldFullyQualifiedTypeName: `jakarta.faces.el.ReferenceSyntaxException` + * newFullyQualifiedTypeName: `jakarta.el.ELException` + * ignoreDefinition: `true` @@ -103,72 +103,72 @@ type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.jakarta.RemovedJakartaFacesExpressionLanguageClasses displayName: Use `jakarta.el` instead of `jakarta.faces.el` and `javax.faces.el` description: | - Several classes were removed and replaced in Jakarta Faces 4.0. The only Object definition not removed in the `jakarta.faces.el` package is the CompositeComponentExpressionHolder interface. + Several classes were removed and replaced in Jakarta Faces 3.0. The only Object definition not removed in the `jakarta.faces.el` package is the CompositeComponentExpressionHolder interface. recipeList: - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.MethodBinding + oldFullyQualifiedTypeName: javax.faces.el.MethodBinding newFullyQualifiedTypeName: jakarta.el.MethodExpression ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.PropertyResolver - newFullyQualifiedTypeName: jakarta.el.ELResolver - ignoreDefinition: true - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.ValueBinding - newFullyQualifiedTypeName: jakarta.el.ValueExpression + oldFullyQualifiedTypeName: jakarta.faces.el.MethodBinding + newFullyQualifiedTypeName: jakarta.el.MethodExpression ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.VariableResolver + oldFullyQualifiedTypeName: javax.faces.el.PropertyResolver newFullyQualifiedTypeName: jakarta.el.ELResolver ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.EvaluationException - newFullyQualifiedTypeName: jakarta.el.ELException - ignoreDefinition: true - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.MethodNotFoundException - newFullyQualifiedTypeName: jakarta.el.MethodNotFoundException - ignoreDefinition: true - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.PropertyNotFoundException - newFullyQualifiedTypeName: jakarta.el.PropertyNotFoundException + oldFullyQualifiedTypeName: jakarta.faces.el.PropertyResolver + newFullyQualifiedTypeName: jakarta.el.ELResolver ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.el.ReferenceSyntaxException - newFullyQualifiedTypeName: jakarta.el.ELException + oldFullyQualifiedTypeName: javax.faces.el.ValueBinding + newFullyQualifiedTypeName: jakarta.el.ValueExpression ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.faces.el.MethodBinding - newFullyQualifiedTypeName: jakarta.el.MethodExpression + oldFullyQualifiedTypeName: jakarta.faces.el.ValueBinding + newFullyQualifiedTypeName: jakarta.el.ValueExpression ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.faces.el.PropertyResolver + oldFullyQualifiedTypeName: javax.faces.el.VariableResolver newFullyQualifiedTypeName: jakarta.el.ELResolver ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.faces.el.ValueBinding - newFullyQualifiedTypeName: jakarta.el.ValueExpression - ignoreDefinition: true - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.faces.el.VariableResolver + oldFullyQualifiedTypeName: jakarta.faces.el.VariableResolver newFullyQualifiedTypeName: jakarta.el.ELResolver ignoreDefinition: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: javax.faces.el.EvaluationException newFullyQualifiedTypeName: jakarta.el.ELException ignoreDefinition: true + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: jakarta.faces.el.EvaluationException + newFullyQualifiedTypeName: jakarta.el.ELException + ignoreDefinition: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: javax.faces.el.MethodNotFoundException newFullyQualifiedTypeName: jakarta.el.MethodNotFoundException ignoreDefinition: true + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: jakarta.faces.el.MethodNotFoundException + newFullyQualifiedTypeName: jakarta.el.MethodNotFoundException + ignoreDefinition: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: javax.faces.el.PropertyNotFoundException newFullyQualifiedTypeName: jakarta.el.PropertyNotFoundException ignoreDefinition: true + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: jakarta.faces.el.PropertyNotFoundException + newFullyQualifiedTypeName: jakarta.el.PropertyNotFoundException + ignoreDefinition: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: javax.faces.el.ReferenceSyntaxException newFullyQualifiedTypeName: jakarta.el.ELException ignoreDefinition: true + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: jakarta.faces.el.ReferenceSyntaxException + newFullyQualifiedTypeName: jakarta.el.ELException + ignoreDefinition: true ``` @@ -183,15 +183,12 @@ recipeList: ###### Before ```java -package com.test; - import jakarta.faces.el.MethodBinding; import jakarta.faces.el.PropertyResolver; import jakarta.faces.el.ValueBinding; -public class Test { - - public void testJakarta() { +class Test { + void testJakarta() { MethodBinding methodBinding = null; PropertyResolver propertyResolver = null; ValueBinding valueBinding = null; @@ -201,15 +198,12 @@ public class Test { ###### After ```java -package com.test; - import jakarta.el.ELResolver; import jakarta.el.MethodExpression; import jakarta.el.ValueExpression; -public class Test { - - public void testJakarta() { +class Test { + void testJakarta() { MethodExpression methodBinding = null; ELResolver propertyResolver = null; ValueExpression valueBinding = null; @@ -221,9 +215,7 @@ public class Test { ```diff -@@ -3,3 +3,3 @@ -package com.test; - +@@ -1,3 +1,3 @@ -import jakarta.faces.el.MethodBinding; -import jakarta.faces.el.PropertyResolver; -import jakarta.faces.el.ValueBinding; @@ -231,9 +223,9 @@ package com.test; +import jakarta.el.MethodExpression; +import jakarta.el.ValueExpression; -@@ -10,3 +10,3 @@ - - public void testJakarta() { +@@ -7,3 +7,3 @@ +class Test { + void testJakarta() { - MethodBinding methodBinding = null; - PropertyResolver propertyResolver = null; - ValueBinding valueBinding = null; @@ -256,15 +248,12 @@ package com.test; ###### Before ```java -package com.test; - import jakarta.faces.el.MethodBinding; import jakarta.faces.el.PropertyResolver; import jakarta.faces.el.ValueBinding; -public class Test { - - public void testJakarta() { +class Test { + void testJakarta() { MethodBinding methodBinding = null; PropertyResolver propertyResolver = null; ValueBinding valueBinding = null; @@ -274,15 +263,12 @@ public class Test { ###### After ```java -package com.test; - import jakarta.el.ELResolver; import jakarta.el.MethodExpression; import jakarta.el.ValueExpression; -public class Test { - - public void testJakarta() { +class Test { + void testJakarta() { MethodExpression methodBinding = null; ELResolver propertyResolver = null; ValueExpression valueBinding = null; @@ -294,9 +280,7 @@ public class Test { ```diff -@@ -3,3 +3,3 @@ -package com.test; - +@@ -1,3 +1,3 @@ -import jakarta.faces.el.MethodBinding; -import jakarta.faces.el.PropertyResolver; -import jakarta.faces.el.ValueBinding; @@ -304,9 +288,9 @@ package com.test; +import jakarta.el.MethodExpression; +import jakarta.el.ValueExpression; -@@ -10,3 +10,3 @@ - - public void testJakarta() { +@@ -7,3 +7,3 @@ +class Test { + void testJakarta() { - MethodBinding methodBinding = null; - PropertyResolver propertyResolver = null; - ValueBinding valueBinding = null; @@ -329,7 +313,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md b/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md index a2ad58a0d6..ba19c6a120 100644 --- a/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md +++ b/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md @@ -9,11 +9,11 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.migrate.jakarta.RemovedJakartaFacesResourceResolver** -_The `ResourceResolver` class was removed in Jakarta Faces 4.0. The functionality provided by that class can be replaced by using the `jakarta.faces.application.ResourceHandler` class._ +_The `ResourceResolver` class was removed in Jakarta Faces 3.0. The functionality provided by that class can be replaced by using the `jakarta.faces.application.ResourceHandler` class._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -47,7 +47,7 @@ type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.jakarta.RemovedJakartaFacesResourceResolver displayName: Replace `ResourceResolver` with `ResourceHandler` description: | - The `ResourceResolver` class was removed in Jakarta Faces 4.0. The functionality provided by that class can be replaced by using the `jakarta.faces.application.ResourceHandler` class. + The `ResourceResolver` class was removed in Jakarta Faces 3.0. The functionality provided by that class can be replaced by using the `jakarta.faces.application.ResourceHandler` class. recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: javax.faces.view.facelets.ResourceResolver @@ -217,7 +217,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md b/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md index e6d04a1fcc..816bac8069 100644 --- a/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md +++ b/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md @@ -239,7 +239,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md b/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md index d6a878d6f6..de298cb567 100644 --- a/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md +++ b/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md @@ -9,11 +9,11 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.migrate.jakarta.RemovedStateManagerMethods** -_Methods that were removed from the `jakarta.faces.application.StateManager` and `javax.faces.application.StateManager` classes in Jakarta Faces 4.0 are replaced by `jakarta.faces.view.StateManagementStrategy` or `javax.faces.view.StateManagementStrategy` based on Jakarta10 migration in Faces 4.0._ +_Faces 3.0 introduced using `StateManagementStrategy` in favor of `StateManager`, which was later removed in Faces 4.0._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -49,11 +49,11 @@ This recipe is available under the [Moderne Source Available License](https://do * newMethodName: `saveView` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `jakarta.faces.application.StateManager` + * oldFullyQualifiedTypeName: `javax.faces.application.StateManager` * newFullyQualifiedTypeName: `jakarta.faces.view.StateManagementStrategy` * ignoreDefinition: `true` * [Change type](../../../java/changetype) - * oldFullyQualifiedTypeName: `javax.faces.application.StateManager` + * oldFullyQualifiedTypeName: `jakarta.faces.application.StateManager` * newFullyQualifiedTypeName: `jakarta.faces.view.StateManagementStrategy` * ignoreDefinition: `true` @@ -67,7 +67,7 @@ type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.jakarta.RemovedStateManagerMethods displayName: Use `StateManagementStrategy` description: | - Methods that were removed from the `jakarta.faces.application.StateManager` and `javax.faces.application.StateManager` classes in Jakarta Faces 4.0 are replaced by `jakarta.faces.view.StateManagementStrategy` or `javax.faces.view.StateManagementStrategy` based on Jakarta10 migration in Faces 4.0. + Faces 3.0 introduced using `StateManagementStrategy` in favor of `StateManager`, which was later removed in Faces 4.0. recipeList: - org.openrewrite.java.ChangeMethodName: methodPattern: *.faces.application.StateManager getComponentStateToSave(*.faces.context.FacesContext) @@ -90,11 +90,11 @@ recipeList: newMethodName: saveView ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: jakarta.faces.application.StateManager + oldFullyQualifiedTypeName: javax.faces.application.StateManager newFullyQualifiedTypeName: jakarta.faces.view.StateManagementStrategy ignoreDefinition: true - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: javax.faces.application.StateManager + oldFullyQualifiedTypeName: jakarta.faces.application.StateManager newFullyQualifiedTypeName: jakarta.faces.view.StateManagementStrategy ignoreDefinition: true @@ -277,7 +277,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md b/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md index 89915a928a..82551ffe08 100644 --- a/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md +++ b/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md @@ -13,7 +13,7 @@ _Replace `jakarta.faces.component.UIComponent.CURRENT_COMPONENT` and `CURRENT_CO ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -173,7 +173,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md b/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md index 508191cf09..20c1ce29e0 100644 --- a/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md +++ b/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md index 2db576a173..3098e5e393 100644 --- a/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md b/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md index 6cde7c6fb5..46f0ed07e9 100644 --- a/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md +++ b/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md @@ -233,7 +233,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md b/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md index 75def402d7..310e0af127 100644 --- a/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md +++ b/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md index 5e8160f00e..f0d4c23693 100644 --- a/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/updateannotationattributejavaxtojakarta.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -218,4 +218,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Melloware](mailto:mellowaredev@gmail.com) +[Melloware](mailto:mellowaredev@gmail.com), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/migrate/jakarta/updateapachecommonsemaildependencies.md b/docs/recipes/java/migrate/jakarta/updateapachecommonsemaildependencies.md index d723ca8442..dd6eb28562 100644 --- a/docs/recipes/java/migrate/jakarta/updateapachecommonsemaildependencies.md +++ b/docs/recipes/java/migrate/jakarta/updateapachecommonsemaildependencies.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updateapacheshirodependencies.md b/docs/recipes/java/migrate/jakarta/updateapacheshirodependencies.md index ceb068ebc3..43a7b0c1dd 100644 --- a/docs/recipes/java/migrate/jakarta/updateapacheshirodependencies.md +++ b/docs/recipes/java/migrate/jakarta/updateapacheshirodependencies.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md b/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md index 90e080b039..87ebf7bd09 100644 --- a/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md +++ b/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md @@ -165,7 +165,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md b/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md index 152f371550..7cd7c04ffc 100644 --- a/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md +++ b/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updateeclipselinkdependencies.md b/docs/recipes/java/migrate/jakarta/updateeclipselinkdependencies.md index f16814edd8..4f991b4775 100644 --- a/docs/recipes/java/migrate/jakarta/updateeclipselinkdependencies.md +++ b/docs/recipes/java/migrate/jakarta/updateeclipselinkdependencies.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updategetrealpath.md b/docs/recipes/java/migrate/jakarta/updategetrealpath.md index ad3e54867b..c6e065a531 100644 --- a/docs/recipes/java/migrate/jakarta/updategetrealpath.md +++ b/docs/recipes/java/migrate/jakarta/updategetrealpath.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md b/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md index 35e9de8a32..e671e9d485 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/javaxfacestojakartafaces.md b/docs/recipes/java/migrate/jakarta/updatejakartafacesapi3.md similarity index 92% rename from docs/recipes/java/migrate/jakarta/javaxfacestojakartafaces.md rename to docs/recipes/java/migrate/jakarta/updatejakartafacesapi3.md index d11fe3202f..8d93d5a9a8 100644 --- a/docs/recipes/java/migrate/jakarta/javaxfacestojakartafaces.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartafacesapi3.md @@ -7,13 +7,13 @@ import TabItem from '@theme/TabItem'; # Migrate deprecated `javax.faces` packages to `jakarta.faces` -**org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces** +**org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi3** -_Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ +_Java EE has been rebranded to Jakarta EE, necessitating a package relocation and upgrade._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -53,10 +53,10 @@ This recipe is available under the [Moderne Source Available License](https://do ```yaml --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces +name: org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi3 displayName: Migrate deprecated `javax.faces` packages to `jakarta.faces` description: | - Java EE has been rebranded to Jakarta EE, necessitating a package relocation. + Java EE has been rebranded to Jakarta EE, necessitating a package relocation and upgrade. recipeList: - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: javax.faces @@ -90,11 +90,11 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces") + activeRecipe("org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi3") setExportDatatables(true) } @@ -127,7 +127,7 @@ rootProject { rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces") + activeRecipe("org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi3") setExportDatatables(true) } afterEvaluate { @@ -162,7 +162,7 @@ gradle --init-script init.gradle rewriteRun true - org.openrewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces + org.openrewrite.java.migrate.jakarta.UpdateJakartaFacesApi3 @@ -185,7 +185,7 @@ gradle --init-script init.gradle rewriteRun 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.JavaxFacesToJakartaFaces -Drewrite.exportDatatables=true +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.UpdateJakartaFacesApi3 -Drewrite.exportDatatables=true ``` @@ -193,7 +193,7 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCo 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 JavaxFacesToJakartaFaces +mod run . --recipe UpdateJakartaFacesApi3 ``` If the recipe is not available locally, then you can install it using: @@ -207,7 +207,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VER 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. diff --git a/docs/recipes/java/migrate/jakarta/updatejakartafacesapi4.md b/docs/recipes/java/migrate/jakarta/updatejakartafacesapi4.md index 009803c918..24fb3a37df 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartafacesapi4.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartafacesapi4.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatejakartafacesapi41.md b/docs/recipes/java/migrate/jakarta/updatejakartafacesapi41.md index 3608dfd299..07da42997e 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartafacesapi41.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartafacesapi41.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md b/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md index d11fbe3e98..c36f51ec65 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatejakartaplatform11.md b/docs/recipes/java/migrate/jakarta/updatejakartaplatform11.md index 7abe2db4f7..d847a676a9 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartaplatform11.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartaplatform11.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatejakartaxmlwsee10.md b/docs/recipes/java/migrate/jakarta/updatejakartaxmlwsee10.md index 4cc51ef548..9705488e4c 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartaxmlwsee10.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartaxmlwsee10.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatejerseydependencies.md b/docs/recipes/java/migrate/jakarta/updatejerseydependencies.md index ab595f6285..24258606ec 100644 --- a/docs/recipes/java/migrate/jakarta/updatejerseydependencies.md +++ b/docs/recipes/java/migrate/jakarta/updatejerseydependencies.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/updatemanagedbeantonamed.md b/docs/recipes/java/migrate/jakarta/updatemanagedbeantonamed.md new file mode 100644 index 0000000000..6a093a150d --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/updatemanagedbeantonamed.md @@ -0,0 +1,221 @@ +--- +sidebar_label: "Update Faces @ManagedBean to use CDI @Named" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Update Faces `@ManagedBean` to use CDI `@Named` + +**org.openrewrite.java.migrate.jakarta.UpdateManagedBeanToNamed** + +_Faces ManagedBean was deprecated in JSF 2.3 (EE8) and removed in Jakarta Faces 4.0 (EE10). Replace `@ManagedBean` with `@Named` for CDI-based bean management._ + +### Tags + +* faces +* jsf +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateManagedBeanToNamed.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.UpdateManagedBeanToNamed") + 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.UpdateManagedBeanToNamed") + 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.UpdateManagedBeanToNamed + + + + + 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.UpdateManagedBeanToNamed -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 UpdateManagedBeanToNamed +``` + +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 +Evie Lau, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/migrate/jakarta/updateyassondependencies.md b/docs/recipes/java/migrate/jakarta/updateyassondependencies.md index 3e783fb9cd..1400f8c138 100644 --- a/docs/recipes/java/migrate/jakarta/updateyassondependencies.md +++ b/docs/recipes/java/migrate/jakarta/updateyassondependencies.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/upgradefaces3opensourcelibraries.md b/docs/recipes/java/migrate/jakarta/upgradefaces3opensourcelibraries.md new file mode 100644 index 0000000000..4d85e1e770 --- /dev/null +++ b/docs/recipes/java/migrate/jakarta/upgradefaces3opensourcelibraries.md @@ -0,0 +1,310 @@ +--- +sidebar_label: "Upgrade Faces open source libraries" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Upgrade Faces open source libraries + +**org.openrewrite.java.migrate.jakarta.UpgradeFaces3OpenSourceLibraries** + +_Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE9 versions._ + +### Tags + +* myfaces +* primefaces +* faces +* jsf +* omnifaces +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-3.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 Maven dependency classifier](../../../maven/changedependencyclassifier) + * groupId: `org.primefaces` + * artifactId: `primefaces` + * newClassifier: `jakarta` +* [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) + * groupId: `org.primefaces` + * artifactId: `primefaces` + * newVersion: `14.0.x` +* [Change Maven dependency classifier](../../../maven/changedependencyclassifier) + * groupId: `org.primefaces.extensions` + * artifactId: `primefaces-extensions` + * newClassifier: `jakarta` +* [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) + * groupId: `org.primefaces.extensions` + * artifactId: `primefaces-extensions` + * newVersion: `14.0.x` +* [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) + * groupId: `org.omnifaces` + * artifactId: `omnifaces` + * newVersion: `4.x` +* [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) + * groupId: `org.apache.myfaces.core` + * artifactId: `myfaces-api` + * newVersion: `4.0.x` +* [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) + * groupId: `org.apache.myfaces.core` + * artifactId: `myfaces-impl` + * newVersion: `4.0.x` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.jakarta.UpgradeFaces3OpenSourceLibraries +displayName: Upgrade Faces open source libraries +description: | + Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE9 versions. +tags: + - myfaces + - primefaces + - faces + - jsf + - omnifaces + - jakarta +recipeList: + - org.openrewrite.maven.ChangeDependencyClassifier: + groupId: org.primefaces + artifactId: primefaces + newClassifier: jakarta + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.primefaces + artifactId: primefaces + newVersion: 14.0.x + - org.openrewrite.maven.ChangeDependencyClassifier: + groupId: org.primefaces.extensions + artifactId: primefaces-extensions + newClassifier: jakarta + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.primefaces.extensions + artifactId: primefaces-extensions + newVersion: 14.0.x + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.omnifaces + artifactId: omnifaces + newVersion: 4.x + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.apache.myfaces.core + artifactId: myfaces-api + newVersion: 4.0.x + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.apache.myfaces.core + artifactId: myfaces-impl + newVersion: 4.0.x + +``` + + + +## 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.UpgradeFaces3OpenSourceLibraries") + 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.UpgradeFaces3OpenSourceLibraries") + 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.UpgradeFaces3OpenSourceLibraries + + + + + 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.UpgradeFaces3OpenSourceLibraries -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 UpgradeFaces3OpenSourceLibraries +``` + +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/upgradefaces41opensourcelibraries.md b/docs/recipes/java/migrate/jakarta/upgradefaces41opensourcelibraries.md index 95b5f7a31b..9c875dd7cd 100644 --- a/docs/recipes/java/migrate/jakarta/upgradefaces41opensourcelibraries.md +++ b/docs/recipes/java/migrate/jakarta/upgradefaces41opensourcelibraries.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jakarta/upgradefacesopensourcelibraries.md b/docs/recipes/java/migrate/jakarta/upgradefaces4opensourcelibraries.md similarity index 95% rename from docs/recipes/java/migrate/jakarta/upgradefacesopensourcelibraries.md rename to docs/recipes/java/migrate/jakarta/upgradefaces4opensourcelibraries.md index ecf80a82e6..91e0e17c7c 100644 --- a/docs/recipes/java/migrate/jakarta/upgradefacesopensourcelibraries.md +++ b/docs/recipes/java/migrate/jakarta/upgradefaces4opensourcelibraries.md @@ -7,7 +7,7 @@ import TabItem from '@theme/TabItem'; # Upgrade Faces open source libraries -**org.openrewrite.java.migrate.jakarta.UpgradeFacesOpenSourceLibraries** +**org.openrewrite.java.migrate.jakarta.UpgradeFaces4OpenSourceLibraries** _Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE10 versions._ @@ -73,7 +73,7 @@ This recipe is available under the [Moderne Source Available License](https://do ```yaml --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.jakarta.UpgradeFacesOpenSourceLibraries +name: org.openrewrite.java.migrate.jakarta.UpgradeFaces4OpenSourceLibraries displayName: Upgrade Faces open source libraries description: | Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE10 versions. @@ -128,11 +128,11 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.UpgradeFacesOpenSourceLibraries") + activeRecipe("org.openrewrite.java.migrate.jakarta.UpgradeFaces4OpenSourceLibraries") setExportDatatables(true) } @@ -165,7 +165,7 @@ rootProject { rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") } rewrite { - activeRecipe("org.openrewrite.java.migrate.jakarta.UpgradeFacesOpenSourceLibraries") + activeRecipe("org.openrewrite.java.migrate.jakarta.UpgradeFaces4OpenSourceLibraries") setExportDatatables(true) } afterEvaluate { @@ -200,7 +200,7 @@ gradle --init-script init.gradle rewriteRun true - org.openrewrite.java.migrate.jakarta.UpgradeFacesOpenSourceLibraries + org.openrewrite.java.migrate.jakarta.UpgradeFaces4OpenSourceLibraries @@ -223,7 +223,7 @@ gradle --init-script init.gradle rewriteRun 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.UpgradeFacesOpenSourceLibraries -Drewrite.exportDatatables=true +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.UpgradeFaces4OpenSourceLibraries -Drewrite.exportDatatables=true ``` @@ -231,7 +231,7 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCo 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 UpgradeFacesOpenSourceLibraries +mod run . --recipe UpgradeFaces4OpenSourceLibraries ``` If the recipe is not available locally, then you can install it using: @@ -245,7 +245,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VER 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. diff --git a/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md b/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md index f176d8923c..ac60499b7a 100644 --- a/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md +++ b/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md @@ -185,7 +185,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/java8tojava11.md b/docs/recipes/java/migrate/java8tojava11.md index e270cdeaa3..a756999a86 100644 --- a/docs/recipes/java/migrate/java8tojava11.md +++ b/docs/recipes/java/migrate/java8tojava11.md @@ -40,7 +40,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Prefer `java.util.Base64` instead of `sun.misc`](../../java/migrate/usejavautilbase64) * useMimeCoder: `false` * [Remove explicit casts on `Arrays.asList(..).toArray()`](../../java/migrate/castarraysaslisttolist) -* [Add explicit JAXB dependencies](../../java/migrate/javax/addjaxbdependencies) +* [Add explicit JAXB API dependencies and runtime](../../java/migrate/javax/addjaxbdependencieswithruntime) * [Add explicit JAX-WS dependencies](../../java/migrate/javax/addjaxwsdependencies) * [Add explicit Inject dependencies](../../java/migrate/javax/addinjectdependencies) * [Add explicit Common Annotations dependencies](../../java/migrate/javax/addcommonannotationsdependencies) @@ -112,7 +112,7 @@ recipeList: - org.openrewrite.java.migrate.UseJavaUtilBase64: useMimeCoder: false - org.openrewrite.java.migrate.CastArraysAsListToList - - org.openrewrite.java.migrate.javax.AddJaxbDependencies + - org.openrewrite.java.migrate.javax.AddJaxbDependenciesWithRuntime - org.openrewrite.java.migrate.javax.AddJaxwsDependencies - org.openrewrite.java.migrate.javax.AddInjectDependencies - org.openrewrite.java.migrate.javax.AddCommonAnnotationsDependencies @@ -283,7 +283,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javaee6.md b/docs/recipes/java/migrate/javaee6.md index 02f9673f0f..aa5abea4ff 100644 --- a/docs/recipes/java/migrate/javaee6.md +++ b/docs/recipes/java/migrate/javaee6.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javaee7-recipe.md b/docs/recipes/java/migrate/javaee7-recipe.md index 71a245135c..b272d801b3 100644 --- a/docs/recipes/java/migrate/javaee7-recipe.md +++ b/docs/recipes/java/migrate/javaee7-recipe.md @@ -37,6 +37,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Removed OpenJPA providers in the persistence.xml file](../../java/migrate/javaee7/openjpapersistenceprovider) * [Disable the persistence unit second-level cache](../../java/migrate/jpacacheproperties) * [Change `beans.xml` `schemaLocation` to match XML namespace](../../java/migrate/beansxmlnamespace) +* [Adds `static` modifier to `@Produces` fields that are in session beans](../../java/migrate/addstaticvariableonproducersessionbean) @@ -57,6 +58,7 @@ recipeList: - org.openrewrite.java.migrate.javaee7.OpenJPAPersistenceProvider - org.openrewrite.java.migrate.JpaCacheProperties - org.openrewrite.java.migrate.BeansXmlNamespace + - org.openrewrite.java.migrate.AddStaticVariableOnProducerSessionBean ``` @@ -72,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -254,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), [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), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md b/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md index e0f6cd98d2..9d90f39a56 100644 --- a/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md +++ b/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.migrate.javaee7.OpenJPAPersistenceProvider** -_When migrating to EclipseLink, using OpenJPA providers in EclipseLink results in runtime errors. To resolve these errors, the recipe removes the flagged OpenJPA provider from the persistence.xml._ +_When migrating to EclipseLink, using OpenJPA providers in EclipseLink results in runtime errors. To resolve these errors, the recipe removes the flagged OpenJPA provider from the persistence.xml._ ## Recipe source @@ -39,7 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.javaee7.OpenJPAPersistenceProvider displayName: Removed OpenJPA providers in the persistence.xml file description: | - When migrating to EclipseLink, using OpenJPA providers in EclipseLink results in runtime errors. To resolve these errors, the recipe removes the flagged OpenJPA provider from the persistence.xml. + When migrating to EclipseLink, using OpenJPA providers in EclipseLink results in runtime errors. To resolve these errors, the recipe removes the flagged OpenJPA provider from the persistence.xml. recipeList: - org.openrewrite.xml.ChangeTagValue: elementName: /persistence/persistence-unit/provider @@ -237,7 +237,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javaee8-recipe.md b/docs/recipes/java/migrate/javaee8-recipe.md index 422a879402..0f2875f034 100644 --- a/docs/recipes/java/migrate/javaee8-recipe.md +++ b/docs/recipes/java/migrate/javaee8-recipe.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [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), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md b/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md index 67541de123..7df0d459ac 100644 --- a/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md +++ b/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md @@ -205,7 +205,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md b/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md index d53f9a481a..e3a4042cfd 100644 --- a/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md +++ b/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md @@ -145,7 +145,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/README.md b/docs/recipes/java/migrate/javax/README.md index 0fbfe17333..38b268d140 100644 --- a/docs/recipes/java/migrate/javax/README.md +++ b/docs/recipes/java/migrate/javax/README.md @@ -7,7 +7,9 @@ _Recipes that include further recipes, often including the individual recipes be * [Add explicit Common Annotations dependencies](./addcommonannotationsdependencies.md) * [Add explicit Inject dependencies](./addinjectdependencies.md) * [Add explicit JAX-WS dependencies](./addjaxwsdependencies.md) -* [Add explicit JAXB dependencies](./addjaxbdependencies.md) +* [Add explicit JAXB API dependencies](./addjaxbapidependencies.md) +* [Add explicit JAXB API dependencies and remove runtimes](./addjaxbdependencieswithoutruntime.md) +* [Add explicit JAXB API dependencies and runtime](./addjaxbdependencieswithruntime.md) * [Migrate from OpenJPA to EclipseLink JPA](./openjpatoeclipselink.md) * [Use modernized `javax.lang.model.util` APIs](./javaxlangmodelutil.md) * [Use modernized `javax.xml.stream` APIs](./javaxxmlstreamapis.md) diff --git a/docs/recipes/java/migrate/javax/addcolumnannotation.md b/docs/recipes/java/migrate/javax/addcolumnannotation.md index 0a86c9b389..17f2a28486 100644 --- a/docs/recipes/java/migrate/javax/addcolumnannotation.md +++ b/docs/recipes/java/migrate/javax/addcolumnannotation.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md b/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md index 1dfad6d56f..88124dc7ff 100644 --- a/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md +++ b/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md b/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md index f6c9d4d33e..bac70c37ae 100644 --- a/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md +++ b/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addinjectdependencies.md b/docs/recipes/java/migrate/javax/addinjectdependencies.md index 611e2538bf..07164b9809 100644 --- a/docs/recipes/java/migrate/javax/addinjectdependencies.md +++ b/docs/recipes/java/migrate/javax/addinjectdependencies.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addjaxbdependencies.md b/docs/recipes/java/migrate/javax/addjaxbapidependencies.md similarity index 81% rename from docs/recipes/java/migrate/javax/addjaxbdependencies.md rename to docs/recipes/java/migrate/javax/addjaxbapidependencies.md index a460f2db0b..33840bd282 100644 --- a/docs/recipes/java/migrate/javax/addjaxbdependencies.md +++ b/docs/recipes/java/migrate/javax/addjaxbapidependencies.md @@ -1,27 +1,26 @@ --- -sidebar_label: "Add explicit JAXB dependencies" +sidebar_label: "Add explicit JAXB API dependencies" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Add explicit JAXB dependencies +# Add explicit JAXB API dependencies -**org.openrewrite.java.migrate.javax.AddJaxbDependencies** +**org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies** -_This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well._ +_This recipe will add explicit API dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well._ ### Tags * jaxb -* glassfish * javax * java11 * jakarta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jaxb-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) @@ -64,16 +63,6 @@ This recipe is available under the [Moderne Source Available License](https://do * groupId: `jakarta.xml.bind` * artifactId: `jakarta.xml.bind-api` * newVersion: `2.3.x` -* [Use latest JAXB API and runtime for Jakarta EE 8](../../../java/migrate/javax/addjaxbruntime) - * runtime: `glassfish` -* [Remove redundant explicit dependency and plugin versions](../../../maven/removeredundantdependencyversions) - * groupPattern: `org.glassfish.jaxb` - * artifactPattern: `*` - * onlyIfVersionsMatch: `true` -* [Remove redundant explicit dependency and plugin versions](../../../maven/removeredundantdependencyversions) - * groupPattern: `com.sun.xml.bind` - * artifactPattern: `*` - * onlyIfVersionsMatch: `true` * [Remove redundant explicit dependency and plugin versions](../../../maven/removeredundantdependencyversions) * groupPattern: `jakarta.xml.bind` * artifactPattern: `*` @@ -90,13 +79,12 @@ This recipe is available under the [Moderne Source Available License](https://do ```yaml --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.migrate.javax.AddJaxbDependencies -displayName: Add explicit JAXB dependencies +name: org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies +displayName: Add explicit JAXB API dependencies description: | - This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well. + This recipe will add explicit API dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well. tags: - jaxb - - glassfish - javax - java11 - jakarta @@ -129,16 +117,6 @@ recipeList: groupId: jakarta.xml.bind artifactId: jakarta.xml.bind-api newVersion: 2.3.x - - org.openrewrite.java.migrate.javax.AddJaxbRuntime: - runtime: glassfish - - org.openrewrite.maven.RemoveRedundantDependencyVersions: - groupPattern: org.glassfish.jaxb - artifactPattern: "*" - onlyIfVersionsMatch: true - - org.openrewrite.maven.RemoveRedundantDependencyVersions: - groupPattern: com.sun.xml.bind - artifactPattern: "*" - onlyIfVersionsMatch: true - org.openrewrite.maven.RemoveRedundantDependencyVersions: groupPattern: jakarta.xml.bind artifactPattern: "*" @@ -162,11 +140,11 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { - activeRecipe("org.openrewrite.java.migrate.javax.AddJaxbDependencies") + activeRecipe("org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies") setExportDatatables(true) } @@ -199,7 +177,7 @@ rootProject { rewrite("org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_MIGRATE_JAVA}}") } rewrite { - activeRecipe("org.openrewrite.java.migrate.javax.AddJaxbDependencies") + activeRecipe("org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies") setExportDatatables(true) } afterEvaluate { @@ -234,7 +212,7 @@ gradle --init-script init.gradle rewriteRun true - org.openrewrite.java.migrate.javax.AddJaxbDependencies + org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies @@ -257,7 +235,7 @@ gradle --init-script init.gradle rewriteRun 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.javax.AddJaxbDependencies -Drewrite.exportDatatables=true +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies -Drewrite.exportDatatables=true ``` @@ -265,7 +243,7 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCo 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 AddJaxbDependencies +mod run . --recipe AddJaxbAPIDependencies ``` If the recipe is not available locally, then you can install it using: @@ -279,7 +257,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-migrate-java:{{VER 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. diff --git a/docs/recipes/java/migrate/javax/addjaxbdependencieswithoutruntime.md b/docs/recipes/java/migrate/javax/addjaxbdependencieswithoutruntime.md new file mode 100644 index 0000000000..da7c636399 --- /dev/null +++ b/docs/recipes/java/migrate/javax/addjaxbdependencieswithoutruntime.md @@ -0,0 +1,295 @@ +--- +sidebar_label: "Add explicit JAXB API dependencies and remove runtimes" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add explicit JAXB API dependencies and remove runtimes + +**org.openrewrite.java.migrate.javax.AddJaxbDependenciesWithoutRuntime** + +_This recipe will add explicit API dependencies without runtime dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing API dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. All JAXB runtime implementation dependencies are removed._ + +### Tags + +* jaxb +* javax +* java11 +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jaxb-apis.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 + + + +* [Add explicit JAXB API dependencies](../../../java/migrate/javax/addjaxbapidependencies) +* [Remove a Gradle or Maven dependency](../../../java/dependencies/removedependency) + * groupId: `org.glassfish.jaxb` + * artifactId: `jaxb-runtime` +* [Remove Maven managed dependency](../../../maven/removemanageddependency) + * groupId: `org.glassfish.jaxb` + * artifactId: `jaxb-runtime` +* [Remove a Gradle or Maven dependency](../../../java/dependencies/removedependency) + * groupId: `com.sun.xml.bind` + * artifactId: `jaxb-impl` +* [Remove Maven managed dependency](../../../maven/removemanageddependency) + * groupId: `com.sun.xml.bind` + * artifactId: `jaxb-impl` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.javax.AddJaxbDependenciesWithoutRuntime +displayName: Add explicit JAXB API dependencies and remove runtimes +description: | + This recipe will add explicit API dependencies without runtime dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing API dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. All JAXB runtime implementation dependencies are removed. +tags: + - jaxb + - javax + - java11 + - jakarta +recipeList: + - org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies + - org.openrewrite.java.dependencies.RemoveDependency: + groupId: org.glassfish.jaxb + artifactId: jaxb-runtime + - org.openrewrite.maven.RemoveManagedDependency: + groupId: org.glassfish.jaxb + artifactId: jaxb-runtime + - org.openrewrite.java.dependencies.RemoveDependency: + groupId: com.sun.xml.bind + artifactId: jaxb-impl + - org.openrewrite.maven.RemoveManagedDependency: + groupId: com.sun.xml.bind + artifactId: jaxb-impl + +``` + + + +## 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.javax.AddJaxbDependenciesWithoutRuntime") + 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.javax.AddJaxbDependenciesWithoutRuntime") + 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.javax.AddJaxbDependenciesWithoutRuntime + + + + + 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.javax.AddJaxbDependenciesWithoutRuntime -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 AddJaxbDependenciesWithoutRuntime +``` + +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. | + + + + + +### 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. | + + + + diff --git a/docs/recipes/java/migrate/javax/addjaxbdependencieswithruntime.md b/docs/recipes/java/migrate/javax/addjaxbdependencieswithruntime.md new file mode 100644 index 0000000000..4f24cb860f --- /dev/null +++ b/docs/recipes/java/migrate/javax/addjaxbdependencieswithruntime.md @@ -0,0 +1,293 @@ +--- +sidebar_label: "Add explicit JAXB API dependencies and runtime" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add explicit JAXB API dependencies and runtime + +**org.openrewrite.java.migrate.javax.AddJaxbDependenciesWithRuntime** + +_This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well._ + +### Tags + +* jaxb +* glassfish +* javax +* java11 +* jakarta + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jaxb-apis.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 + + + +* [Add explicit JAXB API dependencies](../../../java/migrate/javax/addjaxbapidependencies) +* [Use latest JAXB API and runtime for Jakarta EE 8](../../../java/migrate/javax/addjaxbruntime) + * runtime: `glassfish` +* [Remove redundant explicit dependency and plugin versions](../../../maven/removeredundantdependencyversions) + * groupPattern: `org.glassfish.jaxb` + * artifactPattern: `*` + * onlyIfVersionsMatch: `true` +* [Remove redundant explicit dependency and plugin versions](../../../maven/removeredundantdependencyversions) + * groupPattern: `com.sun.xml.bind` + * artifactPattern: `*` + * onlyIfVersionsMatch: `true` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.javax.AddJaxbDependenciesWithRuntime +displayName: Add explicit JAXB API dependencies and runtime +description: | + This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well. +tags: + - jaxb + - glassfish + - javax + - java11 + - jakarta +recipeList: + - org.openrewrite.java.migrate.javax.AddJaxbAPIDependencies + - org.openrewrite.java.migrate.javax.AddJaxbRuntime: + runtime: glassfish + - org.openrewrite.maven.RemoveRedundantDependencyVersions: + groupPattern: org.glassfish.jaxb + artifactPattern: "*" + onlyIfVersionsMatch: true + - org.openrewrite.maven.RemoveRedundantDependencyVersions: + groupPattern: com.sun.xml.bind + artifactPattern: "*" + onlyIfVersionsMatch: true + +``` + + + +## 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.javax.AddJaxbDependenciesWithRuntime") + 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.javax.AddJaxbDependenciesWithRuntime") + 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.javax.AddJaxbDependenciesWithRuntime + + + + + 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.javax.AddJaxbDependenciesWithRuntime -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 AddJaxbDependenciesWithRuntime +``` + +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. | + + + + + +### 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. | + + + + diff --git a/docs/recipes/java/migrate/javax/addjaxbruntime.md b/docs/recipes/java/migrate/javax/addjaxbruntime.md index 63080dc48c..a194fa63f2 100644 --- a/docs/recipes/java/migrate/javax/addjaxbruntime.md +++ b/docs/recipes/java/migrate/javax/addjaxbruntime.md @@ -57,7 +57,7 @@ Now that `com.yourorg.AddJaxbRuntimeExample` has been defined, activate it and t ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addjaxwsdependencies.md b/docs/recipes/java/migrate/javax/addjaxwsdependencies.md index 46920ee782..7858f63b2d 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsdependencies.md +++ b/docs/recipes/java/migrate/javax/addjaxwsdependencies.md @@ -156,7 +156,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md index 11acfbc24c..ef3eb0a932 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md +++ b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md index 01a67ad624..d0460f305c 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md +++ b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Shannon Pamperl](mailto:shanman190@gmail.com), Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) +[Shannon Pamperl](mailto:shanman190@gmail.com), Tyler Van Gorder, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Knut Wannheden](mailto:knut@moderne.io), [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/java/migrate/javax/addjaxwsruntime.md b/docs/recipes/java/migrate/javax/addjaxwsruntime.md index 921ab6ad11..66c897fcde 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsruntime.md +++ b/docs/recipes/java/migrate/javax/addjaxwsruntime.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md b/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md index a2c47016d6..18e4633b33 100644 --- a/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md +++ b/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addtablegenerator.md b/docs/recipes/java/migrate/javax/addtablegenerator.md index e033e0d754..2c64275a96 100644 --- a/docs/recipes/java/migrate/javax/addtablegenerator.md +++ b/docs/recipes/java/migrate/javax/addtablegenerator.md @@ -123,7 +123,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md b/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md index b5ab9a6915..80116457e6 100644 --- a/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md +++ b/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md b/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md index 5d79d6062c..bb82aa3ae5 100644 --- a/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md +++ b/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md b/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md index af0f417dd7..a91a281fc0 100644 --- a/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md +++ b/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md @@ -103,7 +103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/httpsessioninvalidate.md b/docs/recipes/java/migrate/javax/httpsessioninvalidate.md index c65785eb3a..897f0d9bdb 100644 --- a/docs/recipes/java/migrate/javax/httpsessioninvalidate.md +++ b/docs/recipes/java/migrate/javax/httpsessioninvalidate.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/javaxlangmodelutil.md b/docs/recipes/java/migrate/javax/javaxlangmodelutil.md index 8e4d9cb542..e379c4d677 100644 --- a/docs/recipes/java/migrate/javax/javaxlangmodelutil.md +++ b/docs/recipes/java/migrate/javax/javaxlangmodelutil.md @@ -155,7 +155,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md b/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md index 08539812a4..893e7a6439 100644 --- a/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md +++ b/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md @@ -147,7 +147,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md b/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md index b38abf8cf0..c27a6e9afc 100644 --- a/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md +++ b/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md @@ -151,7 +151,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md b/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md index 64ebd0cdcc..9be0bb5452 100644 --- a/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md b/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md index 9fb8c87a4a..517b757ea2 100644 --- a/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md b/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md index 8369144748..1e66b5d053 100644 --- a/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md b/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md index 43647a9a0a..a78cf07c5c 100644 --- a/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md +++ b/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md b/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md index fe54028ad2..bd86a9967f 100644 --- a/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md b/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md index 089340e21c..65ce61ac36 100644 --- a/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md +++ b/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md b/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md index d6b82b86da..1f47cefca8 100644 --- a/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md b/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md index 5fe276c3e4..4c748bc714 100644 --- a/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md b/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md index 0d4fb1824d..651bf0eb6d 100644 --- a/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md b/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md index 1018c45791..ac2868179b 100644 --- a/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md b/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md index 34915b8057..027b2cac28 100644 --- a/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md +++ b/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md b/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md index 230e9abd41..cfac4344da 100644 --- a/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md +++ b/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md b/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md index 6fbc9b0220..2fca1e37f1 100644 --- a/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md +++ b/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/openjpatoeclipselink.md b/docs/recipes/java/migrate/javax/openjpatoeclipselink.md index 6dcc50a249..25e78bea1e 100644 --- a/docs/recipes/java/migrate/javax/openjpatoeclipselink.md +++ b/docs/recipes/java/migrate/javax/openjpatoeclipselink.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/removeembeddableid.md b/docs/recipes/java/migrate/javax/removeembeddableid.md index 4d441e332a..e72a25466d 100644 --- a/docs/recipes/java/migrate/javax/removeembeddableid.md +++ b/docs/recipes/java/migrate/javax/removeembeddableid.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/removetemporalannotation.md b/docs/recipes/java/migrate/javax/removetemporalannotation.md index c7d42d2f60..70e0198d59 100644 --- a/docs/recipes/java/migrate/javax/removetemporalannotation.md +++ b/docs/recipes/java/migrate/javax/removetemporalannotation.md @@ -127,7 +127,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/javax/usejoincolumnformapping.md b/docs/recipes/java/migrate/javax/usejoincolumnformapping.md index 48cdbafcc3..f629dc3398 100644 --- a/docs/recipes/java/migrate/javax/usejoincolumnformapping.md +++ b/docs/recipes/java/migrate/javax/usejoincolumnformapping.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/joda/jodatimerecipe.md b/docs/recipes/java/migrate/joda/jodatimerecipe.md index f743e81f0e..8fc721aba3 100644 --- a/docs/recipes/java/migrate/joda/jodatimerecipe.md +++ b/docs/recipes/java/migrate/joda/jodatimerecipe.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/joda/nojodatime.md b/docs/recipes/java/migrate/joda/nojodatime.md index b039b796e4..de0eda53ec 100644 --- a/docs/recipes/java/migrate/joda/nojodatime.md +++ b/docs/recipes/java/migrate/joda/nojodatime.md @@ -345,7 +345,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jpacacheproperties.md b/docs/recipes/java/migrate/jpacacheproperties.md index 02d8e1786e..ba52cd4d0e 100644 --- a/docs/recipes/java/migrate/jpacacheproperties.md +++ b/docs/recipes/java/migrate/jpacacheproperties.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -267,4 +267,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), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com) diff --git a/docs/recipes/java/migrate/jre17agentmainpremainpublic.md b/docs/recipes/java/migrate/jre17agentmainpremainpublic.md index 97fabd9716..1a6d47e2f7 100644 --- a/docs/recipes/java/migrate/jre17agentmainpremainpublic.md +++ b/docs/recipes/java/migrate/jre17agentmainpremainpublic.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslapis.md b/docs/recipes/java/migrate/jredonotusesunnetsslapis.md index f89d033ee8..83bac4ab39 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslapis.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslapis.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md b/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md index 32fa87aeac..f3d3b93795 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md index 6bb02eb52a..269facc4b3 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md index 6d1e403b30..1ec4617d1a 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md b/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md index 3b49c8682c..1492fa89aa 100644 --- a/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md +++ b/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md @@ -146,7 +146,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jrethrowablefinalmethods.md b/docs/recipes/java/migrate/jrethrowablefinalmethods.md index 7f08936ecc..d204fa1ca2 100644 --- a/docs/recipes/java/migrate/jrethrowablefinalmethods.md +++ b/docs/recipes/java/migrate/jrethrowablefinalmethods.md @@ -125,7 +125,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/jrewrapperinterface.md b/docs/recipes/java/migrate/jrewrapperinterface.md index a3064754ef..89f992a628 100644 --- a/docs/recipes/java/migrate/jrewrapperinterface.md +++ b/docs/recipes/java/migrate/jrewrapperinterface.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/krb5loginmoduleclass.md b/docs/recipes/java/migrate/krb5loginmoduleclass.md index fb984d80f7..f93764b1c6 100644 --- a/docs/recipes/java/migrate/krb5loginmoduleclass.md +++ b/docs/recipes/java/migrate/krb5loginmoduleclass.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/README.md b/docs/recipes/java/migrate/lang/README.md index ec2fe2123f..0daf8bfae5 100644 --- a/docs/recipes/java/migrate/lang/README.md +++ b/docs/recipes/java/migrate/lang/README.md @@ -9,12 +9,16 @@ _Recipes that include further recipes, often including the individual recipes below._ * [A collection of `String` rules](./stringrulesrecipes.md) +* [Find Virtual Thread opportunities](./findvirtualthreadopportunities.md) +* [Find non-virtual `ExecutorService` creation](./findnonvirtualexecutors.md) * [Use local variable type inference](./usevar.md) * [Use modernized `java.lang` APIs](./javalangapis.md) ## Recipes * [Add explicit import for `Record` classes](./explicitrecordimport.md) +* [Add null check to existing switch cases](./nullcheckasswitchcase.md) +* [If-else-if-else to switch](./ifelseifconstructtoswitch.md) * [Prefer `String.formatted(Object...)`](./stringformatted.md) * [Replace `0 < s.length()` with `!s.isEmpty()`](./usestringisemptyrecipe.md) * [Replace `String.indexOf(String, 0)` with `String.indexOf(String)`](./stringrulesrecipes$indexofstringrecipe.md) @@ -31,6 +35,8 @@ _Recipes that include further recipes, often including the individual recipes be * [Use `Runtime.Version#interim()`](./migrateruntimeversionminortointerim.md) * [Use `Runtime.Version#update()`](./migrateruntimeversionsecuritytoupdate.md) * [Use `SecurityManager#checkMulticast(InetAddress)`](./migratesecuritymanagermulticast.md) +* [Use switch cases labels for enums](./switchcaseenumguardtolabel.md) +* [Use switch cases refinement when possible](./refineswitchcases.md) * [Use text blocks](./usetextblocks.md) diff --git a/docs/recipes/java/migrate/lang/explicitrecordimport.md b/docs/recipes/java/migrate/lang/explicitrecordimport.md index 7038256e51..26dedaf1fd 100644 --- a/docs/recipes/java/migrate/lang/explicitrecordimport.md +++ b/docs/recipes/java/migrate/lang/explicitrecordimport.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/findnonvirtualexecutors.md b/docs/recipes/java/migrate/lang/findnonvirtualexecutors.md new file mode 100644 index 0000000000..088e1e11d0 --- /dev/null +++ b/docs/recipes/java/migrate/lang/findnonvirtualexecutors.md @@ -0,0 +1,287 @@ +--- +sidebar_label: "Find non-virtual ExecutorService creation" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find non-virtual `ExecutorService` creation + +**org.openrewrite.java.migrate.lang.FindNonVirtualExecutors** + +_Find all places where static `java.util.concurrent.Executors` method creates a non-virtual `java.util.concurrent.ExecutorService`. This recipe can be used to search fro `ExecutorService` that can be replaced by Virtual Thread executor._ + +### Tags + +* java21 +* virtual_threads + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-virtual-threads.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 + + + +* [Find method usages](../../../java/search/findmethods) + * methodPattern: `java.util.concurrent.Executors#newCachedThreadPool(..)` +* [Find method usages](../../../java/search/findmethods) + * methodPattern: `java.util.concurrent.Executors#newFixedThreadPool(..)` +* [Find method usages](../../../java/search/findmethods) + * methodPattern: `java.util.concurrent.Executors#newSingleThreadExecutor(..)` +* [Find method usages](../../../java/search/findmethods) + * methodPattern: `java.util.concurrent.Executors#newWorkStealingPool(..)` +* [Find method usages](../../../java/search/findmethods) + * methodPattern: `java.util.concurrent.Executors#newScheduledThreadPool(..)` +* [Find method usages](../../../java/search/findmethods) + * methodPattern: `java.util.concurrent.Executors#newSingleThreadScheduledExecutor(..)` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.lang.FindNonVirtualExecutors +displayName: Find non-virtual `ExecutorService` creation +description: | + Find all places where static `java.util.concurrent.Executors` method creates a non-virtual `java.util.concurrent.ExecutorService`. This recipe can be used to search fro `ExecutorService` that can be replaced by Virtual Thread executor. +tags: + - java21 + - virtual_threads +recipeList: + - org.openrewrite.java.search.FindMethods: + methodPattern: java.util.concurrent.Executors#newCachedThreadPool(..) + - org.openrewrite.java.search.FindMethods: + methodPattern: java.util.concurrent.Executors#newFixedThreadPool(..) + - org.openrewrite.java.search.FindMethods: + methodPattern: java.util.concurrent.Executors#newSingleThreadExecutor(..) + - org.openrewrite.java.search.FindMethods: + methodPattern: java.util.concurrent.Executors#newWorkStealingPool(..) + - org.openrewrite.java.search.FindMethods: + methodPattern: java.util.concurrent.Executors#newScheduledThreadPool(..) + - org.openrewrite.java.search.FindMethods: + methodPattern: java.util.concurrent.Executors#newSingleThreadScheduledExecutor(..) + +``` + + + +## 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.lang.FindNonVirtualExecutors") + 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.lang.FindNonVirtualExecutors") + 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.lang.FindNonVirtualExecutors + + + + + 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.lang.FindNonVirtualExecutors -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 FindNonVirtualExecutors +``` + +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 + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + + +### 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/lang/findvirtualthreadopportunities.md b/docs/recipes/java/migrate/lang/findvirtualthreadopportunities.md new file mode 100644 index 0000000000..4f0b732030 --- /dev/null +++ b/docs/recipes/java/migrate/lang/findvirtualthreadopportunities.md @@ -0,0 +1,356 @@ +--- +sidebar_label: "Find Virtual Thread opportunities" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Find Virtual Thread opportunities + +**org.openrewrite.java.migrate.lang.FindVirtualThreadOpportunities** + +_Find opportunities to convert existing code to use Virtual Threads._ + +### Tags + +* java21 +* virtual_threads + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-virtual-threads.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 + + + +* [Find implementing classes](../../../java/search/findimplementations) + * typeName: `java.lang.Thread` +* [Find method usages](../../../java/search/findmethods) + * methodPattern: `java.lang.Thread#(..)` +* [Find non-virtual `ExecutorService` creation](../../../java/migrate/lang/findnonvirtualexecutors) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.lang.FindVirtualThreadOpportunities +displayName: Find Virtual Thread opportunities +description: | + Find opportunities to convert existing code to use Virtual Threads. +tags: + - java21 + - virtual_threads +recipeList: + - org.openrewrite.java.search.FindImplementations: + typeName: java.lang.Thread + - org.openrewrite.java.search.FindMethods: + methodPattern: java.lang.Thread#(..) + - org.openrewrite.java.migrate.lang.FindNonVirtualExecutors + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```java +class Test { + Thread t = new Thread(new Runnable() { + @Override + public void run() {} + }); +} +``` + +###### After +```java +class Test { + Thread t = /*~~>*/new Thread(new Runnable() { + @Override + public void run() {} + }); +} +``` + + + + +```diff +@@ -2,1 +2,1 @@ +class Test { +- Thread t = new Thread(new Runnable() { ++ Thread t = /*~~>*/new Thread(new Runnable() { + @Override +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```java +class Test { + Thread t = new Thread(new Runnable() { + @Override + public void run() {} + }); +} +``` + +###### After +```java +class Test { + Thread t = /*~~>*/new Thread(new Runnable() { + @Override + public void run() {} + }); +} +``` + + + + +```diff +@@ -2,1 +2,1 @@ +class Test { +- Thread t = new Thread(new Runnable() { ++ Thread t = /*~~>*/new Thread(new Runnable() { + @Override +``` + + + + +## 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.lang.FindVirtualThreadOpportunities") + 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.lang.FindVirtualThreadOpportunities") + 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.lang.FindVirtualThreadOpportunities + + + + + 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.lang.FindVirtualThreadOpportunities -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 FindVirtualThreadOpportunities +``` + +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. | + + + + + +### Method calls +**org.openrewrite.java.table.MethodCalls** + +_The text of matching method invocations._ + +| Column Name | Description | +| ----------- | ----------- | +| Source file | The source file that the method call occurred in. | +| Method call | The text of the method call. | +| Class name | The class name of the method call. | +| Method name | The method name of the method call. | +| Argument types | The argument types of the method call. | + + + + diff --git a/docs/recipes/java/migrate/lang/ifelseifconstructtoswitch.md b/docs/recipes/java/migrate/lang/ifelseifconstructtoswitch.md new file mode 100644 index 0000000000..93b44c30eb --- /dev/null +++ b/docs/recipes/java/migrate/lang/ifelseifconstructtoswitch.md @@ -0,0 +1,302 @@ +--- +sidebar_label: "If-else-if-else to switch" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# If-else-if-else to switch + +**org.openrewrite.java.migrate.lang.IfElseIfConstructToSwitch** + +_Replace if-else-if-else with switch statements. In order to be replaced with a switch, all conditions must be on the same variable and there must be at least three cases._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/IfElseIfConstructToSwitch.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). + +## Example + + + + + + +###### Before +```java +class Test { + static String formatter(Object obj) { + String formatted = "initialValue"; + if (obj == null) { + formatted = "null"; + } else if (obj instanceof Integer i) + formatted = String.format("int %d", i); + else if (obj instanceof Long l) { + formatted = String.format("long %d", l); + } else if (obj instanceof Double d) { + formatted = String.format("double %f", d); + } else if (obj instanceof String s) { + String str = "String"; + formatted = String.format("%s %s", str, s); + } else { + formatted = "unknown"; + } + return formatted; + } +} +``` + +###### After +```java +class Test { + static String formatter(Object obj) { + String formatted = "initialValue"; + switch (obj) { + case null -> formatted = "null"; + case Integer i -> formatted = String.format("int %d", i); + case Long l -> formatted = String.format("long %d", l); + case Double d -> formatted = String.format("double %f", d); + case String s -> { + String str = "String"; + formatted = String.format("%s %s", str, s); + } + default -> formatted = "unknown"; + } + return formatted; + } +} +``` + + + + +```diff +@@ -4,13 +4,10 @@ + static String formatter(Object obj) { + String formatted = "initialValue"; +- if (obj == null) { +- formatted = "null"; +- } else if (obj instanceof Integer i) +- formatted = String.format("int %d", i); +- else if (obj instanceof Long l) { +- formatted = String.format("long %d", l); +- } else if (obj instanceof Double d) { +- formatted = String.format("double %f", d); +- } else if (obj instanceof String s) { +- String str = "String"; +- formatted = String.format("%s %s", str, s); +- } else { +- formatted = "unknown"; ++ switch (obj) { ++ case null -> formatted = "null"; ++ case Integer i -> formatted = String.format("int %d", i); ++ case Long l -> formatted = String.format("long %d", l); ++ case Double d -> formatted = String.format("double %f", d); ++ case String s -> { ++ String str = "String"; ++ formatted = String.format("%s %s", str, s); ++ } ++ default -> formatted = "unknown"; + } +``` + + + + +## 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.lang.IfElseIfConstructToSwitch") + 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.lang.IfElseIfConstructToSwitch") + 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.lang.IfElseIfConstructToSwitch + + + + + 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.lang.IfElseIfConstructToSwitch -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 IfElseIfConstructToSwitch +``` + +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 +[Jente Sondervorst](mailto:jentesondervorst@gmail.com) diff --git a/docs/recipes/java/migrate/lang/javalangapis.md b/docs/recipes/java/migrate/lang/javalangapis.md index 72443a3922..704fd7909c 100644 --- a/docs/recipes/java/migrate/lang/javalangapis.md +++ b/docs/recipes/java/migrate/lang/javalangapis.md @@ -163,7 +163,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md b/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md index e601520525..7f18f68182 100644 --- a/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md +++ b/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md b/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md index 688ef61fac..d2b3e60a27 100644 --- a/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md +++ b/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md b/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md index 30c08fdd65..e18b13a069 100644 --- a/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md +++ b/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md b/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md index c6b904d66b..f9ca5ec382 100644 --- a/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md +++ b/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md b/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md index b87db5a7ce..da12ed707a 100644 --- a/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md +++ b/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md b/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md index 525a7f6d1a..58478c5eb6 100644 --- a/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md +++ b/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md b/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md index 385f7b922b..81aeec1d89 100644 --- a/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md +++ b/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md b/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md index cf26ca4085..4b79348a21 100644 --- a/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md +++ b/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md b/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md index a4210f9aff..306c556d4b 100644 --- a/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md +++ b/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/nullcheckasswitchcase.md b/docs/recipes/java/migrate/lang/nullcheckasswitchcase.md new file mode 100644 index 0000000000..335176dc8c --- /dev/null +++ b/docs/recipes/java/migrate/lang/nullcheckasswitchcase.md @@ -0,0 +1,278 @@ +--- +sidebar_label: "Add null check to existing switch cases" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add null check to existing switch cases + +**org.openrewrite.java.migrate.lang.NullCheckAsSwitchCase** + +_In later Java 21+, null checks are valid in switch cases. This recipe will only add null checks to existing switch cases if there are no other statements in between them or if the block in the if statement is not impacting the flow of the switch._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/NullCheckAsSwitchCase.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). + +## Example + + + + + + +###### Before +```java +class Test { + static String score(String obj) { + String formatted = "Score not translated yet"; + if (obj == null) { + formatted = "You did not enter the test yet"; + } + switch (obj) { + case "A", "B" -> formatted = "Very good"; + case "C" -> formatted = "Good"; + case "D" -> formatted = "Hmmm..."; + default -> formatted = "unknown"; + } + return formatted; + } +} +``` + +###### After +```java +class Test { + static String score(String obj) { + String formatted = "Score not translated yet"; + switch (obj) { + case null -> formatted = "You did not enter the test yet"; + case "A", "B" -> formatted = "Very good"; + case "C" -> formatted = "Good"; + case "D" -> formatted = "Hmmm..."; + default -> formatted = "unknown"; + } + return formatted; + } +} +``` + + + + +```diff +@@ -4,3 +4,0 @@ + static String score(String obj) { + String formatted = "Score not translated yet"; +- if (obj == null) { +- formatted = "You did not enter the test yet"; +- } + switch (obj) { +@@ -8,0 +5,1 @@ + } + switch (obj) { ++ case null -> formatted = "You did not enter the test yet"; + case "A", "B" -> formatted = "Very good"; +``` + + + + +## 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.lang.NullCheckAsSwitchCase") + 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.lang.NullCheckAsSwitchCase") + 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.lang.NullCheckAsSwitchCase + + + + + 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.lang.NullCheckAsSwitchCase -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 NullCheckAsSwitchCase +``` + +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 +[Jente Sondervorst](mailto:jentesondervorst@gmail.com) diff --git a/docs/recipes/java/migrate/lang/refineswitchcases.md b/docs/recipes/java/migrate/lang/refineswitchcases.md new file mode 100644 index 0000000000..7eaf9855b0 --- /dev/null +++ b/docs/recipes/java/migrate/lang/refineswitchcases.md @@ -0,0 +1,318 @@ +--- +sidebar_label: "Use switch cases refinement when possible" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Use switch cases refinement when possible + +**org.openrewrite.java.migrate.lang.RefineSwitchCases** + +_Use guarded switch case labels and guards if all the statements in the switch block do if/else if/else on the guarded label._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/RefineSwitchCases.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). + +## Example + + + + + + +###### Before +```java +class Test { + static void score(Object obj) { + switch (obj) { + case null -> System.out.println("You did not enter the test yet"); + case Integer i -> { + if (i >= 5 && i <= 10) + System.out.println("You got it"); + else if (i >= 0 && i < 5) + System.out.println("Shame"); + else + System.out.println("Sorry?"); + } + case String s -> { + if (s.equalsIgnoreCase("YES")) + System.out.println("You got it"); + else if ("NO".equalsIgnoreCase(s)) + System.out.println("Shame"); + else + System.out.println("Sorry?"); + } + default -> { + // Comment retained + } + } + } +} +``` + +###### After +```java +class Test { + static void score(Object obj) { + switch (obj) { + case null -> System.out.println("You did not enter the test yet"); + case Integer i when i >= 5 && i <= 10 -> + System.out.println("You got it"); + case Integer i when i >= 0 && i < 5 -> + System.out.println("Shame"); + case Integer i -> + System.out.println("Sorry?"); + case String s when s.equalsIgnoreCase("YES") -> + System.out.println("You got it"); + case String s when "NO".equalsIgnoreCase(s) -> + System.out.println("Shame"); + case String s -> + System.out.println("Sorry?"); + default -> { + // Comment retained + } + } + } +} +``` + + + + +```diff +@@ -5,16 +5,12 @@ + switch (obj) { + case null -> System.out.println("You did not enter the test yet"); +- case Integer i -> { +- if (i >= 5 && i <= 10) +- System.out.println("You got it"); +- else if (i >= 0 && i < 5) +- System.out.println("Shame"); +- else +- System.out.println("Sorry?"); +- } +- case String s -> { +- if (s.equalsIgnoreCase("YES")) +- System.out.println("You got it"); +- else if ("NO".equalsIgnoreCase(s)) +- System.out.println("Shame"); +- else +- System.out.println("Sorry?"); +- } ++ case Integer i when i >= 5 && i <= 10 -> ++ System.out.println("You got it"); ++ case Integer i when i >= 0 && i < 5 -> ++ System.out.println("Shame"); ++ case Integer i -> ++ System.out.println("Sorry?"); ++ case String s when s.equalsIgnoreCase("YES") -> ++ System.out.println("You got it"); ++ case String s when "NO".equalsIgnoreCase(s) -> ++ System.out.println("Shame"); ++ case String s -> ++ System.out.println("Sorry?"); + default -> { +``` + + + + +## 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.lang.RefineSwitchCases") + 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.lang.RefineSwitchCases") + 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.lang.RefineSwitchCases + + + + + 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.lang.RefineSwitchCases -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 RefineSwitchCases +``` + +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 +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/migrate/lang/stringformatted.md b/docs/recipes/java/migrate/lang/stringformatted.md index 7ec069002e..ce5ab3ef6b 100644 --- a/docs/recipes/java/migrate/lang/stringformatted.md +++ b/docs/recipes/java/migrate/lang/stringformatted.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md index ce9961a0d1..5337eda4b3 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md index 74ed83709f..dc37d66698 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md index 647e1e0177..77e888ebd7 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md index 5f0d07450d..a6f8173ec1 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes.md b/docs/recipes/java/migrate/lang/stringrulesrecipes.md index 3dd1d49fa0..3a6798efe2 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/switchcaseenumguardtolabel.md b/docs/recipes/java/migrate/lang/switchcaseenumguardtolabel.md new file mode 100644 index 0000000000..80680efd2a --- /dev/null +++ b/docs/recipes/java/migrate/lang/switchcaseenumguardtolabel.md @@ -0,0 +1,300 @@ +--- +sidebar_label: "Use switch cases labels for enums" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Use switch cases labels for enums + +**org.openrewrite.java.migrate.lang.SwitchCaseEnumGuardToLabel** + +_Use switch case labels when a guard is checking equality with an enum._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/SwitchCaseEnumGuardToLabel.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). + +## Example + + + + + + +###### Before +```java +import suits.Suit; +class Test { + void score(Object obj) { + switch (obj) { + case null -> System.out.println("You did not enter the test yet"); + case Suit s when s == Suit.CLUBS -> System.out.println("Clubs"); + case Suit s when s.equals(Suit.DIAMONDS) -> System.out.println("Diamonds"); + case Suit s when Suit.HEARTS.equals(s) -> { + System.out.println("Hearts"); + } + case Suit s when Suit.SPADES == s -> System.out.println("Spades"); + case Suit s when Suit.JOKER == s -> System.out.println(s); + case Integer i -> System.out.println("Sorry?"); + case String s -> System.out.println("Sorry?"); + default -> System.out.println("Sorry?"); + } + } +} +``` + +###### After +```java +import suits.Suit; +class Test { + void score(Object obj) { + switch (obj) { + case null -> System.out.println("You did not enter the test yet"); + case Suit.CLUBS -> System.out.println("Clubs"); + case Suit.DIAMONDS -> System.out.println("Diamonds"); + case Suit.HEARTS -> { + System.out.println("Hearts"); + } + case Suit.SPADES -> System.out.println("Spades"); + case Suit.JOKER -> System.out.println(Suit.JOKER); + case Integer i -> System.out.println("Sorry?"); + case String s -> System.out.println("Sorry?"); + default -> System.out.println("Sorry?"); + } + } +} +``` + + + + +```diff +@@ -6,3 +6,3 @@ + switch (obj) { + case null -> System.out.println("You did not enter the test yet"); +- case Suit s when s == Suit.CLUBS -> System.out.println("Clubs"); +- case Suit s when s.equals(Suit.DIAMONDS) -> System.out.println("Diamonds"); +- case Suit s when Suit.HEARTS.equals(s) -> { ++ case Suit.CLUBS -> System.out.println("Clubs"); ++ case Suit.DIAMONDS -> System.out.println("Diamonds"); ++ case Suit.HEARTS -> { + System.out.println("Hearts"); +@@ -11,2 +11,2 @@ + System.out.println("Hearts"); + } +- case Suit s when Suit.SPADES == s -> System.out.println("Spades"); +- case Suit s when Suit.JOKER == s -> System.out.println(s); ++ case Suit.SPADES -> System.out.println("Spades"); ++ case Suit.JOKER -> System.out.println(Suit.JOKER); + case Integer i -> System.out.println("Sorry?"); +``` + + + +###### Unchanged +```java +package suits; +public enum Suit { + CLUBS, DIAMONDS, HEARTS, SPADES, JOKER, SCORECARD +} +``` + + +## 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.lang.SwitchCaseEnumGuardToLabel") + 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.lang.SwitchCaseEnumGuardToLabel") + 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.lang.SwitchCaseEnumGuardToLabel + + + + + 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.lang.SwitchCaseEnumGuardToLabel -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 SwitchCaseEnumGuardToLabel +``` + +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 +[Jente Sondervorst](mailto:jentesondervorst@gmail.com) diff --git a/docs/recipes/java/migrate/lang/threadstopunsupported.md b/docs/recipes/java/migrate/lang/threadstopunsupported.md index 14c370dd4f..f88cc7b08d 100644 --- a/docs/recipes/java/migrate/lang/threadstopunsupported.md +++ b/docs/recipes/java/migrate/lang/threadstopunsupported.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md b/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md index 078f2d1e21..b47c343c0d 100644 --- a/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md +++ b/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/usetextblocks.md b/docs/recipes/java/migrate/lang/usetextblocks.md index 3e23658e18..487af8c3a7 100644 --- a/docs/recipes/java/migrate/lang/usetextblocks.md +++ b/docs/recipes/java/migrate/lang/usetextblocks.md @@ -160,7 +160,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/usevar.md b/docs/recipes/java/migrate/lang/usevar.md index 955e975d7d..e623fee5d5 100644 --- a/docs/recipes/java/migrate/lang/usevar.md +++ b/docs/recipes/java/migrate/lang/usevar.md @@ -273,7 +273,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md b/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md index 76452562f9..20abb8a541 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md +++ b/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md b/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md index 8b0fcd2ec1..247be835cd 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md +++ b/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/var/usevarforobject.md b/docs/recipes/java/migrate/lang/var/usevarforobject.md index 8c920d9397..af08d892c9 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforobject.md +++ b/docs/recipes/java/migrate/lang/var/usevarforobject.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lang/var/usevarforprimitive.md b/docs/recipes/java/migrate/lang/var/usevarforprimitive.md index fc7692d212..e5d25e5626 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforprimitive.md +++ b/docs/recipes/java/migrate/lang/var/usevarforprimitive.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/logging/javaloggingapis.md b/docs/recipes/java/migrate/logging/javaloggingapis.md index c536ba971e..8dc5a0c71d 100644 --- a/docs/recipes/java/migrate/logging/javaloggingapis.md +++ b/docs/recipes/java/migrate/logging/javaloggingapis.md @@ -169,7 +169,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md b/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md index 8819e2e004..f4b9ef4b28 100644 --- a/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md +++ b/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md b/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md index 13e9614b1a..c04cafdcc9 100644 --- a/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md +++ b/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md b/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md index 202df6c2e3..11c0d10ca5 100644 --- a/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md +++ b/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md b/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md index 9f549e6f9f..a1c435c845 100644 --- a/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md +++ b/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md b/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md index ec954e3177..fc053382cb 100644 --- a/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md +++ b/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/adoptlombokgettermethodnames.md b/docs/recipes/java/migrate/lombok/adoptlombokgettermethodnames.md index b7291ed698..e5202dccdc 100644 --- a/docs/recipes/java/migrate/lombok/adoptlombokgettermethodnames.md +++ b/docs/recipes/java/migrate/lombok/adoptlombokgettermethodnames.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/log/usecommonslog.md b/docs/recipes/java/migrate/lombok/log/usecommonslog.md index 5cdd67f334..ff5c88a981 100644 --- a/docs/recipes/java/migrate/lombok/log/usecommonslog.md +++ b/docs/recipes/java/migrate/lombok/log/usecommonslog.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/log/usejbosslog.md b/docs/recipes/java/migrate/lombok/log/usejbosslog.md index e1816e737f..3a4e98d28e 100644 --- a/docs/recipes/java/migrate/lombok/log/usejbosslog.md +++ b/docs/recipes/java/migrate/lombok/log/usejbosslog.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/log/uselog.md b/docs/recipes/java/migrate/lombok/log/uselog.md index 9da4eb3e4b..0f80b4127b 100644 --- a/docs/recipes/java/migrate/lombok/log/uselog.md +++ b/docs/recipes/java/migrate/lombok/log/uselog.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/log/uselog4j2.md b/docs/recipes/java/migrate/lombok/log/uselog4j2.md index ac0256b1e4..6446808d5b 100644 --- a/docs/recipes/java/migrate/lombok/log/uselog4j2.md +++ b/docs/recipes/java/migrate/lombok/log/uselog4j2.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/log/uselomboklogannotations.md b/docs/recipes/java/migrate/lombok/log/uselomboklogannotations.md index b157164cac..1ff26ef9db 100644 --- a/docs/recipes/java/migrate/lombok/log/uselomboklogannotations.md +++ b/docs/recipes/java/migrate/lombok/log/uselomboklogannotations.md @@ -477,7 +477,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/log/useslf4j.md b/docs/recipes/java/migrate/lombok/log/useslf4j.md index 36de9dd45f..e112cb130c 100644 --- a/docs/recipes/java/migrate/lombok/log/useslf4j.md +++ b/docs/recipes/java/migrate/lombok/log/useslf4j.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/lombokbestpractices.md b/docs/recipes/java/migrate/lombok/lombokbestpractices.md index 34f56afd0d..39aa20f6a3 100644 --- a/docs/recipes/java/migrate/lombok/lombokbestpractices.md +++ b/docs/recipes/java/migrate/lombok/lombokbestpractices.md @@ -141,7 +141,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md b/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md index 98af908254..f1322f3650 100644 --- a/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md +++ b/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md b/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md index c5bd588177..4874fbb5a6 100644 --- a/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md +++ b/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md @@ -146,7 +146,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/updatelomboktojava11.md b/docs/recipes/java/migrate/lombok/updatelomboktojava11.md index 2aaa648a68..1a74d510bc 100644 --- a/docs/recipes/java/migrate/lombok/updatelomboktojava11.md +++ b/docs/recipes/java/migrate/lombok/updatelomboktojava11.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/uselombokgetter.md b/docs/recipes/java/migrate/lombok/uselombokgetter.md index c25c135e0e..1bf8cbf4bc 100644 --- a/docs/recipes/java/migrate/lombok/uselombokgetter.md +++ b/docs/recipes/java/migrate/lombok/uselombokgetter.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/uselomboksetter.md b/docs/recipes/java/migrate/lombok/uselomboksetter.md index 6feb4299f9..3c4bc4e119 100644 --- a/docs/recipes/java/migrate/lombok/uselomboksetter.md +++ b/docs/recipes/java/migrate/lombok/uselomboksetter.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/lombok/usenoargsconstructor.md b/docs/recipes/java/migrate/lombok/usenoargsconstructor.md index ca8901dfe3..22d26f20a3 100644 --- a/docs/recipes/java/migrate/lombok/usenoargsconstructor.md +++ b/docs/recipes/java/migrate/lombok/usenoargsconstructor.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/metrics/README.md b/docs/recipes/java/migrate/metrics/README.md index 927f8cf12f..549ede2dbb 100644 --- a/docs/recipes/java/migrate/metrics/README.md +++ b/docs/recipes/java/migrate/metrics/README.md @@ -2,6 +2,6 @@ ## Recipes -* [Simplify [Micrometer](https://micrometer.io) meter tags](./simplifymicrometermetertags.md) +* [Simplify Micrometer meter tags](./simplifymicrometermetertags.md) diff --git a/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md b/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md index 9de5bad665..2ceb02c499 100644 --- a/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md +++ b/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md @@ -1,5 +1,5 @@ --- -sidebar_label: "Simplify [Micrometer](https://micrometer.io) meter tags" +sidebar_label: "Simplify Micrometer meter tags" --- import Tabs from '@theme/Tabs'; @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/mxbeanrule.md b/docs/recipes/java/migrate/mxbeanrule.md index 78a440a3d3..f12e653649 100644 --- a/docs/recipes/java/migrate/mxbeanrule.md +++ b/docs/recipes/java/migrate/mxbeanrule.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/javanetapis.md b/docs/recipes/java/migrate/net/javanetapis.md index f52637277a..088e906803 100644 --- a/docs/recipes/java/migrate/net/javanetapis.md +++ b/docs/recipes/java/migrate/net/javanetapis.md @@ -173,7 +173,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md b/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md index cae6c7e8cd..a2d78e1b68 100644 --- a/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md +++ b/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md b/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md index a5a9710641..7968e16d57 100644 --- a/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md +++ b/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md b/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md index 1a443f6e47..474116e0c0 100644 --- a/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md +++ b/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/migrateurldecoderdecode.md b/docs/recipes/java/migrate/net/migrateurldecoderdecode.md index a00ddd4288..fbfbc7ef1c 100644 --- a/docs/recipes/java/migrate/net/migrateurldecoderdecode.md +++ b/docs/recipes/java/migrate/net/migrateurldecoderdecode.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/migrateurlencoderencode.md b/docs/recipes/java/migrate/net/migrateurlencoderencode.md index de0ce8bb5f..173b570ab6 100644 --- a/docs/recipes/java/migrate/net/migrateurlencoderencode.md +++ b/docs/recipes/java/migrate/net/migrateurlencoderencode.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/urlconstructorstonewuri.md b/docs/recipes/java/migrate/net/urlconstructorstonewuri.md index 3e969063b2..c409636f5e 100644 --- a/docs/recipes/java/migrate/net/urlconstructorstonewuri.md +++ b/docs/recipes/java/migrate/net/urlconstructorstonewuri.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/net/urlconstructortouricreate.md b/docs/recipes/java/migrate/net/urlconstructortouricreate.md index 11bf00f697..8d981a86e4 100644 --- a/docs/recipes/java/migrate/net/urlconstructortouricreate.md +++ b/docs/recipes/java/migrate/net/urlconstructortouricreate.md @@ -44,7 +44,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/nio/file/pathsgettopathof.md b/docs/recipes/java/migrate/nio/file/pathsgettopathof.md index a82c60f16f..54651625ce 100644 --- a/docs/recipes/java/migrate/nio/file/pathsgettopathof.md +++ b/docs/recipes/java/migrate/nio/file/pathsgettopathof.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/referenceclonemethod.md b/docs/recipes/java/migrate/referenceclonemethod.md index 6ceee0566e..3aeeca89aa 100644 --- a/docs/recipes/java/migrate/referenceclonemethod.md +++ b/docs/recipes/java/migrate/referenceclonemethod.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedfileiofinalizemethods.md b/docs/recipes/java/migrate/removedfileiofinalizemethods.md index 37e460b12c..6dcf78d535 100644 --- a/docs/recipes/java/migrate/removedfileiofinalizemethods.md +++ b/docs/recipes/java/migrate/removedfileiofinalizemethods.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md b/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md index b464fd6552..839af6a9f0 100644 --- a/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md +++ b/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedjaxbmoduleprovided.md b/docs/recipes/java/migrate/removedjaxbmoduleprovided.md index f2a32de496..18942e4321 100644 --- a/docs/recipes/java/migrate/removedjaxbmoduleprovided.md +++ b/docs/recipes/java/migrate/removedjaxbmoduleprovided.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md b/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md index 0c0636dae0..807f99d671 100644 --- a/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md +++ b/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md b/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md index 994ec28a8c..ff585b69f0 100644 --- a/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md +++ b/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md @@ -233,7 +233,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedpolicy.md b/docs/recipes/java/migrate/removedpolicy.md index 946317625f..3e4f8675dc 100644 --- a/docs/recipes/java/migrate/removedpolicy.md +++ b/docs/recipes/java/migrate/removedpolicy.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md b/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md index 1393c61795..7f44fd46dc 100644 --- a/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md +++ b/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedruntimetracemethods.md b/docs/recipes/java/migrate/removedruntimetracemethods.md index 47bc6b9e14..e59ec52030 100644 --- a/docs/recipes/java/migrate/removedruntimetracemethods.md +++ b/docs/recipes/java/migrate/removedruntimetracemethods.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedsecuritymanagermethods.md b/docs/recipes/java/migrate/removedsecuritymanagermethods.md index 1712e5b8ac..8482522eac 100644 --- a/docs/recipes/java/migrate/removedsecuritymanagermethods.md +++ b/docs/recipes/java/migrate/removedsecuritymanagermethods.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md b/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md index cad73bb4c4..8628d9d4a5 100644 --- a/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md +++ b/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedsubjectmethods.md b/docs/recipes/java/migrate/removedsubjectmethods.md index 85dc518476..ded6b91376 100644 --- a/docs/recipes/java/migrate/removedsubjectmethods.md +++ b/docs/recipes/java/migrate/removedsubjectmethods.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedtoolproviderconstructor.md b/docs/recipes/java/migrate/removedtoolproviderconstructor.md index 9940e59210..1ce19c8196 100644 --- a/docs/recipes/java/migrate/removedtoolproviderconstructor.md +++ b/docs/recipes/java/migrate/removedtoolproviderconstructor.md @@ -199,7 +199,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removedzipfinalizemethods.md b/docs/recipes/java/migrate/removedzipfinalizemethods.md index ec336abab0..3aaedfa6bb 100644 --- a/docs/recipes/java/migrate/removedzipfinalizemethods.md +++ b/docs/recipes/java/migrate/removedzipfinalizemethods.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removeillegalsemicolons.md b/docs/recipes/java/migrate/removeillegalsemicolons.md index 3d71469c24..94dfdcf298 100644 --- a/docs/recipes/java/migrate/removeillegalsemicolons.md +++ b/docs/recipes/java/migrate/removeillegalsemicolons.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removesecuritymanager.md b/docs/recipes/java/migrate/removesecuritymanager.md index 33f8e691be..535aec000d 100644 --- a/docs/recipes/java/migrate/removesecuritymanager.md +++ b/docs/recipes/java/migrate/removesecuritymanager.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/removesecuritypolicy.md b/docs/recipes/java/migrate/removesecuritypolicy.md index 8849f9e84b..c4e945c1a9 100644 --- a/docs/recipes/java/migrate/removesecuritypolicy.md +++ b/docs/recipes/java/migrate/removesecuritypolicy.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/replaceawtgetpeermethod.md b/docs/recipes/java/migrate/replaceawtgetpeermethod.md index 270265e07a..cc925ceb48 100644 --- a/docs/recipes/java/migrate/replaceawtgetpeermethod.md +++ b/docs/recipes/java/migrate/replaceawtgetpeermethod.md @@ -127,7 +127,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md b/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md index b0c7fcea30..3c5035d968 100644 --- a/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md +++ b/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md @@ -145,7 +145,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/replacelocalizedstreammethods.md b/docs/recipes/java/migrate/replacelocalizedstreammethods.md index 58a078dbb3..ff0a21b4aa 100644 --- a/docs/recipes/java/migrate/replacelocalizedstreammethods.md +++ b/docs/recipes/java/migrate/replacelocalizedstreammethods.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/replacestringliteralvalue.md b/docs/recipes/java/migrate/replacestringliteralvalue.md index e2f30648a8..c7eee85e1b 100644 --- a/docs/recipes/java/migrate/replacestringliteralvalue.md +++ b/docs/recipes/java/migrate/replacestringliteralvalue.md @@ -76,7 +76,7 @@ Now that `com.yourorg.ReplaceStringLiteralValueExample` has been defined, activa ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/search/aboutjavaversion.md b/docs/recipes/java/migrate/search/aboutjavaversion.md index 8d95d1a26e..c3b1f688c4 100644 --- a/docs/recipes/java/migrate/search/aboutjavaversion.md +++ b/docs/recipes/java/migrate/search/aboutjavaversion.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/search/finddatausedondto.md b/docs/recipes/java/migrate/search/finddatausedondto.md index 956a3e316c..386a510bd2 100644 --- a/docs/recipes/java/migrate/search/finddatausedondto.md +++ b/docs/recipes/java/migrate/search/finddatausedondto.md @@ -48,7 +48,7 @@ Now that `com.yourorg.FindDataUsedOnDtoExample` has been defined, activate it an ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/search/finddtooverfetching.md b/docs/recipes/java/migrate/search/finddtooverfetching.md index 0fc578c810..7f50fbeba3 100644 --- a/docs/recipes/java/migrate/search/finddtooverfetching.md +++ b/docs/recipes/java/migrate/search/finddtooverfetching.md @@ -48,7 +48,7 @@ Now that `com.yourorg.FindDtoOverfetchingExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/search/findinternaljavaxapis.md b/docs/recipes/java/migrate/search/findinternaljavaxapis.md index b3f57f47c9..164821c456 100644 --- a/docs/recipes/java/migrate/search/findinternaljavaxapis.md +++ b/docs/recipes/java/migrate/search/findinternaljavaxapis.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/search/findjavaversion.md b/docs/recipes/java/migrate/search/findjavaversion.md index 0b1841d969..aee933f5c9 100644 --- a/docs/recipes/java/migrate/search/findjavaversion.md +++ b/docs/recipes/java/migrate/search/findjavaversion.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/search/planjavamigration.md b/docs/recipes/java/migrate/search/planjavamigration.md index 61b4298649..216722d7ad 100644 --- a/docs/recipes/java/migrate/search/planjavamigration.md +++ b/docs/recipes/java/migrate/search/planjavamigration.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/sql/javasqlapis.md b/docs/recipes/java/migrate/sql/javasqlapis.md index a15ad2f2c8..8879a03525 100644 --- a/docs/recipes/java/migrate/sql/javasqlapis.md +++ b/docs/recipes/java/migrate/sql/javasqlapis.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md b/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md index 7faf4ac38d..a61f44fa73 100644 --- a/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md +++ b/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/sunnetsslpackageunavailable.md b/docs/recipes/java/migrate/sunnetsslpackageunavailable.md index c1255a1937..6145a486b3 100644 --- a/docs/recipes/java/migrate/sunnetsslpackageunavailable.md +++ b/docs/recipes/java/migrate/sunnetsslpackageunavailable.md @@ -149,7 +149,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/switchpatternmatching.md b/docs/recipes/java/migrate/switchpatternmatching.md new file mode 100644 index 0000000000..536107bd73 --- /dev/null +++ b/docs/recipes/java/migrate/switchpatternmatching.md @@ -0,0 +1,258 @@ +--- +sidebar_label: "Adopt switch pattern matching (JEP 441)" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Adopt switch pattern matching (JEP 441) + +**org.openrewrite.java.migrate.SwitchPatternMatching** + +``` +->- [JEP 441](https://openjdk.org/jeps/441) describes how some switch statements can be improved with pattern matching. This recipe applies some of those improvements where applicable. +``` + + +### Tags + +* java21 + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.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 + + + +* [If-else-if-else to switch](../../java/migrate/lang/ifelseifconstructtoswitch) +* [Add null check to existing switch cases](../../java/migrate/lang/nullcheckasswitchcase) +* [Use switch cases refinement when possible](../../java/migrate/lang/refineswitchcases) +* [Use switch cases labels for enums](../../java/migrate/lang/switchcaseenumguardtolabel) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.SwitchPatternMatching +displayName: Adopt switch pattern matching (JEP 441) +description: | + ->- [JEP 441](https://openjdk.org/jeps/441) describes how some switch statements can be improved with pattern matching. This recipe applies some of those improvements where applicable. +tags: + - java21 +recipeList: + - org.openrewrite.java.migrate.lang.IfElseIfConstructToSwitch + - org.openrewrite.java.migrate.lang.NullCheckAsSwitchCase + - org.openrewrite.java.migrate.lang.RefineSwitchCases + - org.openrewrite.java.migrate.lang.SwitchCaseEnumGuardToLabel + +``` + + + +## 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.SwitchPatternMatching") + 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.SwitchPatternMatching") + 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.SwitchPatternMatching + + + + + 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.SwitchPatternMatching -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 SwitchPatternMatching +``` + +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 +[Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/migrate/systemgetsecuritymanagertonull.md b/docs/recipes/java/migrate/systemgetsecuritymanagertonull.md index 04191ac8a0..208b38565a 100644 --- a/docs/recipes/java/migrate/systemgetsecuritymanagertonull.md +++ b/docs/recipes/java/migrate/systemgetsecuritymanagertonull.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/threadstopdestroy.md b/docs/recipes/java/migrate/threadstopdestroy.md index 3eef114524..9869411daa 100644 --- a/docs/recipes/java/migrate/threadstopdestroy.md +++ b/docs/recipes/java/migrate/threadstopdestroy.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/updatesdkman.md b/docs/recipes/java/migrate/updatesdkman.md index 51a3792aa1..eb3b175d11 100644 --- a/docs/recipes/java/migrate/updatesdkman.md +++ b/docs/recipes/java/migrate/updatesdkman.md @@ -37,7 +37,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -219,4 +219,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io) diff --git a/docs/recipes/java/migrate/upgradebuildtojava11.md b/docs/recipes/java/migrate/upgradebuildtojava11.md index c917544cf7..7e8f3a3a4c 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava11.md +++ b/docs/recipes/java/migrate/upgradebuildtojava11.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradebuildtojava17.md b/docs/recipes/java/migrate/upgradebuildtojava17.md index bcc960f699..19785127c7 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava17.md +++ b/docs/recipes/java/migrate/upgradebuildtojava17.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradebuildtojava21.md b/docs/recipes/java/migrate/upgradebuildtojava21.md index b18c80ac06..ca26069b99 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava21.md +++ b/docs/recipes/java/migrate/upgradebuildtojava21.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradejavaversion.md b/docs/recipes/java/migrate/upgradejavaversion.md index 99d26b635c..a53efbb28b 100644 --- a/docs/recipes/java/migrate/upgradejavaversion.md +++ b/docs/recipes/java/migrate/upgradejavaversion.md @@ -155,7 +155,7 @@ Now that `com.yourorg.UpgradeJavaVersionExample` has been defined, activate it a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradepluginsforjava11.md b/docs/recipes/java/migrate/upgradepluginsforjava11.md index 5c62b16f92..2ef123cf13 100644 --- a/docs/recipes/java/migrate/upgradepluginsforjava11.md +++ b/docs/recipes/java/migrate/upgradepluginsforjava11.md @@ -279,7 +279,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradepluginsforjava17.md b/docs/recipes/java/migrate/upgradepluginsforjava17.md index 13f4c8fc72..7a9d4e4a3a 100644 --- a/docs/recipes/java/migrate/upgradepluginsforjava17.md +++ b/docs/recipes/java/migrate/upgradepluginsforjava17.md @@ -112,7 +112,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradepluginsforjava21.md b/docs/recipes/java/migrate/upgradepluginsforjava21.md index 53f789999d..4e53cfb830 100644 --- a/docs/recipes/java/migrate/upgradepluginsforjava21.md +++ b/docs/recipes/java/migrate/upgradepluginsforjava21.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradetojava17.md b/docs/recipes/java/migrate/upgradetojava17.md index 89d7bd6468..dd095fb105 100644 --- a/docs/recipes/java/migrate/upgradetojava17.md +++ b/docs/recipes/java/migrate/upgradetojava17.md @@ -341,7 +341,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradetojava21.md b/docs/recipes/java/migrate/upgradetojava21.md index 491aef2f02..0510982506 100644 --- a/docs/recipes/java/migrate/upgradetojava21.md +++ b/docs/recipes/java/migrate/upgradetojava21.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradetojava25.md b/docs/recipes/java/migrate/upgradetojava25.md index 90a970c5b8..3c4fc5ed82 100644 --- a/docs/recipes/java/migrate/upgradetojava25.md +++ b/docs/recipes/java/migrate/upgradetojava25.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradetojava6.md b/docs/recipes/java/migrate/upgradetojava6.md index cdd881ede0..a61e95cae0 100644 --- a/docs/recipes/java/migrate/upgradetojava6.md +++ b/docs/recipes/java/migrate/upgradetojava6.md @@ -353,7 +353,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradetojava7.md b/docs/recipes/java/migrate/upgradetojava7.md index e6c3dc6112..25338759da 100644 --- a/docs/recipes/java/migrate/upgradetojava7.md +++ b/docs/recipes/java/migrate/upgradetojava7.md @@ -4103,7 +4103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/upgradetojava8.md b/docs/recipes/java/migrate/upgradetojava8.md index 5941d33501..10401403fc 100644 --- a/docs/recipes/java/migrate/upgradetojava8.md +++ b/docs/recipes/java/migrate/upgradetojava8.md @@ -283,7 +283,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/usejavautilbase64.md b/docs/recipes/java/migrate/usejavautilbase64.md index 61497de81d..c00420df34 100644 --- a/docs/recipes/java/migrate/usejavautilbase64.md +++ b/docs/recipes/java/migrate/usejavautilbase64.md @@ -118,7 +118,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/usetabsorspaces.md b/docs/recipes/java/migrate/usetabsorspaces.md index 3459c1c33f..40479c9ad4 100644 --- a/docs/recipes/java/migrate/usetabsorspaces.md +++ b/docs/recipes/java/migrate/usetabsorspaces.md @@ -91,7 +91,7 @@ Now that `com.yourorg.UseTabsOrSpacesExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/iteratornext.md b/docs/recipes/java/migrate/util/iteratornext.md index e9ca262e7e..b6fbd4bc96 100644 --- a/docs/recipes/java/migrate/util/iteratornext.md +++ b/docs/recipes/java/migrate/util/iteratornext.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/javautilapis.md b/docs/recipes/java/migrate/util/javautilapis.md index ba3eead477..0b80f22256 100644 --- a/docs/recipes/java/migrate/util/javautilapis.md +++ b/docs/recipes/java/migrate/util/javautilapis.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -250,4 +250,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Yeikel, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Laurens-W](mailto:laurens.w@live.nl), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), Michel Gonzalez, [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com) +Yeikel, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Laurens-W](mailto:laurens.w@live.nl), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), Michel Gonzalez, [Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Tim te Beek](mailto:tim@moderne.io), Alex, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com) diff --git a/docs/recipes/java/migrate/util/listfirstandlast.md b/docs/recipes/java/migrate/util/listfirstandlast.md index ec55101394..81669ff35a 100644 --- a/docs/recipes/java/migrate/util/listfirstandlast.md +++ b/docs/recipes/java/migrate/util/listfirstandlast.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md b/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md index a207e047ba..2c0e8e62ea 100644 --- a/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md +++ b/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -255,4 +255,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Yeikel, Michel Gonzalez, [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com), Tyler Van Gorder, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Patrick](mailto:patway99@gmail.com) +Yeikel, Michel Gonzalez, [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Tyler Van Gorder, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Patrick](mailto:patway99@gmail.com) diff --git a/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md b/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md index bdca7e70b7..4ac964a762 100644 --- a/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md +++ b/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.migrate.util.MigrateCollectionsSingletonMap** -_Prefer `Map.Of(..)` instead of using `Collections.singletonMap()` in Java 9 or higher._ +_Prefer `Map.of(..)` instead of using `Collections.singletonMap()` in Java 9 or higher._ ## Recipe source @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Yeikel, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Patrick](mailto:patway99@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com) +Yeikel, [Knut Wannheden](mailto:knut@moderne.io), Alex, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Patrick](mailto:patway99@gmail.com), Tyler Van Gorder, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/java/migrate/util/migratecollectionssingletonset.md b/docs/recipes/java/migrate/util/migratecollectionssingletonset.md index e179d25166..0d84a571b2 100644 --- a/docs/recipes/java/migrate/util/migratecollectionssingletonset.md +++ b/docs/recipes/java/migrate/util/migratecollectionssingletonset.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -255,4 +255,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Yeikel, [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Patrick](mailto:patway99@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com) +Yeikel, [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md b/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md index ba4a756d88..e2c05125c6 100644 --- a/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md +++ b/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md b/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md index bde1d21d81..ef6ab6d205 100644 --- a/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md +++ b/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md b/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md index ac32b4c9ab..a442342d26 100644 --- a/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md +++ b/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md b/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md index a783ee082b..c57dbd8653 100644 --- a/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md +++ b/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/optionalstreamrecipe.md b/docs/recipes/java/migrate/util/optionalstreamrecipe.md index 2b9b4c4599..50ac69b5d3 100644 --- a/docs/recipes/java/migrate/util/optionalstreamrecipe.md +++ b/docs/recipes/java/migrate/util/optionalstreamrecipe.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/removefinalizerfromzip.md b/docs/recipes/java/migrate/util/removefinalizerfromzip.md index 75c9b573ab..84df7071b3 100644 --- a/docs/recipes/java/migrate/util/removefinalizerfromzip.md +++ b/docs/recipes/java/migrate/util/removefinalizerfromzip.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md b/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md index 2c00cf7af0..d9e4542d8c 100644 --- a/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md +++ b/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md b/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md index f1860ac480..5c07622464 100644 --- a/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md +++ b/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/sequencedcollection.md b/docs/recipes/java/migrate/util/sequencedcollection.md index c49e2419ef..2a495c4bd8 100644 --- a/docs/recipes/java/migrate/util/sequencedcollection.md +++ b/docs/recipes/java/migrate/util/sequencedcollection.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/streamfindfirst.md b/docs/recipes/java/migrate/util/streamfindfirst.md index 881f72f66f..c7739040b5 100644 --- a/docs/recipes/java/migrate/util/streamfindfirst.md +++ b/docs/recipes/java/migrate/util/streamfindfirst.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/useenumsetof.md b/docs/recipes/java/migrate/util/useenumsetof.md index 49a43b8512..803f41026d 100644 --- a/docs/recipes/java/migrate/util/useenumsetof.md +++ b/docs/recipes/java/migrate/util/useenumsetof.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/uselocaleof.md b/docs/recipes/java/migrate/util/uselocaleof.md index 3e8aecccf3..58d048cc08 100644 --- a/docs/recipes/java/migrate/util/uselocaleof.md +++ b/docs/recipes/java/migrate/util/uselocaleof.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/util/usemapof.md b/docs/recipes/java/migrate/util/usemapof.md index 1f50a1057c..d581e2c431 100644 --- a/docs/recipes/java/migrate/util/usemapof.md +++ b/docs/recipes/java/migrate/util/usemapof.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/migrate/wasdevmvnchangeparentartifactid.md b/docs/recipes/java/migrate/wasdevmvnchangeparentartifactid.md new file mode 100644 index 0000000000..8360c3a702 --- /dev/null +++ b/docs/recipes/java/migrate/wasdevmvnchangeparentartifactid.md @@ -0,0 +1,263 @@ +--- +sidebar_label: "Change net.wasdev.maven.parent:java8-parent to :parent" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Change `net.wasdev.maven.parent:java8-parent` to `:parent` + +**org.openrewrite.java.migrate.WasDevMvnChangeParentArtifactId** + +_This recipe changes the artifactId of the `` tag in the `pom.xml` from `java8-parent` to `parent`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[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). + + +## Definition + + + +* [Change Maven parent](../../maven/changeparentpom) + * oldGroupId: `net.wasdev.maven.parent` + * oldArtifactId: `java8-parent` + * newArtifactId: `parent` + * newVersion: `1.4` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.migrate.WasDevMvnChangeParentArtifactId +displayName: Change `net.wasdev.maven.parent:java8-parent` to `:parent` +description: | + This recipe changes the artifactId of the `` tag in the `pom.xml` from `java8-parent` to `parent`. +recipeList: + - org.openrewrite.maven.ChangeParentPom: + oldGroupId: net.wasdev.maven.parent + oldArtifactId: java8-parent + newArtifactId: parent + newVersion: 1.4 + +``` + + + +## 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.WasDevMvnChangeParentArtifactId") + 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.WasDevMvnChangeParentArtifactId") + 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.WasDevMvnChangeParentArtifactId + + + + + 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.WasDevMvnChangeParentArtifactId -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 WasDevMvnChangeParentArtifactId +``` + +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 + + + + +### 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. | + + + + + +### 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/netty/README.md b/docs/recipes/java/netty/README.md new file mode 100644 index 0000000000..3790a553a4 --- /dev/null +++ b/docs/recipes/java/netty/README.md @@ -0,0 +1,17 @@ +# Netty + +_Recipes to perform [Netty](https://netty.io/) migration tasks._ + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Replace all `EventLoopGroup`s with `MultiThreadIoEventLoopGroup`](./eventloopgrouptomultithreadioeventloopgrouprecipes.md) + +## Recipes + +* [Replace `EpollEventLoopGroup` with `MultiThreadIoEventLoopGroup`](./eventloopgrouptomultithreadioeventloopgrouprecipes$epolleventloopgroupfactoryrecipe.md) +* [Replace `LocalEventLoopGroup` with `MultiThreadIoEventLoopGroup`](./eventloopgrouptomultithreadioeventloopgrouprecipes$localeventloopgroupfactoryrecipe.md) +* [Replace `NioEventLoopGroup` with `MultiThreadIoEventLoopGroup`](./eventloopgrouptomultithreadioeventloopgrouprecipes$nioeventloopgroupfactoryrecipe.md) + + diff --git a/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$epolleventloopgroupfactoryrecipe.md b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$epolleventloopgroupfactoryrecipe.md new file mode 100644 index 0000000000..38509b4f2e --- /dev/null +++ b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$epolleventloopgroupfactoryrecipe.md @@ -0,0 +1,217 @@ +--- +sidebar_label: "Replace EpollEventLoopGroup with MultiThreadIoEventLoopGroup" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace `EpollEventLoopGroup` with `MultiThreadIoEventLoopGroup` + +**org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe** + +_Replace `new EpollEventLoopGroup()` with `new MultiThreadIoEventLoopGroup(EpollIoHandler.newFactory())`._ + +### Tags + +* epoll +* netty + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-netty/blob/main/src/main/java/org/openrewrite/java/netty/EventLoopGroupToMultiThreadIoEventLoopGroup.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-netty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-netty/) + +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. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-netty` 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") +} +``` + +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-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") + } + rewrite { + activeRecipe("org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe") + 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe + + + + + org.openrewrite.recipe + rewrite-netty + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} + + + + + + +``` + +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-netty:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe -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 EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} +``` + + + +## 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/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$localeventloopgroupfactoryrecipe.md b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$localeventloopgroupfactoryrecipe.md new file mode 100644 index 0000000000..c41313e7c2 --- /dev/null +++ b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$localeventloopgroupfactoryrecipe.md @@ -0,0 +1,217 @@ +--- +sidebar_label: "Replace LocalEventLoopGroup with MultiThreadIoEventLoopGroup" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace `LocalEventLoopGroup` with `MultiThreadIoEventLoopGroup` + +**org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe** + +_Replace `new LocalEventLoopGroup()` with `new MultiThreadIoEventLoopGroup(LocalIoHandler.newFactory())`._ + +### Tags + +* local +* netty + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-netty/blob/main/src/main/java/org/openrewrite/java/netty/EventLoopGroupToMultiThreadIoEventLoopGroup.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-netty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-netty/) + +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. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-netty` 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") +} +``` + +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-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") + } + rewrite { + activeRecipe("org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe") + 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe + + + + + org.openrewrite.recipe + rewrite-netty + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} + + + + + + +``` + +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-netty:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe -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 EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} +``` + + + +## 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/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$nioeventloopgroupfactoryrecipe.md b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$nioeventloopgroupfactoryrecipe.md new file mode 100644 index 0000000000..c1f8e42cef --- /dev/null +++ b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$nioeventloopgroupfactoryrecipe.md @@ -0,0 +1,217 @@ +--- +sidebar_label: "Replace NioEventLoopGroup with MultiThreadIoEventLoopGroup" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace `NioEventLoopGroup` with `MultiThreadIoEventLoopGroup` + +**org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe** + +_Replace `new NioEventLoopGroup()` with `new MultiThreadIoEventLoopGroup(NioIoHandler.newFactory())`._ + +### Tags + +* nio +* netty + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-netty/blob/main/src/main/java/org/openrewrite/java/netty/EventLoopGroupToMultiThreadIoEventLoopGroup.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-netty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-netty/) + +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. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-netty` 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") +} +``` + +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-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") + } + rewrite { + activeRecipe("org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe") + 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe + + + + + org.openrewrite.recipe + rewrite-netty + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} + + + + + + +``` + +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-netty:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe -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 EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} +``` + + + +## 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/netty/eventloopgrouptomultithreadioeventloopgrouprecipes.md b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes.md new file mode 100644 index 0000000000..999eb35789 --- /dev/null +++ b/docs/recipes/java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes.md @@ -0,0 +1,298 @@ +--- +sidebar_label: "Replace all EventLoopGroups with MultiThreadIoEventLoopGroup" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace all `EventLoopGroup`s with `MultiThreadIoEventLoopGroup` + +**org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes** + +_Replaces Netty's `new *EventLoopGroup` with `new MultiThreadIoEventLoopGroup(*IoHandler.newFactory())`._ + +### Tags + +* netty + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-netty/blob/main/src/main/java/org/openrewrite/java/netty/EventLoopGroupToMultiThreadIoEventLoopGroup.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-netty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-netty/) + +:::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 + + + +* [Replace `EpollEventLoopGroup` with `MultiThreadIoEventLoopGroup`](../../java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$epolleventloopgroupfactoryrecipe) +* [Replace `LocalEventLoopGroup` with `MultiThreadIoEventLoopGroup`](../../java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$localeventloopgroupfactoryrecipe) +* [Replace `NioEventLoopGroup` with `MultiThreadIoEventLoopGroup`](../../java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes$nioeventloopgroupfactoryrecipe) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes +displayName: Replace all `EventLoopGroup`s with `MultiThreadIoEventLoopGroup` +description: | + Replaces Netty's `new *EventLoopGroup` with `new MultiThreadIoEventLoopGroup(*IoHandler.newFactory())`. +tags: + - netty +recipeList: + - org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$EpollEventLoopGroupFactoryRecipe + - org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$LocalEventLoopGroupFactoryRecipe + - org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes$NioEventLoopGroupFactoryRecipe + +``` + + +## Example + + + + + + +###### Before +```java +import io.netty.channel.EventLoopGroup; +import io.netty.channel.epoll.EpollEventLoopGroup; + +class Test { + EventLoopGroup group1 = new EpollEventLoopGroup(); +} +``` + +###### After +```java +import io.netty.channel.EventLoopGroup; +import io.netty.channel.MultiThreadIoEventLoopGroup; +import io.netty.channel.epoll.EpollIoHandler; + +class Test { + EventLoopGroup group1 = new MultiThreadIoEventLoopGroup(EpollIoHandler.newFactory()); +} +``` + + + + +```diff +@@ -2,1 +2,2 @@ +import io.netty.channel.EventLoopGroup; +-import io.netty.channel.epoll.EpollEventLoopGroup; ++import io.netty.channel.MultiThreadIoEventLoopGroup; ++import io.netty.channel.epoll.EpollIoHandler; + +@@ -5,1 +6,1 @@ + +class Test { +- EventLoopGroup group1 = new EpollEventLoopGroup(); ++ EventLoopGroup group1 = new MultiThreadIoEventLoopGroup(EpollIoHandler.newFactory()); +} +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-netty` 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") +} +``` + +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-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") + } + rewrite { + activeRecipe("org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes") + 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.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes + + + + + org.openrewrite.recipe + rewrite-netty + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} + + + + + + +``` + +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-netty:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes -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 EventLoopGroupToMultiThreadIoEventLoopGroupRecipes +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} +``` + + + +## 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/nostaticimport.md b/docs/recipes/java/nostaticimport.md index abd094d0a7..1ff56886ad 100644 --- a/docs/recipes/java/nostaticimport.md +++ b/docs/recipes/java/nostaticimport.md @@ -47,7 +47,7 @@ Now that `com.yourorg.NoStaticImportExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/orderimports.md b/docs/recipes/java/orderimports.md index 0115823810..b55ff63215 100644 --- a/docs/recipes/java/orderimports.md +++ b/docs/recipes/java/orderimports.md @@ -36,7 +36,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/randomizeid.md b/docs/recipes/java/randomizeid.md index b334dfdae7..1b95c6472a 100644 --- a/docs/recipes/java/randomizeid.md +++ b/docs/recipes/java/randomizeid.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipemarkupdemonstration.md b/docs/recipes/java/recipemarkupdemonstration.md index 3cab4e1862..cfd96ba325 100644 --- a/docs/recipes/java/recipemarkupdemonstration.md +++ b/docs/recipes/java/recipemarkupdemonstration.md @@ -47,7 +47,7 @@ Now that `com.yourorg.RecipeMarkupDemonstrationExample` has been defined, activa 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/README.md b/docs/recipes/java/recipes/README.md index e3e4806824..aa6c0e3e0e 100644 --- a/docs/recipes/java/recipes/README.md +++ b/docs/recipes/java/recipes/README.md @@ -2,6 +2,10 @@ _Apply best practices to OpenRewrite recipes._ +## Categories + +* [Migrate](/recipes/java/recipes/migrate) + ## Composite Recipes _Recipes that include further recipes, often including the individual recipes below._ @@ -21,9 +25,10 @@ _Recipes that include further recipes, often including the individual recipes be * [Minimal indentation for `SourceSpecs` text blocks](./sourcespectextblockindentation.md) * [New line at the end of `SourceSpecs` text blocks](./sourcespectextblocknewline.md) * [Recipe classes should not have mutable `static` fields](./nomutablestaticfieldsinrecipes.md) +* [Refaster template `IsLiteralNull`](./isliteralnullrecipe.md) * [RewriteTest classes should not be public](./rewritetestclassesshouldnotbepublic.md) -* [Set default estimated effort](./setdefaultestimatedeffortperoccurrence.md) * [Show `@DocumentExample`s first](./reordertestmethods.md) +* [Single `@DocumentExample` per test class](./singledocumentexample.md) * [Use `Tree.randomId()` in LST constructors](./usetreerandomid.md) * [Use a standard name for `ExecutionContext`](./executioncontextparametername.md) * [Use of `@EqualsAndHashCode` on `Recipe`](./recipeequalsandhashcodecallsuper.md) diff --git a/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md b/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md index 9ea9f0e82a..eea1bbaacb 100644 --- a/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md +++ b/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/correctlyspaceddescriptions.md b/docs/recipes/java/recipes/correctlyspaceddescriptions.md index 6aeb0d4607..7229c94014 100644 --- a/docs/recipes/java/recipes/correctlyspaceddescriptions.md +++ b/docs/recipes/java/recipes/correctlyspaceddescriptions.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/examplesextractor.md b/docs/recipes/java/recipes/examplesextractor.md index 340acc383d..4408545124 100644 --- a/docs/recipes/java/recipes/examplesextractor.md +++ b/docs/recipes/java/recipes/examplesextractor.md @@ -117,7 +117,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/executioncontextparametername.md b/docs/recipes/java/recipes/executioncontextparametername.md index afddd10106..8ca8f2dce3 100644 --- a/docs/recipes/java/recipes/executioncontextparametername.md +++ b/docs/recipes/java/recipes/executioncontextparametername.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/findrecipes.md b/docs/recipes/java/recipes/findrecipes.md index ee070c85c9..27d8d19d6c 100644 --- a/docs/recipes/java/recipes/findrecipes.md +++ b/docs/recipes/java/recipes/findrecipes.md @@ -117,7 +117,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/isliteralnullrecipe.md b/docs/recipes/java/recipes/isliteralnullrecipe.md new file mode 100644 index 0000000000..5061c0845b --- /dev/null +++ b/docs/recipes/java/recipes/isliteralnullrecipe.md @@ -0,0 +1,227 @@ +--- +sidebar_label: "Refaster template IsLiteralNull" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Refaster template `IsLiteralNull` + +**org.openrewrite.java.recipes.IsLiteralNullRecipe** + +Recipe created for the following Refaster template: +```java +public class IsLiteralNull { + + @BeforeTemplate + boolean before(Expression expression) { + return expression instanceof J.Literal && ((J.Literal)expression).getValue() == null; + } + + @AfterTemplate + boolean after(Expression expression) { + return J.Literal.isLiteralValue(expression, null); + } +} +``` +. + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/IsLiteralNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.IsLiteralNullRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.IsLiteralNullRecipe") + 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.recipes.IsLiteralNullRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.IsLiteralNullRecipe -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 IsLiteralNullRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/javarecipebestpractices.md b/docs/recipes/java/recipes/javarecipebestpractices.md index e036a4feab..4334a8f0e9 100644 --- a/docs/recipes/java/recipes/javarecipebestpractices.md +++ b/docs/recipes/java/recipes/javarecipebestpractices.md @@ -31,6 +31,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Add a blank line around fields with annotations](../../java/recipes/blanklinesaroundfieldswithannotations) * [Correctly spaced descriptions](../../java/recipes/correctlyspaceddescriptions) * [Use a standard name for `ExecutionContext`](../../java/recipes/executioncontextparametername) +* [Refaster template `IsLiteralNull`](../../java/recipes/isliteralnullrecipe) * [Find missing `@Option` `example` values](../../java/recipes/missingoptionexample) * [Recipe classes should not have mutable `static` fields](../../java/recipes/nomutablestaticfieldsinrecipes) * [Use of `@EqualsAndHashCode` on `Recipe`](../../java/recipes/recipeequalsandhashcodecallsuper) @@ -57,6 +58,7 @@ recipeList: - org.openrewrite.java.recipes.BlankLinesAroundFieldsWithAnnotations - org.openrewrite.java.recipes.CorrectlySpacedDescriptions - org.openrewrite.java.recipes.ExecutionContextParameterName + - org.openrewrite.java.recipes.IsLiteralNullRecipe - org.openrewrite.java.recipes.MissingOptionExample - org.openrewrite.java.recipes.NoMutableStaticFieldsInRecipes - org.openrewrite.java.recipes.RecipeEqualsAndHashCodeCallSuper @@ -82,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/migrate/README.md b/docs/recipes/java/recipes/migrate/README.md new file mode 100644 index 0000000000..dddc3959be --- /dev/null +++ b/docs/recipes/java/recipes/migrate/README.md @@ -0,0 +1,21 @@ +# Migrate + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Replace static `Traits` methods with constructor calls](./removetraitsusagerecipes.md) + +## Recipes + +* [Remove `org.openrewrite.gradle.trait.Traits.gradleDependency()` usage](./removetraitsusagerecipes$dependencyrecipe.md) +* [Remove `org.openrewrite.gradle.trait.Traits.jvmTestSuite()` usage](./removetraitsusagerecipes$jvmtestsuiterecipe.md) +* [Remove `org.openrewrite.java.trait.Traits.annotated(AnnotationMatcher)` usage](./removetraitsusagerecipes$annotationmatcherrecipe.md) +* [Remove `org.openrewrite.java.trait.Traits.annotated(Class)` usage](./removetraitsusagerecipes$classtyperecipe.md) +* [Remove `org.openrewrite.java.trait.Traits.annotated(String)` usage](./removetraitsusagerecipes$stringsignaturerecipe.md) +* [Remove `org.openrewrite.java.trait.Traits.literal()` usage](./removetraitsusagerecipes$literalrecipe.md) +* [Remove `org.openrewrite.java.trait.Traits.methodAccess(MethodMatcher)` usage](./removetraitsusagerecipes$methodmatcherrecipe.md) +* [Remove `org.openrewrite.java.trait.Traits.variableAccess()` usage](./removetraitsusagerecipes$variableaccessrecipe.md) +* [Remove `org.openrewrite.maven.trait.Traits.mavenPlugin()` usage](./removetraitsusagerecipes$pluginrecipe.md) + + diff --git a/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$annotationmatcherrecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$annotationmatcherrecipe.md new file mode 100644 index 0000000000..14819e5daa --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$annotationmatcherrecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.java.trait.Traits.annotated(AnnotationMatcher) usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.java.trait.Traits.annotated(AnnotationMatcher)` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$AnnotationMatcherRecipe** + +_Removes the usage of static `org.openrewrite.java.trait.Traits.annotated(AnnotationMatcher)`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$AnnotationMatcherRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$AnnotationMatcherRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$AnnotationMatcherRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$AnnotationMatcherRecipe -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 RemoveTraitsUsageRecipes$AnnotationMatcherRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$classtyperecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$classtyperecipe.md new file mode 100644 index 0000000000..5976138a88 --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$classtyperecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.java.trait.Traits.annotated(Class) usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.java.trait.Traits.annotated(Class<?>)` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$ClassTypeRecipe** + +_Removes the usage of static `org.openrewrite.java.trait.Traits.annotated(Class)`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$ClassTypeRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$ClassTypeRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$ClassTypeRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$ClassTypeRecipe -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 RemoveTraitsUsageRecipes$ClassTypeRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$dependencyrecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$dependencyrecipe.md new file mode 100644 index 0000000000..2d7fd129af --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$dependencyrecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.gradle.trait.Traits.gradleDependency() usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.gradle.trait.Traits.gradleDependency()` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$DependencyRecipe** + +_Removes the usage of static `org.openrewrite.gradle.trait.Traits.gradleDependency()`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$DependencyRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$DependencyRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$DependencyRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$DependencyRecipe -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 RemoveTraitsUsageRecipes$DependencyRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$jvmtestsuiterecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$jvmtestsuiterecipe.md new file mode 100644 index 0000000000..efb48f0232 --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$jvmtestsuiterecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.gradle.trait.Traits.jvmTestSuite() usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.gradle.trait.Traits.jvmTestSuite()` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$JvmTestSuiteRecipe** + +_Removes the usage of static `org.openrewrite.gradle.trait.Traits.jvmTestSuite()`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$JvmTestSuiteRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$JvmTestSuiteRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$JvmTestSuiteRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$JvmTestSuiteRecipe -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 RemoveTraitsUsageRecipes$JvmTestSuiteRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$literalrecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$literalrecipe.md new file mode 100644 index 0000000000..eaf92ca123 --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$literalrecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.java.trait.Traits.literal() usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.java.trait.Traits.literal()` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$LiteralRecipe** + +_Removes the usage of static `org.openrewrite.java.trait.Traits.literal()`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$LiteralRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$LiteralRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$LiteralRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$LiteralRecipe -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 RemoveTraitsUsageRecipes$LiteralRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$methodmatcherrecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$methodmatcherrecipe.md new file mode 100644 index 0000000000..ee40b0308c --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$methodmatcherrecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.java.trait.Traits.methodAccess(MethodMatcher) usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.java.trait.Traits.methodAccess(MethodMatcher)` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$MethodMatcherRecipe** + +_Removes the usage of static `org.openrewrite.java.trait.Traits.methodAccess(MethodMatcher)`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$MethodMatcherRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$MethodMatcherRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$MethodMatcherRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$MethodMatcherRecipe -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 RemoveTraitsUsageRecipes$MethodMatcherRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$pluginrecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$pluginrecipe.md new file mode 100644 index 0000000000..898e3c1f38 --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$pluginrecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.maven.trait.Traits.mavenPlugin() usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.maven.trait.Traits.mavenPlugin()` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$PluginRecipe** + +_Removes the usage of static `org.openrewrite.maven.trait.Traits.mavenPlugin()`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$PluginRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$PluginRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$PluginRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$PluginRecipe -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 RemoveTraitsUsageRecipes$PluginRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$stringsignaturerecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$stringsignaturerecipe.md new file mode 100644 index 0000000000..8d95701055 --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$stringsignaturerecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.java.trait.Traits.annotated(String) usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.java.trait.Traits.annotated(String)` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$StringSignatureRecipe** + +_Removes the usage of static `org.openrewrite.java.trait.Traits.annotated(String)`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$StringSignatureRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$StringSignatureRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$StringSignatureRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$StringSignatureRecipe -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 RemoveTraitsUsageRecipes$StringSignatureRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes$variableaccessrecipe.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$variableaccessrecipe.md new file mode 100644 index 0000000000..8c59084e51 --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes$variableaccessrecipe.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Remove org.openrewrite.java.trait.Traits.variableAccess() usage" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Remove `org.openrewrite.java.trait.Traits.variableAccess()` usage + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$VariableAccessRecipe** + +_Removes the usage of static `org.openrewrite.java.trait.Traits.variableAccess()`._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +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-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes$VariableAccessRecipe") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$VariableAccessRecipe") + 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.recipes.migrate.RemoveTraitsUsageRecipes$VariableAccessRecipe + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$VariableAccessRecipe -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 RemoveTraitsUsageRecipes$VariableAccessRecipe +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/migrate/removetraitsusagerecipes.md b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes.md new file mode 100644 index 0000000000..d348e97359 --- /dev/null +++ b/docs/recipes/java/recipes/migrate/removetraitsusagerecipes.md @@ -0,0 +1,306 @@ +--- +sidebar_label: "Replace static Traits methods with constructor calls" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Replace static `Traits` methods with constructor calls + +**org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes** + +_Replace the usage of static `Traits` methods with the corresponding constructor calls, as the `Traits` classes were an early abstraction with undesirable import conflicts._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/migrate/RemoveTraitsUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) + +:::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 + + + +* [Remove `org.openrewrite.java.trait.Traits.literal()` usage](../../../java/recipes/migrate/removetraitsusagerecipes$literalrecipe) +* [Remove `org.openrewrite.java.trait.Traits.variableAccess()` usage](../../../java/recipes/migrate/removetraitsusagerecipes$variableaccessrecipe) +* [Remove `org.openrewrite.java.trait.Traits.methodAccess(MethodMatcher)` usage](../../../java/recipes/migrate/removetraitsusagerecipes$methodmatcherrecipe) +* [Remove `org.openrewrite.java.trait.Traits.annotated(String)` usage](../../../java/recipes/migrate/removetraitsusagerecipes$stringsignaturerecipe) +* [Remove `org.openrewrite.java.trait.Traits.annotated(AnnotationMatcher)` usage](../../../java/recipes/migrate/removetraitsusagerecipes$annotationmatcherrecipe) +* [Remove `org.openrewrite.java.trait.Traits.annotated(Class)` usage](../../../java/recipes/migrate/removetraitsusagerecipes$classtyperecipe) +* [Remove `org.openrewrite.gradle.trait.Traits.gradleDependency()` usage](../../../java/recipes/migrate/removetraitsusagerecipes$dependencyrecipe) +* [Remove `org.openrewrite.maven.trait.Traits.mavenPlugin()` usage](../../../java/recipes/migrate/removetraitsusagerecipes$pluginrecipe) +* [Remove `org.openrewrite.gradle.trait.Traits.jvmTestSuite()` usage](../../../java/recipes/migrate/removetraitsusagerecipes$jvmtestsuiterecipe) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes +displayName: Replace static `Traits` methods with constructor calls +description: | + Replace the usage of static `Traits` methods with the corresponding constructor calls, as the `Traits` classes were an early abstraction with undesirable import conflicts. +recipeList: + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$LiteralRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$VariableAccessRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$MethodMatcherRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$StringSignatureRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$AnnotationMatcherRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$ClassTypeRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$DependencyRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$PluginRecipe + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes$JvmTestSuiteRecipe + +``` + + +## Example + + + + + + +###### Before +```java +import org.openrewrite.java.trait.Literal; +import org.openrewrite.java.trait.Traits; +import org.openrewrite.marker.SearchResult; + +class Test { + void test() { + Literal.Matcher literal = Traits.literal(); + } +} +``` + +###### After +```java +import org.openrewrite.java.trait.Literal; +import org.openrewrite.marker.SearchResult; + +class Test { + void test() { + Literal.Matcher literal = new Literal.Matcher(); + } +} +``` + + + + +```diff +@@ -2,1 +2,0 @@ +import org.openrewrite.java.trait.Literal; +-import org.openrewrite.java.trait.Traits; +import org.openrewrite.marker.SearchResult; +@@ -7,1 +6,1 @@ +class Test { + void test() { +- Literal.Matcher literal = Traits.literal(); ++ Literal.Matcher literal = new Literal.Matcher(); + } +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-rewrite` 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.recipes.migrate.RemoveTraitsUsageRecipes") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") +} +``` + +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-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") + } + rewrite { + activeRecipe("org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes") + 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.recipes.migrate.RemoveTraitsUsageRecipes + + + + + org.openrewrite.recipe + rewrite-rewrite + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} + + + + + + +``` + +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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes -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 RemoveTraitsUsageRecipes +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}} +``` + + + +## 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/recipes/missingoptionexample.md b/docs/recipes/java/recipes/missingoptionexample.md index 82ceff0503..49a9325628 100644 --- a/docs/recipes/java/recipes/missingoptionexample.md +++ b/docs/recipes/java/recipes/missingoptionexample.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md b/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md index cc97c61b2c..84fb166c07 100644 --- a/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md +++ b/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md b/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md index 5e87c044ee..0609573ec6 100644 --- a/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md +++ b/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/recipenullabilitybestpractices.md b/docs/recipes/java/recipes/recipenullabilitybestpractices.md index aca74974ee..e111cc9a3c 100644 --- a/docs/recipes/java/recipes/recipenullabilitybestpractices.md +++ b/docs/recipes/java/recipes/recipenullabilitybestpractices.md @@ -35,7 +35,6 @@ This recipe is available under the [Moderne Source Available License](https://do * annotationPattern: `@javax.annotation.Nonnull` * [Remove annotation](../../java/removeannotation) * annotationPattern: `@jakarta.annotation.Nonnull` -* [Migrate to JSpecify](../../java/jspecify/migratetojspecify) * [Annotate methods which may return `null` with `@Nullable`](../../staticanalysis/annotatenullablemethods) * [Move `@Nullable` method annotations to the return type](../../staticanalysis/nullableonmethodreturntype) @@ -58,7 +57,6 @@ recipeList: annotationPattern: @javax.annotation.Nonnull - org.openrewrite.java.RemoveAnnotation: annotationPattern: @jakarta.annotation.Nonnull - - org.openrewrite.java.jspecify.MigrateToJspecify - org.openrewrite.staticanalysis.AnnotateNullableMethods - org.openrewrite.staticanalysis.NullableOnMethodReturnType @@ -76,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/recipetestingbestpractices.md b/docs/recipes/java/recipes/recipetestingbestpractices.md index 99e13e9a99..cb1bbdce0d 100644 --- a/docs/recipes/java/recipes/recipetestingbestpractices.md +++ b/docs/recipes/java/recipes/recipetestingbestpractices.md @@ -30,6 +30,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [RewriteTest classes should not be public](../../java/recipes/rewritetestclassesshouldnotbepublic) * [Automatically select recipe examples from the unit test cases of a recipe](../../java/recipes/selectrecipeexamples) +* [Single `@DocumentExample` per test class](../../java/recipes/singledocumentexample) * [Show `@DocumentExample`s first](../../java/recipes/reordertestmethods) * [New line at the end of `SourceSpecs` text blocks](../../java/recipes/sourcespectextblocknewline) * [Minimal indentation for `SourceSpecs` text blocks](../../java/recipes/sourcespectextblockindentation) @@ -54,6 +55,7 @@ description: | recipeList: - org.openrewrite.java.recipes.RewriteTestClassesShouldNotBePublic - org.openrewrite.java.recipes.SelectRecipeExamples + - org.openrewrite.java.recipes.SingleDocumentExample - org.openrewrite.java.recipes.ReorderTestMethods - org.openrewrite.java.recipes.SourceSpecTextBlockNewLine - org.openrewrite.java.recipes.SourceSpecTextBlockIndentation @@ -78,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/reordertestmethods.md b/docs/recipes/java/recipes/reordertestmethods.md index e6154aa3c6..8cf71e4d74 100644 --- a/docs/recipes/java/recipes/reordertestmethods.md +++ b/docs/recipes/java/recipes/reordertestmethods.md @@ -211,7 +211,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md b/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md index f22b5047ac..164555cf3a 100644 --- a/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md +++ b/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/selectrecipeexamples.md b/docs/recipes/java/recipes/selectrecipeexamples.md index 5c1042370d..a80211bfc7 100644 --- a/docs/recipes/java/recipes/selectrecipeexamples.md +++ b/docs/recipes/java/recipes/selectrecipeexamples.md @@ -153,7 +153,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/setdefaultestimatedeffortperoccurrence.md b/docs/recipes/java/recipes/singledocumentexample.md similarity index 87% rename from docs/recipes/java/recipes/setdefaultestimatedeffortperoccurrence.md rename to docs/recipes/java/recipes/singledocumentexample.md index c8b2177dd7..9b086bb638 100644 --- a/docs/recipes/java/recipes/setdefaultestimatedeffortperoccurrence.md +++ b/docs/recipes/java/recipes/singledocumentexample.md @@ -1,19 +1,19 @@ --- -sidebar_label: "Set default estimated effort" +sidebar_label: "Single @DocumentExample per test class" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Set default estimated effort +# Single `@DocumentExample` per test class -**org.openrewrite.java.recipes.SetDefaultEstimatedEffortPerOccurrence** +**org.openrewrite.java.recipes.SingleDocumentExample** -_Retrofit recipes with a default estimated effort per occurrence._ +_Ensures that there is only one `@DocumentExample` annotation per test class, as that looks best in the documentation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/SetDefaultEstimatedEffortPerOccurrence.java), +[GitHub](https://github.com/openrewrite/rewrite-rewrite/blob/main/src/main/java/org/openrewrite/java/recipes/SingleDocumentExample.java), [Issue Tracker](https://github.com/openrewrite/rewrite-rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-rewrite/) @@ -30,11 +30,11 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { - activeRecipe("org.openrewrite.java.recipes.SetDefaultEstimatedEffortPerOccurrence") + activeRecipe("org.openrewrite.java.recipes.SingleDocumentExample") setExportDatatables(true) } @@ -67,7 +67,7 @@ rootProject { rewrite("org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_REWRITE}}") } rewrite { - activeRecipe("org.openrewrite.java.recipes.SetDefaultEstimatedEffortPerOccurrence") + activeRecipe("org.openrewrite.java.recipes.SingleDocumentExample") setExportDatatables(true) } afterEvaluate { @@ -102,7 +102,7 @@ gradle --init-script init.gradle rewriteRun true - org.openrewrite.java.recipes.SetDefaultEstimatedEffortPerOccurrence + org.openrewrite.java.recipes.SingleDocumentExample @@ -125,7 +125,7 @@ gradle --init-script init.gradle rewriteRun 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-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.SetDefaultEstimatedEffortPerOccurrence -Drewrite.exportDatatables=true +mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-rewrite:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.recipes.SingleDocumentExample -Drewrite.exportDatatables=true ``` @@ -133,7 +133,7 @@ mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCo 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 SetDefaultEstimatedEffortPerOccurrence +mod run . --recipe SingleDocumentExample ``` If the recipe is not available locally, then you can install it using: @@ -147,7 +147,7 @@ mod config recipes jar install org.openrewrite.recipe:rewrite-rewrite:{{VERSION_ 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. @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[JohannisK](mailto:johan.kragt@moderne.io) +[Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/recipes/sourcespectextblockindentation.md b/docs/recipes/java/recipes/sourcespectextblockindentation.md index 09d3365d08..e4b2b9efab 100644 --- a/docs/recipes/java/recipes/sourcespectextblockindentation.md +++ b/docs/recipes/java/recipes/sourcespectextblockindentation.md @@ -113,7 +113,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/sourcespectextblocknewline.md b/docs/recipes/java/recipes/sourcespectextblocknewline.md index 827bc102d5..5373f46b51 100644 --- a/docs/recipes/java/recipes/sourcespectextblocknewline.md +++ b/docs/recipes/java/recipes/sourcespectextblocknewline.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/recipes/usetreerandomid.md b/docs/recipes/java/recipes/usetreerandomid.md index b88dd4ade0..f14c7f836a 100644 --- a/docs/recipes/java/recipes/usetreerandomid.md +++ b/docs/recipes/java/recipes/usetreerandomid.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -279,4 +279,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[JohannisK](mailto:johan.kragt@moderne.io) +[JohannisK](mailto:johan.kragt@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/java/removeannotation.md b/docs/recipes/java/removeannotation.md index b1fd4100f0..0e7c5021ca 100644 --- a/docs/recipes/java/removeannotation.md +++ b/docs/recipes/java/removeannotation.md @@ -47,7 +47,7 @@ Now that `com.yourorg.RemoveAnnotationExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/removeannotationattribute.md b/docs/recipes/java/removeannotationattribute.md index f363525884..4977be6e80 100644 --- a/docs/recipes/java/removeannotationattribute.md +++ b/docs/recipes/java/removeannotationattribute.md @@ -49,7 +49,7 @@ Now that `com.yourorg.RemoveAnnotationAttributeExample` has been defined, activa 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/removeimplements.md b/docs/recipes/java/removeimplements.md index 9e99180107..e083029803 100644 --- a/docs/recipes/java/removeimplements.md +++ b/docs/recipes/java/removeimplements.md @@ -49,7 +49,7 @@ Now that `com.yourorg.RemoveImplementsExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/removemethodinvocations.md b/docs/recipes/java/removemethodinvocations.md index 62bf295f77..fe086b23b8 100644 --- a/docs/recipes/java/removemethodinvocations.md +++ b/docs/recipes/java/removemethodinvocations.md @@ -47,7 +47,7 @@ Now that `com.yourorg.RemoveMethodInvocationsExample` has been defined, activate 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/removeobjectsisnull.md b/docs/recipes/java/removeobjectsisnull.md index 8149023a4f..444886d3a7 100644 --- a/docs/recipes/java/removeobjectsisnull.md +++ b/docs/recipes/java/removeobjectsisnull.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/removeunusedimports.md b/docs/recipes/java/removeunusedimports.md index c1ea0fe564..12a32be04d 100644 --- a/docs/recipes/java/removeunusedimports.md +++ b/docs/recipes/java/removeunusedimports.md @@ -34,7 +34,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -206,4 +206,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Thomas Zub](mailto:thomas.zub@outlook.de), tclayton-newr, [Greg Adams](mailto:greg@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Patrick Way, Tyler Van Gorder, [Scott Jungling](mailto:scott.jungling@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), [Thomas Zub](mailto:thomas.zub@outlook.de), tclayton-newr, [Greg Adams](mailto:greg@moderne.io), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Patrick Way, Tyler Van Gorder, [Scott Jungling](mailto:scott.jungling@gmail.com), e5LA, [Sam Snyder](mailto:sam@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io) diff --git a/docs/recipes/java/reordermethodarguments.md b/docs/recipes/java/reordermethodarguments.md index a4dd6b567f..f768dc2d99 100644 --- a/docs/recipes/java/reordermethodarguments.md +++ b/docs/recipes/java/reordermethodarguments.md @@ -53,7 +53,7 @@ Now that `com.yourorg.ReorderMethodArgumentsExample` has been defined, activate 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/replaceannotation.md b/docs/recipes/java/replaceannotation.md index 9d5fe5e91f..2c9aa1a098 100644 --- a/docs/recipes/java/replaceannotation.md +++ b/docs/recipes/java/replaceannotation.md @@ -103,7 +103,7 @@ Now that `com.yourorg.ReplaceAnnotationExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/replaceconstant.md b/docs/recipes/java/replaceconstant.md index 42e2f5a172..afdd969196 100644 --- a/docs/recipes/java/replaceconstant.md +++ b/docs/recipes/java/replaceconstant.md @@ -51,7 +51,7 @@ Now that `com.yourorg.ReplaceConstantExample` has been defined, activate it in y 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/replaceconstantwithanotherconstant.md b/docs/recipes/java/replaceconstantwithanotherconstant.md index a5a3e0db45..81ec790297 100644 --- a/docs/recipes/java/replaceconstantwithanotherconstant.md +++ b/docs/recipes/java/replaceconstantwithanotherconstant.md @@ -49,7 +49,7 @@ Now that `com.yourorg.ReplaceConstantWithAnotherConstantExample` has been define 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/replacemethodinvocationwithconstant.md b/docs/recipes/java/replacemethodinvocationwithconstant.md index 4a73f17da3..1ce195513d 100644 --- a/docs/recipes/java/replacemethodinvocationwithconstant.md +++ b/docs/recipes/java/replacemethodinvocationwithconstant.md @@ -49,7 +49,7 @@ Now that `com.yourorg.ReplaceMethodInvocationWithConstantExample` has been defin 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/replacestringliteralvalue.md b/docs/recipes/java/replacestringliteralvalue.md index 036ce72a54..f2462373ed 100644 --- a/docs/recipes/java/replacestringliteralvalue.md +++ b/docs/recipes/java/replacestringliteralvalue.md @@ -89,7 +89,7 @@ Now that `com.yourorg.ReplaceStringLiteralValueExample` has been defined, activa 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/replacestringliteralwithconstant.md b/docs/recipes/java/replacestringliteralwithconstant.md index ff1a4660f9..954897d11d 100644 --- a/docs/recipes/java/replacestringliteralwithconstant.md +++ b/docs/recipes/java/replacestringliteralwithconstant.md @@ -49,7 +49,7 @@ Now that `com.yourorg.ReplaceStringLiteralWithConstantExample` has been defined, 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/classpathtypecounts.md b/docs/recipes/java/search/classpathtypecounts.md index 9720223d64..62cf7fb22f 100644 --- a/docs/recipes/java/search/classpathtypecounts.md +++ b/docs/recipes/java/search/classpathtypecounts.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/doesnotusetype.md b/docs/recipes/java/search/doesnotusetype.md index e6b7476518..7f617a24ed 100644 --- a/docs/recipes/java/search/doesnotusetype.md +++ b/docs/recipes/java/search/doesnotusetype.md @@ -48,7 +48,7 @@ Now that `com.yourorg.DoesNotUseTypeExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findannotations.md b/docs/recipes/java/search/findannotations.md index 3319b8fa04..cbbbbebce5 100644 --- a/docs/recipes/java/search/findannotations.md +++ b/docs/recipes/java/search/findannotations.md @@ -48,7 +48,7 @@ Now that `com.yourorg.FindAnnotationsExample` has been defined, activate it in y 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findclasshierarchy.md b/docs/recipes/java/search/findclasshierarchy.md index d883ea8805..376aa9a3db 100644 --- a/docs/recipes/java/search/findclasshierarchy.md +++ b/docs/recipes/java/search/findclasshierarchy.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findcomments.md b/docs/recipes/java/search/findcomments.md index f65a281a5b..87da3a35b3 100644 --- a/docs/recipes/java/search/findcomments.md +++ b/docs/recipes/java/search/findcomments.md @@ -47,7 +47,7 @@ Now that `com.yourorg.FindCommentsExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findcompileerrors.md b/docs/recipes/java/search/findcompileerrors.md index bc63b81184..012bd2fd85 100644 --- a/docs/recipes/java/search/findcompileerrors.md +++ b/docs/recipes/java/search/findcompileerrors.md @@ -69,7 +69,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/finddeprecatedclasses.md b/docs/recipes/java/search/finddeprecatedclasses.md index b1a6552654..0b1502f6af 100644 --- a/docs/recipes/java/search/finddeprecatedclasses.md +++ b/docs/recipes/java/search/finddeprecatedclasses.md @@ -38,7 +38,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/finddeprecatedfields.md b/docs/recipes/java/search/finddeprecatedfields.md index ef95c6c2d8..26ad7fd345 100644 --- a/docs/recipes/java/search/finddeprecatedfields.md +++ b/docs/recipes/java/search/finddeprecatedfields.md @@ -38,7 +38,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/finddeprecatedmethods.md b/docs/recipes/java/search/finddeprecatedmethods.md index 9afc9c9bb6..33148471d8 100644 --- a/docs/recipes/java/search/finddeprecatedmethods.md +++ b/docs/recipes/java/search/finddeprecatedmethods.md @@ -37,7 +37,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/finddeprecateduses.md b/docs/recipes/java/search/finddeprecateduses.md index 12857b4894..b91797233d 100644 --- a/docs/recipes/java/search/finddeprecateduses.md +++ b/docs/recipes/java/search/finddeprecateduses.md @@ -73,7 +73,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findemptyclasses.md b/docs/recipes/java/search/findemptyclasses.md index e953614cd1..6eb74225d6 100644 --- a/docs/recipes/java/search/findemptyclasses.md +++ b/docs/recipes/java/search/findemptyclasses.md @@ -34,7 +34,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findemptymethods.md b/docs/recipes/java/search/findemptymethods.md index 3183d98f03..845cc2fe4c 100644 --- a/docs/recipes/java/search/findemptymethods.md +++ b/docs/recipes/java/search/findemptymethods.md @@ -40,7 +40,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findfields.md b/docs/recipes/java/search/findfields.md index e9edacc92b..ef6d41b291 100644 --- a/docs/recipes/java/search/findfields.md +++ b/docs/recipes/java/search/findfields.md @@ -50,7 +50,7 @@ Now that `com.yourorg.FindFieldsExample` has been defined, activate it in your b 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findfieldsoftype.md b/docs/recipes/java/search/findfieldsoftype.md index f66eb53acd..a8d367d07a 100644 --- a/docs/recipes/java/search/findfieldsoftype.md +++ b/docs/recipes/java/search/findfieldsoftype.md @@ -48,7 +48,7 @@ Now that `com.yourorg.FindFieldsOfTypeExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findimplementations.md b/docs/recipes/java/search/findimplementations.md index 488193eab1..8e47821b95 100644 --- a/docs/recipes/java/search/findimplementations.md +++ b/docs/recipes/java/search/findimplementations.md @@ -47,7 +47,7 @@ Now that `com.yourorg.FindImplementationsExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findimports.md b/docs/recipes/java/search/findimports.md index 8b5ac01e38..664b5ed911 100644 --- a/docs/recipes/java/search/findimports.md +++ b/docs/recipes/java/search/findimports.md @@ -37,7 +37,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findliterals.md b/docs/recipes/java/search/findliterals.md index 798d1ceeaf..fd23ae1000 100644 --- a/docs/recipes/java/search/findliterals.md +++ b/docs/recipes/java/search/findliterals.md @@ -47,7 +47,7 @@ Now that `com.yourorg.FindLiteralsExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findmethoddeclaration.md b/docs/recipes/java/search/findmethoddeclaration.md index d28bab165f..88438b65b5 100644 --- a/docs/recipes/java/search/findmethoddeclaration.md +++ b/docs/recipes/java/search/findmethoddeclaration.md @@ -48,7 +48,7 @@ Now that `com.yourorg.FindMethodDeclarationExample` has been defined, activate i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findmethods.md b/docs/recipes/java/search/findmethods.md index f8d60cd968..016f582e8c 100644 --- a/docs/recipes/java/search/findmethods.md +++ b/docs/recipes/java/search/findmethods.md @@ -48,7 +48,7 @@ Now that `com.yourorg.FindMethodsExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findmissingtypes.md b/docs/recipes/java/search/findmissingtypes.md index 24150339e0..36ba6e1089 100644 --- a/docs/recipes/java/search/findmissingtypes.md +++ b/docs/recipes/java/search/findmissingtypes.md @@ -36,7 +36,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findrepeatableannotations.md b/docs/recipes/java/search/findrepeatableannotations.md index da1b02582c..dacb77c645 100644 --- a/docs/recipes/java/search/findrepeatableannotations.md +++ b/docs/recipes/java/search/findrepeatableannotations.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findsecrets.md b/docs/recipes/java/search/findsecrets.md index 54bc23d409..f8ee1b5b2c 100644 --- a/docs/recipes/java/search/findsecrets.md +++ b/docs/recipes/java/search/findsecrets.md @@ -62,7 +62,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findtypemappings.md b/docs/recipes/java/search/findtypemappings.md index 1dddaa895e..4bda46cbd4 100644 --- a/docs/recipes/java/search/findtypemappings.md +++ b/docs/recipes/java/search/findtypemappings.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/findtypes.md b/docs/recipes/java/search/findtypes.md index c269d1b32c..68dfb59429 100644 --- a/docs/recipes/java/search/findtypes.md +++ b/docs/recipes/java/search/findtypes.md @@ -48,7 +48,7 @@ Now that `com.yourorg.FindTypesExample` has been defined, activate it in your bu 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/hasbuildtoolversion.md b/docs/recipes/java/search/hasbuildtoolversion.md index 85efbbb11b..d1479755da 100644 --- a/docs/recipes/java/search/hasbuildtoolversion.md +++ b/docs/recipes/java/search/hasbuildtoolversion.md @@ -83,7 +83,7 @@ Now that `com.yourorg.HasBuildToolVersionExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/hasjavaversion.md b/docs/recipes/java/search/hasjavaversion.md index 04345825db..86d31356e8 100644 --- a/docs/recipes/java/search/hasjavaversion.md +++ b/docs/recipes/java/search/hasjavaversion.md @@ -49,7 +49,7 @@ Now that `com.yourorg.HasJavaVersionExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/hasminimumjavaversion.md b/docs/recipes/java/search/hasminimumjavaversion.md index 80af9f80b0..13b1e3b0d9 100644 --- a/docs/recipes/java/search/hasminimumjavaversion.md +++ b/docs/recipes/java/search/hasminimumjavaversion.md @@ -49,7 +49,7 @@ Now that `com.yourorg.HasMinimumJavaVersionExample` has been defined, activate i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/hassourceset.md b/docs/recipes/java/search/hassourceset.md index d7ebd75e97..1fdd0ccfa3 100644 --- a/docs/recipes/java/search/hassourceset.md +++ b/docs/recipes/java/search/hassourceset.md @@ -47,7 +47,7 @@ Now that `com.yourorg.HasSourceSetExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/islikelynottest.md b/docs/recipes/java/search/islikelynottest.md index dc3811483d..cbae053041 100644 --- a/docs/recipes/java/search/islikelynottest.md +++ b/docs/recipes/java/search/islikelynottest.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/islikelytest.md b/docs/recipes/java/search/islikelytest.md index d73cc10096..f6d0367e62 100644 --- a/docs/recipes/java/search/islikelytest.md +++ b/docs/recipes/java/search/islikelytest.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/search/resultofmethodcallignored.md b/docs/recipes/java/search/resultofmethodcallignored.md index 3c73c49faf..6606cfd22f 100644 --- a/docs/recipes/java/search/resultofmethodcallignored.md +++ b/docs/recipes/java/search/resultofmethodcallignored.md @@ -48,7 +48,7 @@ Now that `com.yourorg.ResultOfMethodCallIgnoredExample` has been defined, activa 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/shortenfullyqualifiedtypereferences.md b/docs/recipes/java/shortenfullyqualifiedtypereferences.md index df878612f0..437e28754a 100644 --- a/docs/recipes/java/shortenfullyqualifiedtypereferences.md +++ b/docs/recipes/java/shortenfullyqualifiedtypereferences.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/simplifymethodchain.md b/docs/recipes/java/simplifymethodchain.md index 1937d9399f..55ccf753c6 100644 --- a/docs/recipes/java/simplifymethodchain.md +++ b/docs/recipes/java/simplifymethodchain.md @@ -51,7 +51,7 @@ Now that `com.yourorg.SimplifyMethodChainExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/README.md b/docs/recipes/java/spring/README.md index 09995dac77..362436a88e 100644 --- a/docs/recipes/java/spring/README.md +++ b/docs/recipes/java/spring/README.md @@ -5,8 +5,11 @@ _Recipes for upgrading and patching [Spring](https://spring.io/) applications._ ## Categories * [Amqp](/recipes/java/spring/amqp) +* [Cloud2020](/recipes/java/spring/cloud2020) +* [Cloud2021](/recipes/java/spring/cloud2021) * [Cloud2024](/recipes/java/spring/cloud2024) * [Cloud2025](/recipes/java/spring/cloud2025) +* [Doc](/recipes/java/spring/doc) * [Http](/recipes/java/spring/http) * [Search](/recipes/java/spring/search) * [Spring Batch](/recipes/java/spring/batch) @@ -31,7 +34,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Add a spring configuration property](./addspringproperty.md) * [Change parameter type for a method declaration](./changemethodparameter.md) -* [Change the key of a spring application property](./changespringpropertykey.md) +* [Change the key of a Spring application property](./changespringpropertykey.md) * [Change the value of a spring application property](./changespringpropertyvalue.md) * [Comment out Spring properties](./commentoutspringpropertykey.md) * [Delete a spring configuration property](./deletespringproperty.md) diff --git a/docs/recipes/java/spring/addspringproperty.md b/docs/recipes/java/spring/addspringproperty.md index 31a3888d83..ab32d60bef 100644 --- a/docs/recipes/java/spring/addspringproperty.md +++ b/docs/recipes/java/spring/addspringproperty.md @@ -124,7 +124,7 @@ Now that `com.yourorg.AddSpringPropertyExample` has been defined, activate it an ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md b/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md index 98af6c29af..d93fefdfc7 100644 --- a/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md +++ b/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md @@ -42,64 +42,64 @@ This recipe is available under the [Moderne Source Available License](https://do - + ###### Before -```yaml -spring: - rabbitmq: - addresses: host1:5672 +```properties +spring.rabbitmq.addresses=host1:5672 ``` ###### After -```yaml -spring: - rabbitmq: - addresses: host1:5671 - ssl: - enabled: true +```properties +spring.rabbitmq.addresses=host1:5671 +spring.rabbitmq.ssl.enabled=true ``` ```diff -@@ -3,1 +3,3 @@ -spring: - rabbitmq: -- addresses: host1:5672 -+ addresses: host1:5671 -+ ssl: -+ enabled: true +@@ -1,1 +1,2 @@ +-spring.rabbitmq.addresses=host1:5672 ++spring.rabbitmq.addresses=host1:5671 ++spring.rabbitmq.ssl.enabled=true ``` - + ###### Before -```properties -spring.rabbitmq.addresses=host1:5672 +```yaml +spring: + rabbitmq: + addresses: host1:5672 ``` ###### After -```properties -spring.rabbitmq.addresses=host1:5671 -spring.rabbitmq.ssl.enabled=true +```yaml +spring: + rabbitmq: + addresses: host1:5671 + ssl: + enabled: true ``` ```diff -@@ -1,1 +1,2 @@ --spring.rabbitmq.addresses=host1:5672 -+spring.rabbitmq.addresses=host1:5671 -+spring.rabbitmq.ssl.enabled=true +@@ -3,1 +3,3 @@ +spring: + rabbitmq: +- addresses: host1:5672 ++ addresses: host1:5671 ++ ssl: ++ enabled: true ``` @@ -132,7 +132,7 @@ Now that `com.yourorg.UseTlsAmqpConnectionStringExample` has been defined, activ ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/convertreceivetypewhencallstepexecutionmethod.md b/docs/recipes/java/spring/batch/convertreceivetypewhencallstepexecutionmethod.md index ea2e5b049d..c617348c69 100644 --- a/docs/recipes/java/spring/batch/convertreceivetypewhencallstepexecutionmethod.md +++ b/docs/recipes/java/spring/batch/convertreceivetypewhencallstepexecutionmethod.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/jobparametertostring.md b/docs/recipes/java/spring/batch/jobparametertostring.md index 5af42b1199..bc4dfd6d3e 100644 --- a/docs/recipes/java/spring/batch/jobparametertostring.md +++ b/docs/recipes/java/spring/batch/jobparametertostring.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/listenersupportclasstointerface.md b/docs/recipes/java/spring/batch/listenersupportclasstointerface.md index 7cfbc50d0b..0c0ead5d84 100644 --- a/docs/recipes/java/spring/batch/listenersupportclasstointerface.md +++ b/docs/recipes/java/spring/batch/listenersupportclasstointerface.md @@ -175,7 +175,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/migrateitemwriterwrite.md b/docs/recipes/java/spring/batch/migrateitemwriterwrite.md index 15d17932a9..72b1968706 100644 --- a/docs/recipes/java/spring/batch/migrateitemwriterwrite.md +++ b/docs/recipes/java/spring/batch/migrateitemwriterwrite.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/migratejobbuilderfactory.md b/docs/recipes/java/spring/batch/migratejobbuilderfactory.md index e1e0e90c37..7a48db4f1d 100644 --- a/docs/recipes/java/spring/batch/migratejobbuilderfactory.md +++ b/docs/recipes/java/spring/batch/migratejobbuilderfactory.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/migratejobparameter.md b/docs/recipes/java/spring/batch/migratejobparameter.md index 9e1454251a..5bab07e9fe 100644 --- a/docs/recipes/java/spring/batch/migratejobparameter.md +++ b/docs/recipes/java/spring/batch/migratejobparameter.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/migratemethodannotatedbybatchapi.md b/docs/recipes/java/spring/batch/migratemethodannotatedbybatchapi.md index 4b1e3123c2..1f04a60d63 100644 --- a/docs/recipes/java/spring/batch/migratemethodannotatedbybatchapi.md +++ b/docs/recipes/java/spring/batch/migratemethodannotatedbybatchapi.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/migratestepbuilderfactory.md b/docs/recipes/java/spring/batch/migratestepbuilderfactory.md index 9cefd24917..5645abfd01 100644 --- a/docs/recipes/java/spring/batch/migratestepbuilderfactory.md +++ b/docs/recipes/java/spring/batch/migratestepbuilderfactory.md @@ -112,7 +112,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md b/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md index 2b24e93d52..6dfa0563eb 100644 --- a/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md +++ b/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md b/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md index 6025609795..60201b71e1 100644 --- a/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md +++ b/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md @@ -50,7 +50,7 @@ Now that `com.yourorg.ReplaceSupportClassWithItsInterfaceExample` has been defin ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/springbatch4to5migration.md b/docs/recipes/java/spring/batch/springbatch4to5migration.md index 9cdb36489a..afa6e9eefa 100644 --- a/docs/recipes/java/spring/batch/springbatch4to5migration.md +++ b/docs/recipes/java/spring/batch/springbatch4to5migration.md @@ -112,7 +112,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md b/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md index 878f257916..2cc339ef5d 100644 --- a/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md +++ b/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md @@ -157,7 +157,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md b/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md index c175c87245..af5688cbb3 100644 --- a/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md +++ b/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md b/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md index 2bf0266a71..e31c7f40fb 100644 --- a/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md +++ b/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md b/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md index dfc6f3bab9..2da04cec88 100644 --- a/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md +++ b/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md @@ -151,7 +151,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md b/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md index 4aab4fbb64..6691df967c 100644 --- a/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md +++ b/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/geterrorattributes.md b/docs/recipes/java/spring/boot2/geterrorattributes.md index 6db10622b7..54e80aab25 100644 --- a/docs/recipes/java/spring/boot2/geterrorattributes.md +++ b/docs/recipes/java/spring/boot2/geterrorattributes.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md b/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md index 854b2e3fb9..e216ca4783 100644 --- a/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md +++ b/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md b/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md index 34ec69daee..593eb3199a 100644 --- a/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md +++ b/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md b/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md index 0d31b8769b..8969541617 100644 --- a/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md +++ b/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/maybeaddspringbootstarteractuator.md b/docs/recipes/java/spring/boot2/maybeaddspringbootstarteractuator.md index df10b66a2a..ce694f510b 100644 --- a/docs/recipes/java/spring/boot2/maybeaddspringbootstarteractuator.md +++ b/docs/recipes/java/spring/boot2/maybeaddspringbootstarteractuator.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md b/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md index e6f6794577..23ff2e77b1 100644 --- a/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md +++ b/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md b/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md index c27b0094eb..387467d70f 100644 --- a/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md +++ b/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md b/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md index a248ec6dae..cde7355a38 100644 --- a/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md +++ b/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md b/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md index 02dc81305a..c62e333dec 100644 --- a/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md +++ b/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratedatabasecredentials.md b/docs/recipes/java/spring/boot2/migratedatabasecredentials.md index 4be35681e4..bebb6aac3e 100644 --- a/docs/recipes/java/spring/boot2/migratedatabasecredentials.md +++ b/docs/recipes/java/spring/boot2/migratedatabasecredentials.md @@ -103,7 +103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md b/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md index 9cce09fd07..7bedaf866b 100644 --- a/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md +++ b/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md b/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md index 73d5818ee5..abf95362ed 100644 --- a/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md +++ b/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md b/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md index 81e5033a40..482ca0c744 100644 --- a/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md +++ b/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md b/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md index 4387defd2f..2e3ee5144c 100644 --- a/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md +++ b/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md b/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md index d194f1f7eb..53fba29c95 100644 --- a/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md +++ b/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md b/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md index 5fea72d6d1..6b75f0735e 100644 --- a/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md +++ b/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md b/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md index f0fd0bf9e4..21a7ed1c2f 100644 --- a/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md +++ b/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md b/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md index fa9c0c1472..685124173f 100644 --- a/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md +++ b/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md b/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md index 2fe6a0841e..ec779256c9 100644 --- a/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md +++ b/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md b/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md index 6524160367..442d3296c5 100644 --- a/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md +++ b/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md b/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md index 9d91beb80e..93edc76263 100644 --- a/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md +++ b/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md b/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md index 40e43ed178..7150c2eb97 100644 --- a/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md +++ b/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md b/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md index fd0a396f7f..0ad3f89d4f 100644 --- a/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md +++ b/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md b/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md index 610c9e7b22..de5839e8c7 100644 --- a/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md +++ b/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md @@ -207,7 +207,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md index ac2e0b60a8..6e6f97859f 100644 --- a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md +++ b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md index e5841dc6fb..9d95ba0d3d 100644 --- a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md +++ b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md b/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md index ac2400f34b..38718f6950 100644 --- a/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md +++ b/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md b/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md index dd4ed4f881..4a47333477 100644 --- a/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md +++ b/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/outputcaptureextension.md b/docs/recipes/java/spring/boot2/outputcaptureextension.md index 5feede1f9f..ed2d8f60be 100644 --- a/docs/recipes/java/spring/boot2/outputcaptureextension.md +++ b/docs/recipes/java/spring/boot2/outputcaptureextension.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md b/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md index 4f15b08e11..176f58c593 100644 --- a/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md +++ b/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md @@ -56,7 +56,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md b/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md index 9a6b58ab1c..6cdb95bab1 100644 --- a/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md +++ b/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md b/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md index 7cdf2c2f83..5eb26189fe 100644 --- a/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md +++ b/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md b/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md index 9e1a880c2a..0634ee2264 100644 --- a/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md +++ b/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md b/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md index 6effb5a9f0..7d19ba3666 100644 --- a/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md +++ b/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md b/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md index 51565f29cf..1c379e4327 100644 --- a/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md +++ b/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md b/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md index c6c6f9e0a0..268c2cad11 100644 --- a/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md +++ b/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md b/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md index 0b0ef29eee..27e4e3cf6e 100644 --- a/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md +++ b/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md b/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md index 2edb25d6a7..49f9002eba 100644 --- a/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md +++ b/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md b/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md index edb7aa944b..b4963b7f7c 100644 --- a/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md +++ b/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md b/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md index 5c6d46a123..4b1de13c1e 100644 --- a/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md +++ b/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/springboot2bestpractices.md b/docs/recipes/java/spring/boot2/springboot2bestpractices.md index b89e047d02..e97abbdab8 100644 --- a/docs/recipes/java/spring/boot2/springboot2bestpractices.md +++ b/docs/recipes/java/spring/boot2/springboot2bestpractices.md @@ -34,7 +34,6 @@ This recipe is available under the [Moderne Source Available License](https://do * [Remove `@RequestMapping` annotations](../../../java/spring/norequestmappingannotation) -* [Remove implicit web annotation names](../../../java/spring/implicitwebannotationnames) * [Remove `@SpringExtension`](../../../java/spring/boot2/unnecessaryspringextension) * [Remove the `@Autowired` annotation on inferred constructor](../../../java/spring/noautowiredonconstructor) * [Migrate `RestTemplateBuilder`](../../../java/spring/boot2/resttemplatebuilderrequestfactory) @@ -56,7 +55,6 @@ tags: - boot recipeList: - org.openrewrite.java.spring.NoRequestMappingAnnotation - - org.openrewrite.java.spring.ImplicitWebAnnotationNames - org.openrewrite.java.spring.boot2.UnnecessarySpringExtension - org.openrewrite.java.spring.NoAutowiredOnConstructor - org.openrewrite.java.spring.boot2.RestTemplateBuilderRequestFactory @@ -76,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -258,4 +256,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Kevin McCarpenter](mailto:kevin@moderne.io), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Tyler Van Gorder, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Kun Li, Aaron Gershman, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Kevin McCarpenter](mailto:kevin@moderne.io), Patrick Way, [Jonathan Schneider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Patrick](mailto:patway99@gmail.com), Kun Li, Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md b/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md index 5821628064..6856574762 100644 --- a/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md +++ b/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md b/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md index 9bbb937ea5..91865d9f5d 100644 --- a/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md +++ b/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_0.md b/docs/recipes/java/spring/boot2/springbootproperties_2_0.md index 7369638342..81b7b03beb 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_0.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_0.md @@ -33,514 +33,514 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `banner.charset` * newPropertyKey: `spring.banner.charset` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `banner.image.height` * newPropertyKey: `spring.banner.image.height` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `banner.image.invert` * newPropertyKey: `spring.banner.image.invert` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `banner.image.location` * newPropertyKey: `spring.banner.image.location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `banner.image.margin` * newPropertyKey: `spring.banner.image.margin` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `banner.image.width` * newPropertyKey: `spring.banner.image.width` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `banner.location` * newPropertyKey: `spring.banner.location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.baseline-description` * newPropertyKey: `spring.flyway.baseline-description` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.baseline-on-migrate` * newPropertyKey: `spring.flyway.baseline-on-migrate` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.baseline-version` * newPropertyKey: `spring.flyway.baseline-version` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.check-location` * newPropertyKey: `spring.flyway.check-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.clean-on-validation-error` * newPropertyKey: `spring.flyway.clean-on-validation-error` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.enabled` * newPropertyKey: `spring.flyway.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.encoding` * newPropertyKey: `spring.flyway.encoding` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.init-sqls` * newPropertyKey: `spring.flyway.init-sqls` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.locations` * newPropertyKey: `spring.flyway.locations` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.out-of-order` * newPropertyKey: `spring.flyway.out-of-order` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.password` * newPropertyKey: `spring.flyway.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.placeholder-prefix` * newPropertyKey: `spring.flyway.placeholder-prefix` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.placeholder-replacement` * newPropertyKey: `spring.flyway.placeholder-replacement` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.placeholder-suffix` * newPropertyKey: `spring.flyway.placeholder-suffix` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.placeholders` * newPropertyKey: `spring.flyway.placeholders` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.schemas` * newPropertyKey: `spring.flyway.schemas` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.sql-migration-prefix` * newPropertyKey: `spring.flyway.sql-migration-prefix` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.sql-migration-separator` * newPropertyKey: `spring.flyway.sql-migration-separator` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.sql-migration-suffix` * newPropertyKey: `spring.flyway.sql-migration-suffixes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.table` * newPropertyKey: `spring.flyway.table` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.target` * newPropertyKey: `spring.flyway.target` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.url` * newPropertyKey: `spring.flyway.url` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.user` * newPropertyKey: `spring.flyway.user` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `flyway.validate-on-migrate` * newPropertyKey: `spring.flyway.validate-on-migrate` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `jolokia.config` * newPropertyKey: `management.endpoint.jolokia.config` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.change-log` * newPropertyKey: `spring.liquibase.change-log` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.check-change-log-location` * newPropertyKey: `spring.liquibase.check-change-log-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.contexts` * newPropertyKey: `spring.liquibase.contexts` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.default-schema` * newPropertyKey: `spring.liquibase.default-schema` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.drop-first` * newPropertyKey: `spring.liquibase.drop-first` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.enabled` * newPropertyKey: `spring.liquibase.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.labels` * newPropertyKey: `spring.liquibase.labels` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.parameters` * newPropertyKey: `spring.liquibase.parameters` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.password` * newPropertyKey: `spring.liquibase.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.rollback-file` * newPropertyKey: `spring.liquibase.rollback-file` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.url` * newPropertyKey: `spring.liquibase.url` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `liquibase.user` * newPropertyKey: `spring.liquibase.user` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `security.user.name` * newPropertyKey: `spring.security.user.name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `security.user.password` * newPropertyKey: `spring.security.user.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `security.user.role` * newPropertyKey: `spring.security.user.roles` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.context-parameters` * newPropertyKey: `server.servlet.context-parameters` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.context-path` * newPropertyKey: `server.servlet.context-path` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.display-name` * newPropertyKey: `server.servlet.application-display-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jsp-servlet.class-name` * newPropertyKey: `server.servlet.jsp.class-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jsp-servlet.init-parameters` * newPropertyKey: `server.servlet.jsp.init-parameters` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jsp-servlet.registered` * newPropertyKey: `server.servlet.jsp.registered` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.servlet-path` * newPropertyKey: `server.servlet.path` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.cookie.comment` * newPropertyKey: `server.servlet.session.cookie.comment` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.cookie.domain` * newPropertyKey: `server.servlet.session.cookie.domain` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.cookie.http-only` * newPropertyKey: `server.servlet.session.cookie.http-only` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.cookie.max-age` * newPropertyKey: `server.servlet.session.cookie.max-age` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.cookie.name` * newPropertyKey: `server.servlet.session.cookie.name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.cookie.path` * newPropertyKey: `server.servlet.session.cookie.path` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.cookie.secure` * newPropertyKey: `server.servlet.session.cookie.secure` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.persistent` * newPropertyKey: `server.servlet.session.persistent` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.store-dir` * newPropertyKey: `server.servlet.session.store-dir` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.timeout` * newPropertyKey: `server.servlet.session.timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.session.tracking-modes` * newPropertyKey: `server.servlet.session.tracking-modes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.batch.initializer.enabled` * newPropertyKey: `spring.batch.initialize-schema` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.endpoints.query` * newPropertyKey: `spring.couchbase.env.endpoints.queryservice.max-endpoints` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.endpoints.view` * newPropertyKey: `spring.couchbase.env.endpoints.viewservice.max-endpoints` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.connect-timeout-millis` * newPropertyKey: `spring.data.cassandra.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.read-timeout-millis` * newPropertyKey: `spring.data.cassandra.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.repositories.enabled` * newPropertyKey: `spring.data.cassandra.repositories.type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.couchbase.repositories.enabled` * newPropertyKey: `spring.data.couchbase.repositories.type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.mongodb.repositories.enabled` * newPropertyKey: `spring.data.mongodb.repositories.type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.initialize` * newPropertyKey: `spring.datasource.initialization-mode` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.sql-migration-suffix` * newPropertyKey: `spring.flyway.sql-migration-suffixes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.git.properties` * newPropertyKey: `spring.info.git.location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.multipart.enabled` * newPropertyKey: `spring.servlet.multipart.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.multipart.file-size-threshold` * newPropertyKey: `spring.servlet.multipart.file-size-threshold` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.multipart.location` * newPropertyKey: `spring.servlet.multipart.location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.multipart.max-file-size` * newPropertyKey: `spring.servlet.multipart.max-file-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.multipart.max-request-size` * newPropertyKey: `spring.servlet.multipart.max-request-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.multipart.resolve-lazily` * newPropertyKey: `spring.servlet.multipart.resolve-lazily` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.jta.bitronix.properties.background-recovery-interval` * newPropertyKey: `spring.jta.bitronix.properties.background-recovery-interval-seconds` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.main.show-banner` * newPropertyKey: `spring.main.banner-mode` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.main.web-environment` * newPropertyKey: `spring.main.web-application-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.messages.cache-seconds` * newPropertyKey: `spring.messages.cache-duration` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.metrics.export.statsd.host` * newPropertyKey: `management.metrics.export.statsd.host` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.metrics.export.statsd.port` * newPropertyKey: `management.metrics.export.statsd.port` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mvc.media-types` * newPropertyKey: `spring.mvc.contentnegotiation.media-types` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.pool.max-active` * newPropertyKey: `spring.redis.jedis.pool.max-idle` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.pool.max-idle` * newPropertyKey: `spring.redis.jedis.pool.max-idle` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.pool.max-wait` * newPropertyKey: `spring.redis.jedis.pool.max-wait` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.pool.min-idle` * newPropertyKey: `spring.redis.jedis.pool.min-idle` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache-period` * newPropertyKey: `spring.resources.cache.period` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.session.jdbc.initializer.enabled` * newPropertyKey: `spring.session.jdbc.initialize-schema` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.session.mongo.collection-name` * newPropertyKey: `spring.session.mongodb.collection-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.thymeleaf.content-type` * newPropertyKey: `spring.thymeleaf.servlet.content-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.auditevents.enabled` * newPropertyKey: `management.endpoint.auditevents.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.auditevents.path` * newPropertyKey: `management.endpoints.web.path-mapping.auditevents` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.autoconfig.enabled` * newPropertyKey: `management.endpoint.conditions.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.autoconfig.path` * newPropertyKey: `management.endpoints.web.path-mapping.conditions` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.beans.enabled` * newPropertyKey: `management.endpoint.beans.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.beans.path` * newPropertyKey: `management.endpoints.web.path-mapping.beans` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.configprops.enabled` * newPropertyKey: `management.endpoint.configprops.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.configprops.keys-to-sanitize` * newPropertyKey: `management.endpoint.configprops.keys-to-sanitize` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.configprops.path` * newPropertyKey: `management.endpoints.web.path-mapping.configprops` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.cors.allow-credentials` * newPropertyKey: `management.endpoints.web.cors.allow-credentials` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.cors.allowed-headers` * newPropertyKey: `management.endpoints.web.cors.allowed-headers` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.cors.allowed-methods` * newPropertyKey: `management.endpoints.web.cors.allowed-methods` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.cors.allowed-origins` * newPropertyKey: `management.endpoints.web.cors.allowed-origins` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.cors.exposed-headers` * newPropertyKey: `management.endpoints.web.cors.exposed-headers` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.cors.max-age` * newPropertyKey: `management.endpoints.web.cors.max-age` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.dump.enabled` * newPropertyKey: `management.endpoint.threaddump.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.dump.path` * newPropertyKey: `management.endpoints.web.path-mapping.dump` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.enabled` * newPropertyKey: `management.endpoints.enabled-by-default` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.env.enabled` * newPropertyKey: `management.endpoint.env.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.env.keys-to-sanitize` * newPropertyKey: `management.endpoint.env.keys-to-sanitize` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.env.path` * newPropertyKey: `management.endpoints.web.path-mapping.env` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.flyway.enabled` * newPropertyKey: `management.endpoint.flyway.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.health.enabled` * newPropertyKey: `management.endpoint.health.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.health.mapping` * newPropertyKey: `management.health.status.http-mapping` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.health.path` * newPropertyKey: `management.endpoints.web.path-mapping.health` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.health.time-to-live` * newPropertyKey: `management.endpoint.health.cache.time-to-live` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.heapdump.enabled` * newPropertyKey: `management.endpoint.heapdump.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.heapdump.path` * newPropertyKey: `management.endpoints.web.path-mapping.heapdump` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.info.enabled` * newPropertyKey: `management.endpoint.info.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.info.path` * newPropertyKey: `management.endpoints.web.path-mapping.info` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.jmx.domain` * newPropertyKey: `management.endpoints.jmx.domain` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.jmx.enabled` * newPropertyKey: `management.endpoints.jmx.exposure.exclude` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.jmx.static-names` * newPropertyKey: `management.endpoints.jmx.static-names` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.jmx.unique-names` * newPropertyKey: `management.endpoints.jmx.unique-names` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.jolokia.enabled` * newPropertyKey: `management.endpoint.jolokia.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.jolokia.path` * newPropertyKey: `management.endpoints.web.path-mapping.jolokia` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.liquibase.enabled` * newPropertyKey: `management.endpoint.liquibase.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.logfile.enabled` * newPropertyKey: `management.endpoint.logfile.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.logfile.external-file` * newPropertyKey: `management.endpoint.logfile.external-file` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.logfile.path` * newPropertyKey: `management.endpoints.web.path-mapping.logfile` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.loggers.enabled` * newPropertyKey: `management.endpoint.loggers.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.loggers.path` * newPropertyKey: `management.endpoints.web.path-mapping.loggers` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.mappings.enabled` * newPropertyKey: `management.endpoint.mappings.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.mappings.path` * newPropertyKey: `management.endpoints.web.path-mapping.mappings` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.metrics.enabled` * newPropertyKey: `management.endpoint.metrics.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.metrics.path` * newPropertyKey: `management.endpoints.web.path-mapping.metrics` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.shutdown.enabled` * newPropertyKey: `management.endpoint.shutdown.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.shutdown.path` * newPropertyKey: `management.endpoints.web.path-mapping.shutdown` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.trace.enabled` * newPropertyKey: `management.endpoint.httptrace.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.trace.filter.enabled` * newPropertyKey: `management.trace.http.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `endpoints.trace.path` * newPropertyKey: `management.endpoints.web.path-mapping.httptrace` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.add-application-context-header` * newPropertyKey: `management.server.add-application-context-header` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.address` * newPropertyKey: `management.server.address` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.context-path` * newPropertyKey: `management.server.servlet.context-path` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.port` * newPropertyKey: `management.server.port` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.ciphers` * newPropertyKey: `management.server.ssl.ciphers` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.client-auth` * newPropertyKey: `management.server.ssl.client-auth` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.enabled` * newPropertyKey: `management.server.ssl.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.enabled-protocols` * newPropertyKey: `management.server.ssl.enabled-protocols` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.key-alias` * newPropertyKey: `management.server.ssl.key-alias` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.key-password` * newPropertyKey: `management.server.ssl.key-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.key-store` * newPropertyKey: `management.server.ssl.key-store` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.key-store-password` * newPropertyKey: `management.server.ssl.key-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.key-store-provider` * newPropertyKey: `management.server.ssl.key-store-provider` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.key-store-type` * newPropertyKey: `management.server.ssl.key-store-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.protocol` * newPropertyKey: `management.server.ssl.protocol` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.trust-store` * newPropertyKey: `management.server.ssl.trust-store` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.trust-store-password` * newPropertyKey: `management.server.ssl.trust-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.trust-store-provider` * newPropertyKey: `management.server.ssl.trust-store-provider` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.ssl.trust-store-type` * newPropertyKey: `management.server.ssl.trust-store-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.trace.include` * newPropertyKey: `management.trace.http.include` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `security.filter-dispatcher-types` * newPropertyKey: `spring.security.filter.dispatcher-types` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `security.filter-order` * newPropertyKey: `spring.security.filter.order` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -1750,7 +1750,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -1932,4 +1932,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_1.md b/docs/recipes/java/spring/boot2/springbootproperties_2_1.md index 98ef818141..7ab4631e38 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_1.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_1.md @@ -33,97 +33,97 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.endpoints.jmx.unique-names` * newPropertyKey: `spring.jmx.unique-names` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.binders.files.enabled` * newPropertyKey: `management.metrics.enable.process.files` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.binders.jvm.enabled` * newPropertyKey: `management.metrics.enable.jvm` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.binders.logback.enabled` * newPropertyKey: `management.metrics.enable.logback` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.max-http-post-size` * newPropertyKey: `server.jetty.max-http-form-post-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.servlet-path` * newPropertyKey: `spring.mvc.servlet.path` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.servlet.path` * newPropertyKey: `spring.mvc.servlet.path` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.max-http-header-size` * newPropertyKey: `server.max-http-header-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.max-http-post-size` * newPropertyKey: `server.tomcat.max-http-form-post-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.activemq.pool.maximum-active-session-per-connection` * newPropertyKey: `spring.activemq.pool.max-sessions-per-connection` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.artemis.pool.maximum-active-session-per-connection` * newPropertyKey: `spring.artemis.pool.max-sessions-per-connection` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.admin.ssl.keystore-location` * newPropertyKey: `spring.kafka.admin.ssl.key-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.admin.ssl.keystore-password` * newPropertyKey: `spring.kafka.admin.ssl.key-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.admin.ssl.truststore-location` * newPropertyKey: `spring.kafka.admin.ssl.trust-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.admin.ssl.truststore-password` * newPropertyKey: `spring.kafka.admin.ssl.trust-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.consumer.ssl.keystore-location` * newPropertyKey: `spring.kafka.consumer.ssl.key-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.consumer.ssl.keystore-password` * newPropertyKey: `spring.kafka.consumer.ssl.key-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.consumer.ssl.truststore-location` * newPropertyKey: `spring.kafka.consumer.ssl.trust-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.consumer.ssl.truststore-password` * newPropertyKey: `spring.kafka.consumer.ssl.trust-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.producer.ssl.keystore-location` * newPropertyKey: `spring.kafka.producer.ssl.key-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.producer.ssl.keystore-password` * newPropertyKey: `spring.kafka.producer.ssl.key-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.producer.ssl.truststore-location` * newPropertyKey: `spring.kafka.producer.ssl.trust-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.producer.ssl.truststore-password` * newPropertyKey: `spring.kafka.producer.ssl.trust-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.ssl.keystore-location` * newPropertyKey: `spring.kafka.ssl.key-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.ssl.keystore-password` * newPropertyKey: `spring.kafka.ssl.key-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.ssl.truststore-location` * newPropertyKey: `spring.kafka.ssl.trust-store-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.ssl.truststore-password` * newPropertyKey: `spring.kafka.ssl.trust-store-password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.streams.cache-max-bytes-buffering` * newPropertyKey: `spring.kafka.streams.cache-max-size-buffering` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mvc.formcontent.putfilter.enabled` * newPropertyKey: `spring.mvc.formcontent.filter.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.rabbitmq.template.queue` * newPropertyKey: `spring.rabbitmq.template.default-receive-queue` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.gzipped` * newPropertyKey: `spring.resources.chain.compressed` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -406,7 +406,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -588,4 +588,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), ashakirin, Tyler Van Gorder, [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) diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_2.md b/docs/recipes/java/spring/boot2/springbootproperties_2_2.md index afd95e9056..b7673022ad 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_2.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_2.md @@ -33,65 +33,65 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.health.status.http-mapping` * newPropertyKey: `management.endpoint.health.status.http-mapping` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.health.status.order` * newPropertyKey: `management.endpoint.health.status.order` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.web.client.requests-metric-name` * newPropertyKey: `management.metrics.web.client.request.metric-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.web.server.auto-time-requests` * newPropertyKey: `management.metrics.web.server.request.autotime.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.web.server.requests-metric-name` * newPropertyKey: `management.metrics.web.server.request.metric-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.accesslog.date-format` * newPropertyKey: `server.jetty.accesslog.custom-format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.accesslog.extended-format` * newPropertyKey: `server.jetty.accesslog.format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.accesslog.locale` * newPropertyKey: `server.jetty.accesslog.custom-format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.accesslog.log-cookies` * newPropertyKey: `server.jetty.accesslog.custom-format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.accesslog.log-latency` * newPropertyKey: `server.jetty.accesslog.custom-format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.accesslog.log-server` * newPropertyKey: `server.jetty.accesslog.custom-format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.accesslog.time-zone` * newPropertyKey: `server.jetty.accesslog.custom-format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.use-forward-headers` * newPropertyKey: `server.forward-headers-strategy` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.jmx-enabled` * newPropertyKey: `spring.datasource.tomcat.jmx-enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.jackson.joda-date-time-format` * newPropertyKey: `dateFormat` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.rabbitmq.listener.simple.transaction-size` * newPropertyKey: `spring.rabbitmq.listener.simple.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.rabbitmq.publisher-confirms` * newPropertyKey: `spring.rabbitmq.publisher-confirm-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.reactor.stacktrace-mode.enabled` * newPropertyKey: `spring.reactor.debug-agent.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `logging.file` * newPropertyKey: `logging.file.name` * except: `[.+]` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `logging.path` * newPropertyKey: `logging.file.path` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -318,7 +318,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -500,4 +500,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -ashakirin, Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [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), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), ashakirin, Tyler Van Gorder, [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) diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_3.md b/docs/recipes/java/spring/boot2/springbootproperties_2_3.md index 94847eeca7..a2bbd5bc8a 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_3.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_3.md @@ -33,124 +33,124 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.health.probes.enabled` * newPropertyKey: `management.endpoint.health.probes.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.distribution.sla` * newPropertyKey: `management.metrics.distribution.slo` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.acceptors` * newPropertyKey: `server.jetty.threads.acceptors` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.max-queue-capacity` * newPropertyKey: `server.jetty.threads.max-queue-capacity` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.max-threads` * newPropertyKey: `server.jetty.threads.max` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.min-threads` * newPropertyKey: `server.jetty.threads.min` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.selectors` * newPropertyKey: `server.jetty.threads.selectors` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.jetty.thread-idle-timeout` * newPropertyKey: `server.jetty.threads.idle-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.host-header` * newPropertyKey: `server.tomcat.remoteip.host-header` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.internal-proxies` * newPropertyKey: `server.tomcat.remoteip.internal-proxies` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.max-threads` * newPropertyKey: `server.tomcat.threads.max` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.min-spare-threads` * newPropertyKey: `server.tomcat.threads.min-spare` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.port-header` * newPropertyKey: `server.tomcat.remote.port-header` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.protocol-header` * newPropertyKey: `server.tomcat.remoteip.protocol-header` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.protocol-header-https-value` * newPropertyKey: `server.tomcat.remoteip.protocol-header-https-value` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.tomcat.remote-ip-header` * newPropertyKey: `server.tomcat.remoteip.remote-ip-header` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.undertow.io-threads` * newPropertyKey: `server.undertow.threads.io` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.undertow.worker-threads` * newPropertyKey: `server.undertow.threads.worker` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.bootstrap-hosts` * newPropertyKey: `spring.couchbase.connection-string` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.endpoints.queryservice.max-endpoints` * newPropertyKey: `spring.couchbase.env.io.max-endpoints` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.endpoints.queryservice.min-endpoints` * newPropertyKey: `spring.couchbase.env.io.min-endpoints` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.endpoints.viewservice.max-endpoints` * newPropertyKey: `spring.couchbase.env.io.max-endpoints` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.endpoints.viewservice.min-endpoints` * newPropertyKey: `spring.couchbase.env.io.min-endpoints` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.cluster-name` * newPropertyKey: `spring.data.cassandra.session-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.connect-timeout` * newPropertyKey: `spring.data.cassandra.connection.init-query-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.consistency-level` * newPropertyKey: `spring.data.cassandra.request.consistency` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.fetch-size` * newPropertyKey: `spring.data.cassandra.request.page-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.pool.max-queue-size` * newPropertyKey: `spring.data.cassandra.request.throttler.max-queue-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.read-timeout` * newPropertyKey: `spring.data.cassandra.request.timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.serial-consistency-level` * newPropertyKey: `spring.data.cassandra.request.serial-consistency` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.converters.preferred-json-mapper` * newPropertyKey: `spring.mvc.converters.preferred-json-mapper` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.encoding.charset` * newPropertyKey: `server.servlet.encoding.charset` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.encoding.enabled` * newPropertyKey: `server.servlet.encoding.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.encoding.force` * newPropertyKey: `server.servlet.encoding.force` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.encoding.force-request` * newPropertyKey: `server.servlet.encoding.force-request` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.encoding.force-response` * newPropertyKey: `server.servlet.encoding.force-response` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.encoding.mapping` * newPropertyKey: `server.servlet.encoding.mapping` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.http.log-request-details` * newPropertyKey: `spring.mvc.log-request-details` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mvc.date-format` * newPropertyKey: `spring.mvc.format.date` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.webflux.date-format` * newPropertyKey: `spring.webflux.format.date` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -586,7 +586,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -768,4 +768,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -ashakirin, Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [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), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), ashakirin, Tyler Van Gorder, [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) diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_4.md b/docs/recipes/java/spring/boot2/springbootproperties_2_4.md index 6ecebb3529..932455ba6a 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_4.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_4.md @@ -33,116 +33,116 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `logging.file.clean-history-on-start` * newPropertyKey: `logging.logback.rollingpolicy.clean-history-on-start` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `logging.file.max-history` * newPropertyKey: `logging.logback.rollingpolicy.max-history` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `logging.file.max-size` * newPropertyKey: `logging.logback.rollingpolicy.max-file-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `logging.file.total-size-cap` * newPropertyKey: `logging.logback.rollingpolicy.total-size-cap` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `logging.pattern.rolling-file-name` * newPropertyKey: `logging.logback.rollingpolicy.file-name-pattern` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.server.servlet.context-path` * newPropertyKey: `management.server.base-path` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.mongodb.grid-fs-database` * newPropertyKey: `spring.data.mongodb.gridfs.database` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.neo4j.password` * newPropertyKey: `spring.neo4j.authentication.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.neo4j.repositories.enabled` * newPropertyKey: `spring.data.neo4j.repositories.type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.neo4j.uri` * newPropertyKey: `spring.neo4j.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.neo4j.username` * newPropertyKey: `spring.neo4j.authentication.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mvc.locale` * newPropertyKey: `spring.web.locale` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mvc.locale-resolver` * newPropertyKey: `spring.web.locale-resolver` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.profiles` * newPropertyKey: `spring.config.activate.on-profile` * except: `[active, default, group, include]` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.add-mappings` * newPropertyKey: `spring.web.resources.add-mappings` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.cache-private` * newPropertyKey: `spring.web.resources.cache.cachecontrol.cache-private` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.cache-public` * newPropertyKey: `spring.web.resources.cache.cachecontrol.cache-public` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.max-age` * newPropertyKey: `spring.web.resources.cache.cachecontrol.max-age` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.must-revalidate` * newPropertyKey: `spring.web.resources.cache.cachecontrol.must-revalidate` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.no-cache` * newPropertyKey: `spring.web.resources.cache.cachecontrol.no-cache` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.no-store` * newPropertyKey: `spring.web.resources.cache.cachecontrol.no-store` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.no-transform` * newPropertyKey: `spring.web.resources.cache.cachecontrol.no-transform` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.proxy-revalidate` * newPropertyKey: `spring.web.resources.cache.cachecontrol.proxy-revalidate` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.s-max-age` * newPropertyKey: `spring.web.resources.cache.cachecontrol.s-max-age` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.stale-if-error` * newPropertyKey: `spring.web.resources.cache.cachecontrol.stale-if-error` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.cachecontrol.stale-while-revalidate` * newPropertyKey: `spring.web.resources.cache.cachecontrol.stale-while-revalidate` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.period` * newPropertyKey: `spring.web.resources.cache.period` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.cache.use-last-modified` * newPropertyKey: `spring.web.resources.cache.use-last-modified` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.cache` * newPropertyKey: `spring.web.resources.chain.cache` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.compressed` * newPropertyKey: `spring.web.resources.chain.compressed` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.enabled` * newPropertyKey: `spring.web.resources.chain.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.strategy.content.enabled` * newPropertyKey: `spring.web.resources.chain.strategy.content.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.strategy.content.paths` * newPropertyKey: `spring.web.resources.chain.strategy.content.paths` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.strategy.fixed.enabled` * newPropertyKey: `spring.web.resources.chain.strategy.fixed.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.strategy.fixed.paths` * newPropertyKey: `spring.web.resources.chain.strategy.fixed.paths` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.strategy.fixed.version` * newPropertyKey: `spring.web.resources.chain.strategy.fixed.version` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.static-locations` * newPropertyKey: `spring.web.resources.static-locations` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -311,6 +311,11 @@ recipeList: ##### Example 1 +###### Unchanged +```mavenProject +test +``` + @@ -383,16 +388,16 @@ spring.profiles.active=production -###### Unchanged -```mavenProject -test -``` - --- ##### Example 2 +###### Unchanged +```mavenProject +test +``` + @@ -465,11 +470,6 @@ spring.profiles.active=production -###### Unchanged -```mavenProject -test -``` - ## Usage @@ -481,7 +481,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -663,4 +663,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_5.md b/docs/recipes/java/spring/boot2/springbootproperties_2_5.md index 8cc333d62a..2b970821c8 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_5.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_5.md @@ -33,61 +33,61 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.artemis.host` * newPropertyKey: `spring.artemis.broker-url` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.artemis.port` * newPropertyKey: `spring.artemis.broker-url` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.batch.initialize-schema` * newPropertyKey: `spring.batch.jdbc.initialize-schema` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.batch.initializer.enabled` * newPropertyKey: `spring.batch.jdbc.initialize-schema` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.batch.schema` * newPropertyKey: `spring.batch.jdbc.schema` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.batch.table-prefix` * newPropertyKey: `spring.batch.jdbc.table-prefix` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.neo4j.username` * newPropertyKey: `spring.neo4j.authentication.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.continue-on-error` * newPropertyKey: `spring.sql.init.continue-on-error` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.data` * newPropertyKey: `spring.sql.init.data-locations` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.data-password` * newPropertyKey: `spring.sql.init.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.data-username` * newPropertyKey: `spring.sql.init.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.initialization-mode` * newPropertyKey: `spring.sql.init.mode` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.platform` * newPropertyKey: `spring.sql.init.platform` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.schema` * newPropertyKey: `spring.sql.init.schema-locations` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.schema-password` * newPropertyKey: `spring.sql.init.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.schema-username` * newPropertyKey: `spring.sql.init.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.separator` * newPropertyKey: `spring.sql.init.separator` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.datasource.sql-script-encoding` * newPropertyKey: `spring.sql.init.encoding` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sql.init.enabled` * newPropertyKey: `spring.sql.init.mode` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -472,7 +472,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -654,4 +654,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -ashakirin, Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Patrick](mailto:patway99@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com) +ashakirin, [Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Patrick](mailto:patway99@gmail.com) diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_6.md b/docs/recipes/java/spring/boot2/springbootproperties_2_6.md index fd6ef68eac..0b0f11136f 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_6.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_6.md @@ -33,73 +33,73 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.device-id` * newPropertyKey: `management.metrics.export.dynatrace.v1.device-id` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.group` * newPropertyKey: `management.metrics.export.dynatrace.v1.group` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.technology-type` * newPropertyKey: `management.metrics.export.dynatrace.v1.technology-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.elasticsearch.client.reactive.connection-timeout` * newPropertyKey: `spring.elasticsearch.connection-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.elasticsearch.client.reactive.endpoints` * newPropertyKey: `spring.elasticsearch.uris` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.elasticsearch.client.reactive.max-in-memory-size` * newPropertyKey: `spring.elasticsearch.webclient.max-in-memory-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.elasticsearch.client.reactive.password` * newPropertyKey: `spring.elasticsearch.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.elasticsearch.client.reactive.socket-timeout` * newPropertyKey: `spring.elasticsearch.socket-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.elasticsearch.client.reactive.username` * newPropertyKey: `spring.elasticsearch.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.elasticsearch.rest.connection-timeout` * newPropertyKey: `spring.elasticsearch.connection-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.elasticsearch.rest.password` * newPropertyKey: `spring.elasticsearch.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.elasticsearch.rest.read-timeout` * newPropertyKey: `spring.elasticsearch.socket-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.elasticsearch.rest.sniffer.delay-after-failure` * newPropertyKey: `spring.elasticsearch.restclient.sniffer.delay-after-failure` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.elasticsearch.rest.sniffer.interval` * newPropertyKey: `spring.elasticsearch.restclient.sniffer.interval` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.elasticsearch.rest.uris` * newPropertyKey: `spring.elasticsearch.uris` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.elasticsearch.rest.username` * newPropertyKey: `spring.elasticsearch.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.ignore-future-migrations` * newPropertyKey: `spring.flyway.ignore-migration-patterns` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.ignore-ignored-migrations` * newPropertyKey: `spring.flyway.ignore-migration-patterns` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.ignore-missing-migrations` * newPropertyKey: `spring.flyway.ignore-migration-patterns` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.ignore-pending-migrations` * newPropertyKey: `spring.flyway.ignore-migration-patterns` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.oracle-kerberos-config-file` * newPropertyKey: `spring.flyway.kerberos-config-file` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.resources.chain.gzipped` * newPropertyKey: `spring.web.resources.chain.compressed` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.webflux.session.cookie.same-site` * newPropertyKey: `server.reactive.session.cookie.same-site` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -232,7 +232,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -414,4 +414,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_7.md b/docs/recipes/java/spring/boot2/springbootproperties_2_7.md index 61ec262c0d..96dc8d55d1 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_7.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_7.md @@ -33,31 +33,31 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.check-location` * newPropertyKey: `spring.flyway.fail-on-missing-locations` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mustache.allow-request-override` * newPropertyKey: `spring.mustache.servlet.allow-request-override` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mustache.allow-session-override` * newPropertyKey: `spring.mustache.servlet.allow-session-override` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mustache.cache` * newPropertyKey: `spring.mustache.servlet.cache` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mustache.content-type` * newPropertyKey: `spring.mustache.servlet.content-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mustache.expose-request-attributes` * newPropertyKey: `spring.mustache.servlet.expose-request-attributes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mustache.expose-session-attributes` * newPropertyKey: `spring.mustache.servlet.expose-session-attributes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.mustache.expose-spring-macro-helpers` * newPropertyKey: `spring.mustache.servlet.expose-spring-macro-helpers` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.security.oauth2.resourceserver.jwt.jws-algorithm` * newPropertyKey: `spring.security.oauth2.resourceserver.jwt.jws-algorithms` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -136,7 +136,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -318,4 +318,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/boot2/unnecessaryspringextension.md b/docs/recipes/java/spring/boot2/unnecessaryspringextension.md index 952d832d69..9cb4b219f1 100644 --- a/docs/recipes/java/spring/boot2/unnecessaryspringextension.md +++ b/docs/recipes/java/spring/boot2/unnecessaryspringextension.md @@ -19,6 +19,55 @@ _`@SpringBootTest` and all test slice annotations already applies `@SpringExtens 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.extension.ExtendWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit.jupiter.SpringExtension; + +@SpringBootTest +@ExtendWith(SpringExtension.class) +class Test { +} +``` + +###### After +```java +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class Test { +} +``` + + + + +```diff +@@ -1,1 +1,0 @@ +-import org.junit.jupiter.api.extension.ExtendWith; +import org.springframework.boot.test.context.SpringBootTest; +@@ -3,1 +2,0 @@ +import org.junit.jupiter.api.extension.ExtendWith; +import org.springframework.boot.test.context.SpringBootTest; +-import org.springframework.test.context.junit.jupiter.SpringExtension; + +@@ -6,1 +4,0 @@ + +@SpringBootTest +-@ExtendWith(SpringExtension.class) +class Test { +``` + + + ## Usage @@ -30,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md b/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md index f56970e773..d98d566c73 100644 --- a/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md +++ b/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md index d06526fcfb..69e275cbc6 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md @@ -49,7 +49,6 @@ This recipe is available under the [Moderne Source Available License](https://do * [Update a Gradle plugin by id](../../../gradle/plugins/upgradepluginversion) * pluginIdPattern: `org.springframework.boot` * newVersion: `2.0.x` -* [Add `io.spring.dependency-management` plugin, if in use](../../../gradle/spring/addspringdependencymanagementplugin) * [Update Gradle wrapper](../../../gradle/updategradlewrapper) * version: `4.x` * addIfMissing: `false` @@ -119,7 +118,6 @@ recipeList: - org.openrewrite.gradle.plugins.UpgradePluginVersion: pluginIdPattern: org.springframework.boot newVersion: 2.0.x - - org.openrewrite.gradle.spring.AddSpringDependencyManagementPlugin - org.openrewrite.gradle.UpdateGradleWrapper: version: 4.x addIfMissing: false @@ -172,7 +170,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -373,4 +371,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), Patrick Way, [Kevin McCarpenter](mailto:kevin@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), SiBorea, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Tyler Van Gorder, Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com), Aaron Gershman, [Niels de Bruin](mailto:nielsdebruin@gmail.com), Josh Soref, [Kun Li](mailto:kun@moderne.io), 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), [Kevin McCarpenter](mailto:kevin@moderne.io), Patrick Way, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), SiBorea, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), Tyler Van Gorder, Kun Li, Aaron Gershman, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Josh Soref, rob-valor, [Kun Li](mailto:kun@moderne.io), eocantu diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md index 18466c4263..d213a0d488 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md @@ -120,7 +120,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -321,4 +321,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Kyle Scully](mailto:scullykns@gmail.com), Patrick Way, [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), SiBorea, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Kun Li, Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), Aaron Gershman, [Niels de Bruin](mailto:nielsdebruin@gmail.com), Josh Soref, [Kun Li](mailto:kun@moderne.io), 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), [Kevin McCarpenter](mailto:kevin@moderne.io), Patrick Way, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), SiBorea, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), Kun Li, Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), Aaron Gershman, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, rob-valor, [Kun Li](mailto:kun@moderne.io), eocantu diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md index a1faf9c9bf..e44ce18e2c 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md @@ -138,7 +138,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -339,4 +339,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), Patrick Way, [Kyle Scully](mailto:scullykns@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), SiBorea, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), Kun Li, Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Aaron Gershman, Josh Soref, [Kun Li](mailto:kun@moderne.io), 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), Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), SiBorea, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), Kun Li, Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, rob-valor, [Kun Li](mailto:kun@moderne.io), eocantu diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md index 5040528fbb..c6877267c4 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md @@ -136,7 +136,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -337,4 +337,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), Patrick Way, [Kevin McCarpenter](mailto:kevin@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), SiBorea, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), Kun Li, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Tyler Van Gorder, [Tim te Beek](mailto:timtebeek@gmail.com), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Kun Li](mailto:kun@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman, Josh Soref, 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), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), Patrick Way, [Kevin McCarpenter](mailto:kevin@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), SiBorea, [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Kun Li, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Laurens Westerlaken](mailto:laurens.w@live.nl), Tyler Van Gorder, [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Kun Li](mailto:kun@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Aaron Gershman, [Joan Viladrosa](mailto:joan@moderne.io), Josh Soref, rob-valor, eocantu diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md index 9d147c8f6f..39b403cf81 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md @@ -148,7 +148,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -349,4 +349,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), [Kyle Scully](mailto:scullykns@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, [Shannon Pamperl](mailto:shanman190@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [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, Josh Soref, 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, [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 diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md index de93991609..8e140fc7bf 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md @@ -389,7 +389,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -590,4 +590,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Aaron Gershman](mailto:aegershman@gmail.com), [Kyle Scully](mailto:scullykns@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, [Shannon Pamperl](mailto:shanman190@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [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, Josh Soref, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Mckinney, Nicholas](mailto:mckinneynicholas@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), [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 diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md index 4844108452..3c803518a3 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md @@ -122,7 +122,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -323,4 +323,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, SiBorea, [Kyle Scully](mailto:scullykns@gmail.com), [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, nbruno, [Shannon Pamperl](mailto:shanman190@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [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, Josh Soref, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Mckinney, Nicholas](mailto:mckinneynicholas@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), [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 diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md index 0fe7c07f1c..dff0d5e79d 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md @@ -154,7 +154,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -355,4 +355,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Jonathan Schneider](mailto:jkschneider@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, SiBorea, [Kyle Scully](mailto:scullykns@gmail.com), [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, nbruno, [Shannon Pamperl](mailto:shanman190@gmail.com), Sandeep Nagaraj, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [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), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), Aaron Gershman, Josh Soref, [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Mckinney, Nicholas](mailto:mckinneynicholas@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), [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 diff --git a/docs/recipes/java/spring/boot3/README.md b/docs/recipes/java/spring/boot3/README.md index 2e0e39bf73..4cfed2e238 100644 --- a/docs/recipes/java/spring/boot3/README.md +++ b/docs/recipes/java/spring/boot3/README.md @@ -4,6 +4,7 @@ _Recipes that include further recipes, often including the individual recipes below._ +* [Change `com.datastax.oss` to `org.apache.cassandra`](./changecassandragroupid.md) * [Comment deprecated methods in Spring 3.4](./commentdeprecations.md) * [Enable Virtual Threads on Java 21](./enablevirtualthreads.md) * [Migrate Spring Boot Management Endpoint Security properties to 3.4](./springbootmanagementendpointproperties_3_4.md) diff --git a/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md b/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md index 27aabaea2c..67db5d3b78 100644 --- a/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md +++ b/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/addroutetrailingslash.md b/docs/recipes/java/spring/boot3/addroutetrailingslash.md index 08fd13792c..b5dc2d04af 100644 --- a/docs/recipes/java/spring/boot3/addroutetrailingslash.md +++ b/docs/recipes/java/spring/boot3/addroutetrailingslash.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md b/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md index a08ce3cc1c..37175c8b66 100644 --- a/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md +++ b/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/addvalidtonestedconfigproperties.md b/docs/recipes/java/spring/boot3/addvalidtonestedconfigproperties.md index e5ca06342a..9cd31a3861 100644 --- a/docs/recipes/java/spring/boot3/addvalidtonestedconfigproperties.md +++ b/docs/recipes/java/spring/boot3/addvalidtonestedconfigproperties.md @@ -19,6 +19,67 @@ _Adds `@Valid` annotation to fields in `@ConfigurationProperties` classes that c This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license). +## Example + + + + + + +###### Before +```java +package com.example.demo; + +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.validation.annotation.Validated; + +@ConfigurationProperties("app") +@Validated +public class AppProperties { + + private String name; + + private NestedProperties nested; +} +``` + +###### After +```java +package com.example.demo; + +import jakarta.validation.Valid; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.validation.annotation.Validated; + +@ConfigurationProperties("app") +@Validated +public class AppProperties { + + private String name; + + @Valid + private NestedProperties nested; +} +``` + + + + +```diff +@@ -3,0 +3,1 @@ +package com.example.demo; + ++import jakarta.validation.Valid; +import org.springframework.boot.context.properties.ConfigurationProperties; +@@ -12,0 +13,1 @@ + private String name; + ++ @Valid + private NestedProperties nested; +``` + + + ## Usage @@ -30,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/changecassandragroupid.md b/docs/recipes/java/spring/boot3/changecassandragroupid.md new file mode 100644 index 0000000000..27285944eb --- /dev/null +++ b/docs/recipes/java/spring/boot3/changecassandragroupid.md @@ -0,0 +1,328 @@ +--- +sidebar_label: "Change com.datastax.oss to org.apache.cassandra" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Change `com.datastax.oss` to `org.apache.cassandra` + +**org.openrewrite.java.spring.boot3.ChangeCassandraGroupId** + +_Change `groupId` from `com.datastax.oss` to `org.apache.cassandra` and adopt the Spring Boot 3.3 managed version._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-33.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 + + + +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-bom` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-core` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-core-shaded` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-mapper-processor` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-mapper-runtime` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-query-builder` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-test-infra` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-metrics-micrometer` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` +* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) + * oldGroupId: `com.datastax.oss` + * oldArtifactId: `java-driver-metrics-microprofile` + * newGroupId: `org.apache.cassandra` + * newVersion: `4.18.x` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.spring.boot3.ChangeCassandraGroupId +displayName: Change `com.datastax.oss` to `org.apache.cassandra` +description: | + Change `groupId` from `com.datastax.oss` to `org.apache.cassandra` and adopt the Spring Boot 3.3 managed version. +recipeList: + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-bom + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-core + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-core-shaded + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-mapper-processor + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-mapper-runtime + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-query-builder + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-test-infra + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-metrics-micrometer + newGroupId: org.apache.cassandra + newVersion: 4.18.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: com.datastax.oss + oldArtifactId: java-driver-metrics-microprofile + newGroupId: org.apache.cassandra + newVersion: 4.18.x + +``` + + + +## 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.boot3.ChangeCassandraGroupId") + 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.boot3.ChangeCassandraGroupId") + 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.boot3.ChangeCassandraGroupId + + + + + 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.boot3.ChangeCassandraGroupId -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 ChangeCassandraGroupId +``` + +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/spring/boot3/configurationoverenablesecurity.md b/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md index a8a7081f4d..dbb882546b 100644 --- a/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md +++ b/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md @@ -143,7 +143,7 @@ Now that `com.yourorg.ConfigurationOverEnableSecurityExample` has been defined, ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md b/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md index e2cf6fc97a..6fd1967b74 100644 --- a/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md +++ b/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md @@ -103,7 +103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/enablevirtualthreads.md b/docs/recipes/java/spring/boot3/enablevirtualthreads.md index 63df4c69ce..38d64ae8e6 100644 --- a/docs/recipes/java/spring/boot3/enablevirtualthreads.md +++ b/docs/recipes/java/spring/boot3/enablevirtualthreads.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md b/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md index 1dd18f45ea..2ecb9b3be1 100644 --- a/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md +++ b/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md b/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md index b19608d34f..7cbeadbe73 100644 --- a/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md +++ b/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md b/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md index 72938e3697..1659e517ef 100644 --- a/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md +++ b/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md @@ -29,7 +29,7 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.max-http-header-size` * newPropertyKey: `server.max-http-request-header-size` @@ -59,6 +59,11 @@ recipeList: ##### Example 1 +###### Unchanged +```mavenProject +test +``` + @@ -117,16 +122,16 @@ server.max-http-request-header-size=10KB -###### Unchanged -```mavenProject -test -``` - --- ##### Example 2 +###### Unchanged +```mavenProject +test +``` + @@ -185,11 +190,6 @@ server.max-http-request-header-size=10KB -###### Unchanged -```mavenProject -test -``` - ## Usage @@ -201,7 +201,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -383,4 +383,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md b/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md index 8b4fde3b1d..2abb59a9d3 100644 --- a/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md +++ b/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md b/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md index 5678c1fccd..2e7e77fb7f 100644 --- a/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md +++ b/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md b/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md index 8d09e6108c..9f5c287bf1 100644 --- a/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md +++ b/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md @@ -135,7 +135,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -317,4 +317,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Laurens Westerlaken](mailto:laurens.w@live.nl), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +123Haynes, [Laurens Westerlaken](mailto:laurens.w@live.nl), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com) diff --git a/docs/recipes/java/spring/boot3/precisebeantype.md b/docs/recipes/java/spring/boot3/precisebeantype.md index ae3b3f337b..49d2129572 100644 --- a/docs/recipes/java/spring/boot3/precisebeantype.md +++ b/docs/recipes/java/spring/boot3/precisebeantype.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/relocatelauncherclasses.md b/docs/recipes/java/spring/boot3/relocatelauncherclasses.md index cd1a8f531a..60916e745f 100644 --- a/docs/recipes/java/spring/boot3/relocatelauncherclasses.md +++ b/docs/recipes/java/spring/boot3/relocatelauncherclasses.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md b/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md index ee38bbe877..7c06718006 100644 --- a/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md +++ b/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md b/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md index e519f3f34f..8e21917158 100644 --- a/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md +++ b/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md b/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md index 10789ec23a..73c3f42138 100644 --- a/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md +++ b/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/replacemockbeanandspybean.md b/docs/recipes/java/spring/boot3/replacemockbeanandspybean.md index ed0d991f2c..322dcd7d8d 100644 --- a/docs/recipes/java/spring/boot3/replacemockbeanandspybean.md +++ b/docs/recipes/java/spring/boot3/replacemockbeanandspybean.md @@ -53,6 +53,9 @@ This recipe is available under the [Moderne Source Available License](https://do * [Change type](../../../java/changetype) * oldFullyQualifiedTypeName: `org.springframework.boot.test.mock.mockito.SpyBean` * newFullyQualifiedTypeName: `org.springframework.test.context.bean.override.mockito.MockitoSpyBean` +* [Change type](../../../java/changetype) + * oldFullyQualifiedTypeName: `org.springframework.boot.test.mock.mockito.MockReset` + * newFullyQualifiedTypeName: `org.springframework.test.context.bean.override.mockito.MockReset` @@ -91,6 +94,9 @@ recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: org.springframework.boot.test.mock.mockito.SpyBean newFullyQualifiedTypeName: org.springframework.test.context.bean.override.mockito.MockitoSpyBean + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.springframework.boot.test.mock.mockito.MockReset + newFullyQualifiedTypeName: org.springframework.test.context.bean.override.mockito.MockReset ``` @@ -199,7 +205,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/replaceresttemplatebuildermethods.md b/docs/recipes/java/spring/boot3/replaceresttemplatebuildermethods.md index d63e691475..b281bcf6e2 100644 --- a/docs/recipes/java/spring/boot3/replaceresttemplatebuildermethods.md +++ b/docs/recipes/java/spring/boot3/replaceresttemplatebuildermethods.md @@ -165,7 +165,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/replaceresttemplatebuilderrequestfactorymethod.md b/docs/recipes/java/spring/boot3/replaceresttemplatebuilderrequestfactorymethod.md index 9dca3dc63f..eea37c66a1 100644 --- a/docs/recipes/java/spring/boot3/replaceresttemplatebuilderrequestfactorymethod.md +++ b/docs/recipes/java/spring/boot3/replaceresttemplatebuilderrequestfactorymethod.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/springboot33bestpractices.md b/docs/recipes/java/spring/boot3/springboot33bestpractices.md index 58737b8a38..a6a6bf9dfd 100644 --- a/docs/recipes/java/spring/boot3/springboot33bestpractices.md +++ b/docs/recipes/java/spring/boot3/springboot33bestpractices.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -263,4 +263,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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, [Laurens Westerlaken](mailto:laurens.w@live.nl), [Joan Viladrosa](mailto:joan@moderne.io), Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Kyle Scully](mailto:scullykns@gmail.com), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Simon Zilliken, [Shannon Pamperl](mailto:shanman190@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Cathy, [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:timtebeek@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), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [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, Adriano Machado, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@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, [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) diff --git a/docs/recipes/java/spring/boot3/springboot3bestpractices.md b/docs/recipes/java/spring/boot3/springboot3bestpractices.md index b0b73159ac..3006f60749 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 -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Joan Viladrosa](mailto:joan@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Chuka Obinabo, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Cathy, Anu Ramamoorthy, Patrick Way, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Simon Zilliken, [Shannon Pamperl](mailto:shanman190@gmail.com), [Guillaume Husta](mailto:guillaume.husta@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), BhavanaPidapa, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@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), Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [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, 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) +[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) diff --git a/docs/recipes/java/spring/boot3/springboot3bestpracticesonly.md b/docs/recipes/java/spring/boot3/springboot3bestpracticesonly.md index 387cb76a04..fd2163b994 100644 --- a/docs/recipes/java/spring/boot3/springboot3bestpracticesonly.md +++ b/docs/recipes/java/spring/boot3/springboot3bestpracticesonly.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_0.md b/docs/recipes/java/spring/boot3/springbootproperties_3_0.md index 0d3956ddc8..153cf30762 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_0.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_0.md @@ -33,736 +33,736 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.api-token` * newPropertyKey: `management.appoptics.metrics.export.api-token` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.batch-size` * newPropertyKey: `management.appoptics.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.connect-timeout` * newPropertyKey: `management.appoptics.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.enabled` * newPropertyKey: `management.appoptics.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.floor-times` * newPropertyKey: `management.appoptics.metrics.export.floor-times` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.host-tag` * newPropertyKey: `management.appoptics.metrics.export.host-tag` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.read-timeout` * newPropertyKey: `management.appoptics.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.step` * newPropertyKey: `management.appoptics.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.appoptics.uri` * newPropertyKey: `management.appoptics.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.batch-size` * newPropertyKey: `management.atlas.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.config-refresh-frequency` * newPropertyKey: `management.atlas.metrics.export.config-refresh-frequency` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.config-time-to-live` * newPropertyKey: `management.atlas.metrics.export.config-time-to-live` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.config-uri` * newPropertyKey: `management.atlas.metrics.export.config-uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.connect-timeout` * newPropertyKey: `management.atlas.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.enabled` * newPropertyKey: `management.atlas.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.eval-uri` * newPropertyKey: `management.atlas.metrics.export.eval-uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.lwc-enabled` * newPropertyKey: `management.atlas.metrics.export.lwc-enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.meter-time-to-live` * newPropertyKey: `management.atlas.metrics.export.meter-time-to-live` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.num-threads` * newPropertyKey: `management.atlas.metrics.export.num-threads` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.read-timeout` * newPropertyKey: `management.atlas.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.step` * newPropertyKey: `management.atlas.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.atlas.uri` * newPropertyKey: `management.atlas.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.api-key` * newPropertyKey: `management.datadog.metrics.export.api-key` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.application-key` * newPropertyKey: `management.datadog.metrics.export.application-key` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.batch-size` * newPropertyKey: `management.datadog.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.connect-timeout` * newPropertyKey: `management.datadog.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.descriptions` * newPropertyKey: `management.datadog.metrics.export.descriptions` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.enabled` * newPropertyKey: `management.datadog.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.host-tag` * newPropertyKey: `management.datadog.metrics.export.host-tag` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.num-threads` * newPropertyKey: `management.datadog.metrics.export.num-threads` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.read-timeout` * newPropertyKey: `management.datadog.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.step` * newPropertyKey: `management.datadog.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.datadog.uri` * newPropertyKey: `management.datadog.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.defaults.enabled` * newPropertyKey: `management.defaults.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.api-token` * newPropertyKey: `management.dynatrace.metrics.export.api-token` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.batch-size` * newPropertyKey: `management.dynatrace.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.connect-timeout` * newPropertyKey: `management.dynatrace.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.device-id` * newPropertyKey: `management.dynatrace.metrics.export.device-id` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.enabled` * newPropertyKey: `management.dynatrace.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.group` * newPropertyKey: `management.dynatrace.metrics.export.group` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.read-timeout` * newPropertyKey: `management.dynatrace.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.step` * newPropertyKey: `management.dynatrace.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.technology-type` * newPropertyKey: `management.dynatrace.metrics.export.technology-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.uri` * newPropertyKey: `management.dynatrace.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.v1.device-id` * newPropertyKey: `management.dynatrace.metrics.export.v1.device-id` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.v1.group` * newPropertyKey: `management.dynatrace.metrics.export.v1.group` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.v1.technology-type` * newPropertyKey: `management.dynatrace.metrics.export.v1.technology-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.v2.default-dimensions` * newPropertyKey: `management.dynatrace.metrics.export.v2.default-dimensions` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.v2.enrich-with-dynatrace-metadata` * newPropertyKey: `management.dynatrace.metrics.export.v2.enrich-with-dynatrace-metadata` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.dynatrace.v2.metric-key-prefix` * newPropertyKey: `management.dynatrace.metrics.export.v2.metric-key-prefix` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.api-key-credentials` * newPropertyKey: `management.elastic.metrics.export.api-key-credentials` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.auto-create-index` * newPropertyKey: `management.elastic.metrics.export.auto-create-index` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.batch-size` * newPropertyKey: `management.elastic.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.connect-timeout` * newPropertyKey: `management.elastic.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.enabled` * newPropertyKey: `management.elastic.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.host` * newPropertyKey: `management.elastic.metrics.export.host` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.index` * newPropertyKey: `management.elastic.metrics.export.index` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.index-date-format` * newPropertyKey: `management.elastic.metrics.export.index-date-format` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.index-date-separator` * newPropertyKey: `management.elastic.metrics.export.index-date-separator` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.password` * newPropertyKey: `management.elastic.metrics.export.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.pipeline` * newPropertyKey: `management.elastic.metrics.export.pipeline` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.read-timeout` * newPropertyKey: `management.elastic.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.step` * newPropertyKey: `management.elastic.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.timestamp-field-name` * newPropertyKey: `management.elastic.metrics.export.timestamp-field-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.elastic.user-name` * newPropertyKey: `management.elastic.metrics.export.user-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.addressing-mode` * newPropertyKey: `management.ganglia.metrics.export.addressing-mode` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.duration-units` * newPropertyKey: `management.ganglia.metrics.export.duration-units` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.enabled` * newPropertyKey: `management.ganglia.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.host` * newPropertyKey: `management.ganglia.metrics.export.host` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.port` * newPropertyKey: `management.ganglia.metrics.export.port` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.protocol-version` * newPropertyKey: `management.ganglia.metrics.export.protocol-version` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.rate-units` * newPropertyKey: `management.ganglia.metrics.export.rate-units` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.step` * newPropertyKey: `management.ganglia.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.ganglia.time-to-live` * newPropertyKey: `management.ganglia.metrics.export.time-to-live` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.duration-units` * newPropertyKey: `management.graphite.metrics.export.duration-units` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.enabled` * newPropertyKey: `management.graphite.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.graphite-tags-enabled` * newPropertyKey: `management.graphite.metrics.export.graphite-tags-enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.host` * newPropertyKey: `management.graphite.metrics.export.host` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.port` * newPropertyKey: `management.graphite.metrics.export.port` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.protocol` * newPropertyKey: `management.graphite.metrics.export.protocol` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.rate-units` * newPropertyKey: `management.graphite.metrics.export.rate-units` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.step` * newPropertyKey: `management.graphite.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.graphite.tags-as-prefix` * newPropertyKey: `management.graphite.metrics.export.tags-as-prefix` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.api-token` * newPropertyKey: `management.humio.metrics.export.api-token` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.batch-size` * newPropertyKey: `management.humio.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.connect-timeout` * newPropertyKey: `management.humio.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.enabled` * newPropertyKey: `management.humio.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.read-timeout` * newPropertyKey: `management.humio.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.step` * newPropertyKey: `management.humio.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.tags` * newPropertyKey: `management.humio.metrics.export.tags` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.humio.uri` * newPropertyKey: `management.humio.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.api-version` * newPropertyKey: `management.influx.metrics.export.api-version` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.auto-create-db` * newPropertyKey: `management.influx.metrics.export.auto-create-db` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.batch-size` * newPropertyKey: `management.influx.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.bucket` * newPropertyKey: `management.influx.metrics.export.bucket` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.compressed` * newPropertyKey: `management.influx.metrics.export.compressed` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.connect-timeout` * newPropertyKey: `management.influx.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.consistency` * newPropertyKey: `management.influx.metrics.export.consistency` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.db` * newPropertyKey: `management.influx.metrics.export.db` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.enabled` * newPropertyKey: `management.influx.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.num-threads` * newPropertyKey: `management.influx.metrics.export.num-threads` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.org` * newPropertyKey: `management.influx.metrics.export.org` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.password` * newPropertyKey: `management.influx.metrics.export.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.read-timeout` * newPropertyKey: `management.influx.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.retention-duration` * newPropertyKey: `management.influx.metrics.export.retention-duration` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.retention-policy` * newPropertyKey: `management.influx.metrics.export.retention-policy` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.retention-replication-factor` * newPropertyKey: `management.influx.metrics.export.retention-replication-factor` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.retention-shard-duration` * newPropertyKey: `management.influx.metrics.export.retention-shard-duration` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.step` * newPropertyKey: `management.influx.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.token` * newPropertyKey: `management.influx.metrics.export.token` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.uri` * newPropertyKey: `management.influx.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.influx.user-name` * newPropertyKey: `management.influx.metrics.export.user-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.jmx.domain` * newPropertyKey: `management.jmx.metrics.export.domain` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.jmx.enabled` * newPropertyKey: `management.jmx.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.jmx.step` * newPropertyKey: `management.jmx.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.batch-size` * newPropertyKey: `management.kairos.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.connect-timeout` * newPropertyKey: `management.kairos.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.enabled` * newPropertyKey: `management.kairos.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.password` * newPropertyKey: `management.kairos.metrics.export.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.read-timeout` * newPropertyKey: `management.kairos.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.step` * newPropertyKey: `management.kairos.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.uri` * newPropertyKey: `management.kairos.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.kairos.user-name` * newPropertyKey: `management.kairos.metrics.export.user-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.account-id` * newPropertyKey: `management.newrelic.metrics.export.account-id` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.api-key` * newPropertyKey: `management.newrelic.metrics.export.api-key` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.batch-size` * newPropertyKey: `management.newrelic.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.client-provider-type` * newPropertyKey: `management.newrelic.metrics.export.client-provider-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.connect-timeout` * newPropertyKey: `management.newrelic.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.enabled` * newPropertyKey: `management.newrelic.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.event-type` * newPropertyKey: `management.newrelic.metrics.export.event-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.meter-name-event-type-enabled` * newPropertyKey: `management.newrelic.metrics.export.meter-name-event-type-enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.num-threads` * newPropertyKey: `management.newrelic.metrics.export.num-threads` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.read-timeout` * newPropertyKey: `management.newrelic.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.step` * newPropertyKey: `management.newrelic.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.newrelic.uri` * newPropertyKey: `management.newrelic.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.descriptions` * newPropertyKey: `management.prometheus.metrics.export.descriptions` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.enabled` * newPropertyKey: `management.prometheus.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.histogram-flavor` * newPropertyKey: `management.prometheus.metrics.export.histogram-flavor` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.base-url` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.base-url` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.enabled` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.grouping-key` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.grouping-key` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.job` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.job` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.password` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.push-rate` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.push-rate` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.shutdown-operation` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.shutdown-operation` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.pushgateway.username` * newPropertyKey: `management.prometheus.metrics.export.pushgateway.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.prometheus.step` * newPropertyKey: `management.prometheus.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.access-token` * newPropertyKey: `management.signalfx.metrics.export.access-token` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.batch-size` * newPropertyKey: `management.signalfx.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.connect-timeout` * newPropertyKey: `management.signalfx.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.enabled` * newPropertyKey: `management.signalfx.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.num-threads` * newPropertyKey: `management.signalfx.metrics.export.num-threads` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.published-histogram-type` * newPropertyKey: `management.signalfx.metrics.export.published-histogram-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.read-timeout` * newPropertyKey: `management.signalfx.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.source` * newPropertyKey: `management.signalfx.metrics.export.source` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.step` * newPropertyKey: `management.signalfx.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.signalfx.uri` * newPropertyKey: `management.signalfx.metrics.export.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.simple.enabled` * newPropertyKey: `management.simple.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.simple.mode` * newPropertyKey: `management.simple.metrics.export.mode` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.simple.step` * newPropertyKey: `management.simple.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.batch-size` * newPropertyKey: `management.stackdriver.metrics.export.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.connect-timeout` * newPropertyKey: `management.stackdriver.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.enabled` * newPropertyKey: `management.stackdriver.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.project-id` * newPropertyKey: `management.stackdriver.metrics.export.project-id` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.read-timeout` * newPropertyKey: `management.stackdriver.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.resource-labels` * newPropertyKey: `management.stackdriver.metrics.export.resource-labels` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.resource-type` * newPropertyKey: `management.stackdriver.metrics.export.resource-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.step` * newPropertyKey: `management.stackdriver.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.stackdriver.use-semantic-metric-types` * newPropertyKey: `management.stackdriver.metrics.export.use-semantic-metric-types` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.enabled` * newPropertyKey: `management.statsd.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.flavor` * newPropertyKey: `management.statsd.metrics.export.flavor` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.host` * newPropertyKey: `management.statsd.metrics.export.host` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.max-packet-length` * newPropertyKey: `management.statsd.metrics.export.max-packet-length` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.polling-frequency` * newPropertyKey: `management.statsd.metrics.export.polling-frequency` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.port` * newPropertyKey: `management.statsd.metrics.export.port` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.protocol` * newPropertyKey: `management.statsd.metrics.export.protocol` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.statsd.publish-unchanged-meters` * newPropertyKey: `management.statsd.metrics.export.publish-unchanged-meters` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.api-token` * newPropertyKey: `management.wavefront.api-token` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.batch-size` * newPropertyKey: `management.wavefront.sender.batch-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.connect-timeout` * newPropertyKey: `management.wavefront.metrics.export.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.enabled` * newPropertyKey: `management.wavefront.metrics.export.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.global-prefix` * newPropertyKey: `management.wavefront.metrics.export.global-prefix` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.num-threads` * newPropertyKey: `management.wavefront.metrics.export.num-threads` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.read-timeout` * newPropertyKey: `management.wavefront.metrics.export.read-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.sender.flush-interval` * newPropertyKey: `management.wavefront.sender.flush-interval` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.sender.max-queue-size` * newPropertyKey: `management.wavefront.sender.max-queue-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.sender.message-size` * newPropertyKey: `management.wavefront.sender.message-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.source` * newPropertyKey: `management.wavefront.source` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.step` * newPropertyKey: `management.wavefront.metrics.export.step` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.export.wavefront.uri` * newPropertyKey: `management.wavefront.uri` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.web.client.request.metric-name` * newPropertyKey: `management.observations.http.client.requests.name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.web.server.request.metric-name` * newPropertyKey: `management.observations.http.server.requests.name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.trace.http.enabled` * newPropertyKey: `management.httpexchanges.recording.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.trace.http.include` * newPropertyKey: `management.httpexchanges.recording.include` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.trace.include` * newPropertyKey: `management.httpexchanges.recording.include` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.undertow.allow-encoded-slash` * newPropertyKey: `server.undertow.decode-slash` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.compression` * newPropertyKey: `spring.cassandra.compression` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.config` * newPropertyKey: `spring.cassandra.config` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.connection.connect-timeout` * newPropertyKey: `spring.cassandra.connection.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.connection.init-query-timeout` * newPropertyKey: `spring.cassandra.connection.init-query-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.contact-points` * newPropertyKey: `spring.cassandra.contact-points` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.controlconnection.timeout` * newPropertyKey: `spring.cassandra.controlconnection.timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.keyspace-name` * newPropertyKey: `spring.cassandra.keyspace-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.local-datacenter` * newPropertyKey: `spring.cassandra.local-datacenter` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.password` * newPropertyKey: `spring.cassandra.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.pool.heartbeat-interval` * newPropertyKey: `spring.cassandra.pool.heartbeat-interval` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.pool.idle-timeout` * newPropertyKey: `spring.cassandra.pool.idle-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.pool.max-queue-size` * newPropertyKey: `spring.cassandra.request.throttler.max-queue-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.port` * newPropertyKey: `spring.cassandra.port` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.consistency` * newPropertyKey: `spring.cassandra.request.consistency` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.page-size` * newPropertyKey: `spring.cassandra.request.page-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.serial-consistency` * newPropertyKey: `spring.cassandra.request.serial-consistency` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.throttler.drain-interval` * newPropertyKey: `spring.cassandra.request.throttler.drain-interval` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.throttler.max-concurrent-requests` * newPropertyKey: `spring.cassandra.request.throttler.max-concurrent-requests` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.throttler.max-queue-size` * newPropertyKey: `spring.cassandra.request.throttler.max-queue-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.throttler.max-requests-per-second` * newPropertyKey: `spring.cassandra.request.throttler.max-requests-per-second` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.throttler.type` * newPropertyKey: `spring.cassandra.request.throttler.type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.request.timeout` * newPropertyKey: `spring.cassandra.request.timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.schema-action` * newPropertyKey: `spring.cassandra.schema-action` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.session-name` * newPropertyKey: `spring.cassandra.session-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.ssl` * newPropertyKey: `spring.cassandra.ssl` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.username` * newPropertyKey: `spring.cassandra.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.liquibase.labels` * newPropertyKey: `spring.liquibase.label-filter` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.client-name` * newPropertyKey: `spring.data.redis.client-name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.client-type` * newPropertyKey: `spring.data.redis.client-type` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.cluster.max-redirects` * newPropertyKey: `spring.data.redis.cluster.max-redirects` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.cluster.nodes` * newPropertyKey: `spring.data.redis.cluster.nodes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.connect-timeout` * newPropertyKey: `spring.data.redis.connect-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.database` * newPropertyKey: `spring.data.redis.database` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.host` * newPropertyKey: `spring.data.redis.host` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.lettuce.cluster.refresh.adaptive` * newPropertyKey: `spring.data.redis.lettuce.cluster.refresh.adaptive` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.lettuce.cluster.refresh.dynamic-refresh-sources` * newPropertyKey: `spring.data.redis.lettuce.cluster.refresh.dynamic-refresh-sources` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.lettuce.cluster.refresh.period` * newPropertyKey: `spring.data.redis.lettuce.cluster.refresh.period` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.lettuce.shutdown-timeout` * newPropertyKey: `spring.data.redis.lettuce.shutdown-timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.password` * newPropertyKey: `spring.data.redis.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.port` * newPropertyKey: `spring.data.redis.port` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.sentinel.master` * newPropertyKey: `spring.data.redis.sentinel.master` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.sentinel.nodes` * newPropertyKey: `spring.data.redis.sentinel.nodes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.sentinel.password` * newPropertyKey: `spring.data.redis.sentinel.password` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.sentinel.username` * newPropertyKey: `spring.data.redis.sentinel.username` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.ssl` * newPropertyKey: `spring.data.redis.ssl` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.timeout` * newPropertyKey: `spring.data.redis.timeout` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.url` * newPropertyKey: `spring.data.redis.url` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.redis.username` * newPropertyKey: `spring.data.redis.username` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -1762,7 +1762,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -1944,4 +1944,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_1.md b/docs/recipes/java/spring/boot3/springbootproperties_3_1.md index b65aa6fa72..280a19297f 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_1.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_1.md @@ -33,16 +33,16 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.cassandra.ssl` * newPropertyKey: `spring.cassandra.ssl.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.cassandra.ssl` * newPropertyKey: `spring.cassandra.ssl.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.data.redis.ssl` * newPropertyKey: `spring.data.redis.ssl.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.streams.cache-max-size-buffering` * newPropertyKey: `spring.kafka.streams.state-store-cache-max-size` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -282,4 +282,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, ashakirin, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_2.md b/docs/recipes/java/spring/boot3/springbootproperties_3_2.md index e73a7a6e56..e0d98cc548 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_2.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_2.md @@ -33,40 +33,40 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.web.client.requests-metric-name` * newPropertyKey: `management.observations.http.client.requests.name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.metrics.web.server.requests-metric-name` * newPropertyKey: `management.observations.http.server.requests.name` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `management.otlp.metrics.export.resource-attributes` * newPropertyKey: `management.opentelemetry.resource-attributes` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `micrometer.observations.annotations.enabled` * newPropertyKey: `management.observations.annotations.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `server.max-http-header-size` * newPropertyKey: `server.max-http-request-header-size` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.oracle-kerberos-cache-file` * newPropertyKey: `spring.flyway.oracle.kerberos-cache-file` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.oracle-sqlplus` * newPropertyKey: `spring.flyway.oracle.sqlplus` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.oracle-sqlplus-warn` * newPropertyKey: `spring.flyway.oracle.sqlplus-warn` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.oracle-wallet-location` * newPropertyKey: `spring.flyway.oracle.wallet-location` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.flyway.sql-server-kerberos-login-file` * newPropertyKey: `spring.flyway.sqlserver.kerberos-login-file` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.jms.listener.acknowledge-mode` * newPropertyKey: `spring.jms.listener.session.acknowledge-mode` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.jms.listener.concurrency` * newPropertyKey: `spring.jms.listener.min-concurrency` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -208,7 +208,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -390,4 +390,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -ashakirin, Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [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), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), ashakirin, Tyler Van Gorder, [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) diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_3.md b/docs/recipes/java/spring/boot3/springbootproperties_3_3.md index 671adef551..813855af3f 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_3.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_3.md @@ -33,13 +33,13 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.ssl.key-store` * newPropertyKey: `spring.couchbase.env.ssl.bundle` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.couchbase.env.ssl.key-store-password` * newPropertyKey: `spring.couchbase.env.ssl.bundle` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.kafka.streams.cache-max-bytes-buffering` * newPropertyKey: `spring.kafka.streams.state-store-cache-max-size` * [Comment out Spring properties](../../../java/spring/commentoutspringpropertykey) @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -282,4 +282,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -ashakirin, Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [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), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), ashakirin, Tyler Van Gorder, [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) diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_0.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_0.md index 4534d79030..3c23093e6d 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_0.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_0.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_1.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_1.md index 0493537d85..265d3b2e4b 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_1.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_1.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_2.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_2.md index e299a72569..4cffbe805e 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_2.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_2.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_3.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_3.md index 902bfc0832..606f48843e 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_3.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_3.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_4.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_4.md index b04415b08d..82e6ab546c 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_4.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_4.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_5.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_5.md index da0a9bdae2..d2e267e6b2 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_5.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_5.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_6.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_6.md index 7b8986af54..dbe15e0d39 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_6.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_6.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_7.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_7.md index 572151ce12..1ecee47d4a 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_7.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_2_7.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_0.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_0.md index f2309004e8..749233eb01 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_0.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_0.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_2.md b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_2.md index 6037ae521e..cf577c669f 100644 --- a/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_2.md +++ b/docs/recipes/java/spring/boot3/upgrademybatistospringboot_3_2.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md index 3daf429bc9..c96b81a3cb 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md @@ -83,7 +83,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate to Spring Kafka 3.0](../../../java/spring/kafka/upgradespringkafka_3_0) * [Migrate to Spring Security 6.0](../../../java/spring/security6/upgradespringsecurity_6_0) * [Migrate to Spring Cloud 2022](../../../java/spring/cloud2022/upgradespringcloud_2022) -* [Upgrade SpringDoc](../../../java/springdoc/upgradespringdoc_2) +* [Upgrade to SpringDoc 2.1](../../../java/springdoc/upgradespringdoc_2) * [Migrate to Hibernate 6.1.x](../../../hibernate/migratetohibernate61) * [Upgrade MyBatis to Spring Boot 3.0](../../../java/spring/boot3/upgrademybatistospringboot_3_0) @@ -163,122 +163,6 @@ recipeList: ##### Example 1 - - - - -###### Before -```xml title="pom.xml" - - 4.0.0 - org.springframework.samples - spring-petclinic - 2.7.3 - - - org.springframework.boot - spring-boot-starter-parent - 2.7.3 - - petclinic - - - 1.8 - - - - - org.springframework.boot - spring-boot-starter-data-jpa - - - org.springframework.boot - spring-boot-starter-validation - - - org.ehcache - ehcache - - - -``` - -###### After -```xml title="pom.xml" - - 4.0.0 - org.springframework.samples - spring-petclinic - 2.7.3 - - - org.springframework.boot - spring-boot-starter-parent - 3.0.13 - - petclinic - - - 17 - - - - - jakarta.xml.bind - jakarta.xml.bind-api - - - org.springframework.boot - spring-boot-starter-data-jpa - - - org.springframework.boot - spring-boot-starter-validation - - - org.ehcache - ehcache - jakarta - - - -``` - - - - -```diff ---- pom.xml -+++ pom.xml -@@ -10,1 +10,1 @@ - org.springframework.boot - spring-boot-starter-parent -- 2.7.3 -+ 3.0.13 - -@@ -15,1 +15,1 @@ - - -- 1.8 -+ 17 - -@@ -20,0 +20,4 @@ - - -+ jakarta.xml.bind -+ jakarta.xml.bind-api -+ -+ - org.springframework.boot -@@ -30,0 +34,1 @@ - org.ehcache - ehcache -+ jakarta - -``` - - - @@ -672,11 +556,6 @@ import java.util.Set; project ``` ---- - -##### Example 2 - - @@ -793,6 +672,11 @@ project +--- + +##### Example 2 + + @@ -1186,6 +1070,122 @@ import java.util.Set; project ``` + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + org.springframework.samples + spring-petclinic + 2.7.3 + + + org.springframework.boot + spring-boot-starter-parent + 2.7.3 + + petclinic + + + 1.8 + + + + + org.springframework.boot + spring-boot-starter-data-jpa + + + org.springframework.boot + spring-boot-starter-validation + + + org.ehcache + ehcache + + + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + org.springframework.samples + spring-petclinic + 2.7.3 + + + org.springframework.boot + spring-boot-starter-parent + 3.0.13 + + petclinic + + + 17 + + + + + jakarta.xml.bind + jakarta.xml.bind-api + + + org.springframework.boot + spring-boot-starter-data-jpa + + + org.springframework.boot + spring-boot-starter-validation + + + org.ehcache + ehcache + jakarta + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -10,1 +10,1 @@ + org.springframework.boot + spring-boot-starter-parent +- 2.7.3 ++ 3.0.13 + +@@ -15,1 +15,1 @@ + + +- 1.8 ++ 17 + +@@ -20,0 +20,4 @@ + + ++ jakarta.xml.bind ++ jakarta.xml.bind-api ++ ++ + org.springframework.boot +@@ -30,0 +34,1 @@ + org.ehcache + ehcache ++ jakarta + +``` + + + ## Usage @@ -1197,7 +1197,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -1398,4 +1398,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Laurens Westerlaken](mailto:laurens.w@live.nl), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, [Kyle Scully](mailto:scullykns@gmail.com), 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), BhavanaPidapa, [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Tim te Beek](mailto:tim.te.beek@jdriven.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), Cathy, 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, Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Shannon Pamperl](mailto:shanman190@gmail.com), Aaron Gershman, [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Daryl Robbins, ranuradh, nbruno, [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), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), Tyler Van Gorder, [Michael Keppler](mailto:bananeweizen@gmx.de), [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), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), Adriano Machado, [Mckinney, Nicholas](mailto:mckinneynicholas@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), [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) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md index bb7b323d54..70b39e3eea 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md @@ -58,6 +58,7 @@ This recipe is available under the [Moderne Source Available License](https://do * newVersion: `2.2.x` * [Migrate to Hibernate 6.2.x](../../../hibernate/migratetohibernate62) * [Mockito 4 to 5.x upgrade only](../../../java/testing/mockito/mockito4to5only) +* [Upgrade to SpringDoc 2.2](../../../java/springdoc/upgradespringdoc_2_2) @@ -99,6 +100,7 @@ recipeList: newVersion: 2.2.x - org.openrewrite.hibernate.MigrateToHibernate62 - org.openrewrite.java.testing.mockito.Mockito4to5Only + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2_2 ``` @@ -114,7 +116,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -315,4 +317,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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, [Laurens Westerlaken](mailto:laurens.w@live.nl), [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, Kun Li, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [qwtfps](mailto:qwtfps@163.com), pdesprez, [Kyle Scully](mailto:scullykns@gmail.com), Patrick Way, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Andrii Rodionov](mailto:andrii@moderne.io), [Shannon Pamperl](mailto:shanman190@gmail.com), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), Simon Zilliken, [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), [Kun Li](mailto:kun@moderne.io), [Greg Oledzki](mailto:greg.oledzki@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), Cathy, Fabian Krüger, [Tim te Beek](mailto:timtebeek@gmail.com), Kushank24, Evie Lau, 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), [Greg Adams](mailto:gadams@gmail.com), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Sandeep Nagaraj, [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [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), [Mckinney, Nicholas](mailto:mckinneynicholas@gmail.com), Adriano Machado +[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) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md index b57eeb8c62..8102b2fff8 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md @@ -86,6 +86,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate to Hibernate 6.4.x](../../../hibernate/migratetohibernate64) * [Relocate Launcher Classes](../../../java/spring/boot3/relocatelauncherclasses) * [Upgrade MyBatis to Spring Boot 3.2](../../../java/spring/boot3/upgrademybatistospringboot_3_2) +* [Upgrade to SpringDoc 2.5](../../../java/springdoc/upgradespringdoc_2_5) @@ -155,6 +156,7 @@ recipeList: - org.openrewrite.hibernate.MigrateToHibernate64 - org.openrewrite.java.spring.boot3.RelocateLauncherClasses - org.openrewrite.java.spring.boot3.UpgradeMyBatisToSpringBoot_3_2 + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2_5 ``` @@ -170,7 +172,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -371,4 +373,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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, [Joan Viladrosa](mailto:joan@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Kyle Scully](mailto:scullykns@gmail.com), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Shannon Pamperl](mailto:shanman190@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Simon Zilliken, [Guillaume Husta](mailto:guillaume.husta@gmail.com), Cathy, [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:timtebeek@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), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [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, Adriano Machado, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@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, [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) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md index 240eaeca43..bf7e82e06a 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md @@ -59,15 +59,14 @@ This recipe is available under the [Moderne Source Available License](https://do * [Update a Gradle plugin by id](../../../gradle/plugins/upgradepluginversion) * pluginIdPattern: `org.graalvm.buildtools.native` * newVersion: `0.10.x` -* [Change Gradle or Maven dependency](../../../java/dependencies/changedependency) - * oldGroupId: `com.datastax.oss` - * oldArtifactId: `*` - * newGroupId: `org.apache.cassandra` +* [Change `com.datastax.oss` to `org.apache.cassandra`](../../../java/spring/boot3/changecassandragroupid) * [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) * groupId: `org.springdoc` * artifactId: `*` * newVersion: `2.6.x` * [Migrate to Hibernate 6.5.x](../../../hibernate/migratetohibernate65) +* [Migrate to Flyway 10](../../../java/flyway/migratetoflyway10) +* [Upgrade to SpringDoc 2.6](../../../java/springdoc/upgradespringdoc_2_6) @@ -110,15 +109,14 @@ recipeList: - org.openrewrite.gradle.plugins.UpgradePluginVersion: pluginIdPattern: org.graalvm.buildtools.native newVersion: 0.10.x - - org.openrewrite.java.dependencies.ChangeDependency: - oldGroupId: com.datastax.oss - oldArtifactId: "*" - newGroupId: org.apache.cassandra + - org.openrewrite.java.spring.boot3.ChangeCassandraGroupId - org.openrewrite.java.dependencies.UpgradeDependencyVersion: groupId: org.springdoc artifactId: "*" newVersion: 2.6.x - org.openrewrite.hibernate.MigrateToHibernate65 + - org.openrewrite.java.flyway.MigrateToFlyway10 + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2_6 ``` @@ -127,6 +125,42 @@ recipeList: ##### Example 1 +###### Unchanged +```mavenProject +project +``` + +###### Unchanged +```xml title="pom.xml" + + 4.0.0 + com.example + fooservice + 1.0-SNAPSHOT + + + + com.datastax.oss + java-driver-bom + 4.17.0 + pom + import + + + + +``` + +--- + +##### Example 2 + + +###### Unchanged +```mavenProject +project +``` + ###### Unchanged ```xml title="pom.xml" ``` +--- + +##### Example 3 + + ###### Unchanged ```mavenProject project ``` +###### Unchanged +```xml title="pom.xml" + + 4.0.0 + com.example + fooservice + 1.0-SNAPSHOT + + + + com.datastax.oss + java-driver-bom + 4.17.0 + pom + import + + + + +``` + --- -##### Example 2 +##### Example 4 +###### Unchanged +```mavenProject +project +``` + ###### Unchanged ```xml title="pom.xml" ``` -###### Unchanged -```mavenProject -project -``` - ## Usage @@ -219,7 +279,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -420,4 +480,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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, [Laurens Westerlaken](mailto:laurens.w@live.nl), [Joan Viladrosa](mailto:joan@moderne.io), Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Anu Ramamoorthy, [traceyyoshima](mailto:tracey.yoshima@gmail.com), Patrick Way, [Kyle Scully](mailto:scullykns@gmail.com), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Simon Zilliken, [Shannon Pamperl](mailto:shanman190@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Cathy, [Andrii Rodionov](mailto:andrii@moderne.io), [Curtis](mailto:curtis@mail.ustc.edu.cn), [Melloware](mailto:mellowaredev@gmail.com), [Kun Li](mailto:kun@moderne.io), BhavanaPidapa, Kushank24, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Marcin Słowiak](mailto:m.slowiak@smartrecruiters.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Tim te Beek](mailto:timtebeek@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), [Marcin Słowiak](mailto:marcin.slowiak.007@gmail.com), Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [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, Adriano Machado, [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), [Mckinney, Nicholas](mailto:mckinneynicholas@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, [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) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_4.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_4-community-edition.md similarity index 79% rename from docs/recipes/java/spring/boot3/upgradespringboot_3_4.md rename to docs/recipes/java/spring/boot3/upgradespringboot_3_4-community-edition.md index 3942a32726..26cdbc6eef 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_4.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_4-community-edition.md @@ -1,11 +1,11 @@ --- -sidebar_label: "Migrate to Spring Boot 3.4" +sidebar_label: "Migrate to Spring Boot 3.4 (Community Edition)" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Migrate to Spring Boot 3.4 +# Migrate to Spring Boot 3.4 (Community Edition) **org.openrewrite.java.spring.boot3.UpgradeSpringBoot\_3\_4** @@ -68,6 +68,7 @@ This recipe is available under the [Moderne Source Available License](https://do * newVersion: `1.0.x` * [Replace deprecated setters in `RestTemplateBuilder`](../../../java/spring/boot3/replaceresttemplatebuildermethods) * [Add `@Valid` to nested properties in `@ConfigurationProperties`](../../../java/spring/boot3/addvalidtonestedconfigproperties) +* [Upgrade to SpringDoc 2.8](../../../java/springdoc/upgradespringdoc_2_8) @@ -119,6 +120,7 @@ recipeList: newVersion: 1.0.x - org.openrewrite.java.spring.boot3.ReplaceRestTemplateBuilderMethods - org.openrewrite.java.spring.boot3.AddValidToNestedConfigProperties + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2_8 ``` @@ -134,7 +136,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -335,4 +337,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Joan Viladrosa](mailto:joan@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Chuka Obinabo, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Cathy, Anu Ramamoorthy, Patrick Way, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), Simon Zilliken, [Shannon Pamperl](mailto:shanman190@gmail.com), [Guillaume Husta](mailto:guillaume.husta@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.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), BhavanaPidapa, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@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), Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [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, 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) +[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) 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 new file mode 100644 index 0000000000..a73e59b40d --- /dev/null +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_4-moderne-edition.md @@ -0,0 +1,136 @@ +--- +sidebar_label: "Migrate to Spring Boot 3.4 (Moderne Edition)" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate to Spring Boot 3.4 (Moderne Edition) + +**io.moderne.java.spring.boot3.UpgradeSpringBoot\_3\_4** + +_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._ + +### 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 UpgradeSpringBoot_3_4 +``` + +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. | + + + + + +### 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 +[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) diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md index cad6f772db..309108253b 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_5.md @@ -23,6 +23,57 @@ 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). +## Examples +##### Example 1 + + +###### Unchanged +```mavenProject +project +``` + +###### Unchanged +```xml title="pom.xml" + + 4.0.0 + com.example + fooservice + 1.0-SNAPSHOT + + org.springframework.boot + spring-boot-starter-parent + 2.2.2.RELEASE + + + +``` + +--- + +##### Example 2 + + +###### Unchanged +```mavenProject +project +``` + +###### Unchanged +```xml title="pom.xml" + + 4.0.0 + com.example + fooservice + 1.0-SNAPSHOT + + org.springframework.boot + spring-boot-starter-parent + 2.2.2.RELEASE + + + +``` + ## Usage @@ -133,4 +184,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -Tyler Van Gorder, ashakirin, [Knut Wannheden](mailto:knut@moderne.io), [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), [Joan Viladrosa](mailto:joan@moderne.io), [Laurens Westerlaken](mailto:laurens.w@live.nl), Chuka Obinabo, Kun Li, [Jonathan Schneider](mailto:jkschneider@gmail.com), Cathy, Anu Ramamoorthy, Patrick Way, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Kyle Scully](mailto:scullykns@gmail.com), [qwtfps](mailto:qwtfps@163.com), pdesprez, SiBorea, [Aaron Gershman](mailto:aegershman@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), Simon Zilliken, [Shannon Pamperl](mailto:shanman190@gmail.com), [Guillaume Husta](mailto:guillaume.husta@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), BhavanaPidapa, [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Kevin McCarpenter](mailto:kevin@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@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), Evie Lau, Adam Slaski, [Yifeng Jin](mailto:yifeng.jyf@alibaba-inc.com), Aaron Gershman, Daryl Robbins, ranuradh, nbruno, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [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, 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) +[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) diff --git a/docs/recipes/java/spring/changemethodparameter.md b/docs/recipes/java/spring/changemethodparameter.md index 6a19c86b4a..a1355e5b91 100644 --- a/docs/recipes/java/spring/changemethodparameter.md +++ b/docs/recipes/java/spring/changemethodparameter.md @@ -98,7 +98,7 @@ Now that `com.yourorg.ChangeMethodParameterExample` has been defined, activate i ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/changespringpropertykey.md b/docs/recipes/java/spring/changespringpropertykey.md index 021fe0b564..7cf6cda0cb 100644 --- a/docs/recipes/java/spring/changespringpropertykey.md +++ b/docs/recipes/java/spring/changespringpropertykey.md @@ -1,15 +1,15 @@ --- -sidebar_label: "Change the key of a spring application property" +sidebar_label: "Change the key of a Spring application property" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Change the key of a spring application property +# Change the key of a Spring application property **org.openrewrite.java.spring.ChangeSpringPropertyKey** -_Change spring application property keys existing in either Properties or Yaml files._ +_Change Spring application property keys existing in either Properties or YAML files, and in `@Value` annotations._ ## Recipe source @@ -101,7 +101,7 @@ Here's how you can define and customize such a recipe within your rewrite.yml: --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeSpringPropertyKeyExample -displayName: Change the key of a spring application property example +displayName: Change the key of a Spring application property example recipeList: - org.openrewrite.java.spring.ChangeSpringPropertyKey: oldPropertyKey: management.metrics.binders.*.enabled @@ -117,7 +117,7 @@ Now that `com.yourorg.ChangeSpringPropertyKeyExample` has been defined, activate ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -251,4 +251,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Kyle Scully](mailto:scullykns@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/java/spring/changespringpropertyvalue.md b/docs/recipes/java/spring/changespringpropertyvalue.md index 4ccb991913..dc343012de 100644 --- a/docs/recipes/java/spring/changespringpropertyvalue.md +++ b/docs/recipes/java/spring/changespringpropertyvalue.md @@ -91,7 +91,7 @@ Now that `com.yourorg.ChangeSpringPropertyValueExample` has been defined, activa ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/cloud2020/README.md b/docs/recipes/java/spring/cloud2020/README.md new file mode 100644 index 0000000000..e6725ab3a9 --- /dev/null +++ b/docs/recipes/java/spring/cloud2020/README.md @@ -0,0 +1,9 @@ +# Cloud2020 + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Migrate Spring Cloud properties to 2020](./springcloudproperties_2020.md) + + diff --git a/docs/recipes/java/spring/cloud2020/springcloudproperties_2020.md b/docs/recipes/java/spring/cloud2020/springcloudproperties_2020.md new file mode 100644 index 0000000000..1e857547f8 --- /dev/null +++ b/docs/recipes/java/spring/cloud2020/springcloudproperties_2020.md @@ -0,0 +1,114 @@ +--- +sidebar_label: "Migrate Spring Cloud properties to 2020" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring Cloud properties to 2020 + +**io.moderne.java.spring.cloud2020.SpringCloudProperties\_2020** + +_Migrate properties found in `application.properties` and `application.yml`._ + +### Tags + +* spring +* cloud + +## 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 SpringCloudProperties_2020 +``` + +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/cloud2021/README.md b/docs/recipes/java/spring/cloud2021/README.md new file mode 100644 index 0000000000..62e9d13df6 --- /dev/null +++ b/docs/recipes/java/spring/cloud2021/README.md @@ -0,0 +1,9 @@ +# Cloud2021 + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Migrate Spring Cloud properties to 2021](./springcloudproperties_2021.md) + + diff --git a/docs/recipes/java/spring/cloud2021/springcloudproperties_2021.md b/docs/recipes/java/spring/cloud2021/springcloudproperties_2021.md new file mode 100644 index 0000000000..d799f6370e --- /dev/null +++ b/docs/recipes/java/spring/cloud2021/springcloudproperties_2021.md @@ -0,0 +1,114 @@ +--- +sidebar_label: "Migrate Spring Cloud properties to 2021" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring Cloud properties to 2021 + +**io.moderne.java.spring.cloud2021.SpringCloudProperties\_2021** + +_Migrate properties found in `application.properties` and `application.yml`._ + +### Tags + +* spring +* cloud + +## 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 SpringCloudProperties_2021 +``` + +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/cloud2022/README.md b/docs/recipes/java/spring/cloud2022/README.md index 4baab0b5de..76600fcdc3 100644 --- a/docs/recipes/java/spring/cloud2022/README.md +++ b/docs/recipes/java/spring/cloud2022/README.md @@ -5,6 +5,7 @@ _Recipes that include further recipes, often including the individual recipes below._ * [Migrate Spring Cloud Sleuth 3.1 to Micrometer Tracing 1.0](./migratecloudsleuthtomicrometertracing.md) +* [Migrate Spring Cloud properties to 2022](./springcloudproperties_2022.md) * [Migrate to Spring Cloud 2022](./upgradespringcloud_2022.md) * [Upgrade dependencies to Spring Cloud 2022](./dependencyupgrades.md) diff --git a/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md b/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md index 55dd198ee8..e9e939a45a 100644 --- a/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md +++ b/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/cloud2022/dependencyupgrades.md b/docs/recipes/java/spring/cloud2022/dependencyupgrades.md index 02dc0d6c2e..cae57c8ed8 100644 --- a/docs/recipes/java/spring/cloud2022/dependencyupgrades.md +++ b/docs/recipes/java/spring/cloud2022/dependencyupgrades.md @@ -160,7 +160,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md b/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md index e5edb1f26b..8c780c8d60 100644 --- a/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md +++ b/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md @@ -113,34 +113,34 @@ This recipe is available under the [Moderne Source Available License](https://do * oldPackageName: `org.springframework.cloud.sleuth` * newPackageName: `io.micrometer.tracing` * recursive: `true` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.enabled` * newPropertyKey: `management.tracing.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.batch.enabled` * newPropertyKey: `management.tracing.enabled` * [Delete a spring configuration property](../../../java/spring/deletespringproperty) * propertyKey: `spring.sleuth.supports-join` * [Delete a spring configuration property](../../../java/spring/deletespringproperty) * propertyKey: `spring.sleuth.trace-id128` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.propagation.type` * newPropertyKey: `management.tracing.propagation.type` * [Delete a spring configuration property](../../../java/spring/deletespringproperty) * propertyKey: `spring.sleuth.sampler.rate` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.sampler.probability` * newPropertyKey: `management.tracing.sampling.probability` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.baggage.remote-fields` * newPropertyKey: `management.tracing.baggage.remote-fields` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.propagation-keys` * newPropertyKey: `management.tracing.baggage.remote-fields` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.baggage.correlation-enabled` * newPropertyKey: `management.tracing.baggage.correlation.enabled` -* [Change the key of a spring application property](../../../java/spring/changespringpropertykey) +* [Change the key of a Spring application property](../../../java/spring/changespringpropertykey) * oldPropertyKey: `spring.sleuth.baggage.correlation-fields` * newPropertyKey: `management.tracing.baggage.correlation.fields` @@ -393,7 +393,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -575,4 +575,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Kun Li, [Kyle Scully](mailto:scullykns@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Kun Li, [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/cloud2022/migraterequestmappingonfeignclient.md b/docs/recipes/java/spring/cloud2022/migraterequestmappingonfeignclient.md index 096d0b350e..ab8291913d 100644 --- a/docs/recipes/java/spring/cloud2022/migraterequestmappingonfeignclient.md +++ b/docs/recipes/java/spring/cloud2022/migraterequestmappingonfeignclient.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/cloud2022/springcloudproperties_2022.md b/docs/recipes/java/spring/cloud2022/springcloudproperties_2022.md new file mode 100644 index 0000000000..eba5f2937c --- /dev/null +++ b/docs/recipes/java/spring/cloud2022/springcloudproperties_2022.md @@ -0,0 +1,114 @@ +--- +sidebar_label: "Migrate Spring Cloud properties to 2022" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring Cloud properties to 2022 + +**io.moderne.java.spring.cloud2022.SpringCloudProperties\_2022** + +_Migrate properties found in `application.properties` and `application.yml`._ + +### Tags + +* spring +* cloud + +## 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 SpringCloudProperties_2022 +``` + +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/cloud2022/upgradespringcloud_2022.md b/docs/recipes/java/spring/cloud2022/upgradespringcloud_2022.md index d39e3ef55a..a9020ea44e 100644 --- a/docs/recipes/java/spring/cloud2022/upgradespringcloud_2022.md +++ b/docs/recipes/java/spring/cloud2022/upgradespringcloud_2022.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -252,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), Cathy, [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Kun Li, [Kyle Scully](mailto:scullykns@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Knut Wannheden](mailto:knut@moderne.io), Tyler Van Gorder, Cathy, [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Patrick](mailto:patway99@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Kun Li, [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/cloud2023/README.md b/docs/recipes/java/spring/cloud2023/README.md index a8899deed2..5fa9d3a490 100644 --- a/docs/recipes/java/spring/cloud2023/README.md +++ b/docs/recipes/java/spring/cloud2023/README.md @@ -4,7 +4,11 @@ _Recipes that include further recipes, often including the individual recipes below._ -* [Migrate to Spring Cloud 2023](./upgradespringcloud_2023.md) +* [Migrate Spring Cloud properties to 2023](./springcloudproperties_2023.md) * [Upgrade dependencies to Spring Cloud 2023](./dependencyupgrades.md) +## Recipes + +* [Migrate to Spring Cloud 2023](./upgradespringcloud_2023.md) + diff --git a/docs/recipes/java/spring/cloud2023/dependencyupgrades.md b/docs/recipes/java/spring/cloud2023/dependencyupgrades.md index 669c25061c..a28bc841e8 100644 --- a/docs/recipes/java/spring/cloud2023/dependencyupgrades.md +++ b/docs/recipes/java/spring/cloud2023/dependencyupgrades.md @@ -152,7 +152,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/cloud2023/springcloudproperties_2023.md b/docs/recipes/java/spring/cloud2023/springcloudproperties_2023.md new file mode 100644 index 0000000000..23856d0fd3 --- /dev/null +++ b/docs/recipes/java/spring/cloud2023/springcloudproperties_2023.md @@ -0,0 +1,114 @@ +--- +sidebar_label: "Migrate Spring Cloud properties to 2023" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring Cloud properties to 2023 + +**io.moderne.java.spring.cloud2023.SpringCloudProperties\_2023** + +_Migrate properties found in `application.properties` and `application.yml`._ + +### Tags + +* spring +* cloud + +## 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 SpringCloudProperties_2023 +``` + +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/cloud2023/upgradespringcloud_2023.md b/docs/recipes/java/spring/cloud2023/upgradespringcloud_2023.md index b1006ec582..7be3093ce1 100644 --- a/docs/recipes/java/spring/cloud2023/upgradespringcloud_2023.md +++ b/docs/recipes/java/spring/cloud2023/upgradespringcloud_2023.md @@ -22,10 +22,6 @@ _Migrate applications to the latest Spring Cloud 2023 (Leyton) 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). @@ -33,7 +29,6 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Migrate to Spring Cloud 2022](../../../java/spring/cloud2022/upgradespringcloud_2022) * [Upgrade dependencies to Spring Cloud 2023](../../../java/spring/cloud2023/dependencyupgrades) @@ -51,7 +46,6 @@ tags: - spring - cloud recipeList: - - org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022 - org.openrewrite.java.spring.cloud2023.DependencyUpgrades ``` @@ -68,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -248,6 +242,3 @@ _Statistics used in analyzing the performance of recipes._ - -## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), Cathy, [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Kun Li, [Kyle Scully](mailto:scullykns@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/cloud2024/README.md b/docs/recipes/java/spring/cloud2024/README.md index c99c2c6089..d31bc57f03 100644 --- a/docs/recipes/java/spring/cloud2024/README.md +++ b/docs/recipes/java/spring/cloud2024/README.md @@ -4,7 +4,11 @@ _Recipes that include further recipes, often including the individual recipes below._ -* [Migrate to Spring Cloud 2024](./upgradespringcloud_2024.md) +* [Migrate Spring Cloud properties to 2024](./springcloudproperties_2024.md) * [Upgrade dependencies to Spring Cloud 2024](./dependencyupgrades.md) +## Recipes + +* [Migrate to Spring Cloud 2024](./upgradespringcloud_2024.md) + diff --git a/docs/recipes/java/spring/cloud2024/dependencyupgrades.md b/docs/recipes/java/spring/cloud2024/dependencyupgrades.md index 19c52ab327..8e902924a5 100644 --- a/docs/recipes/java/spring/cloud2024/dependencyupgrades.md +++ b/docs/recipes/java/spring/cloud2024/dependencyupgrades.md @@ -152,7 +152,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/cloud2024/springcloudproperties_2024.md b/docs/recipes/java/spring/cloud2024/springcloudproperties_2024.md new file mode 100644 index 0000000000..fc11a1c131 --- /dev/null +++ b/docs/recipes/java/spring/cloud2024/springcloudproperties_2024.md @@ -0,0 +1,114 @@ +--- +sidebar_label: "Migrate Spring Cloud properties to 2024" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring Cloud properties to 2024 + +**io.moderne.java.spring.cloud2024.SpringCloudProperties\_2024** + +_Migrate properties found in `application.properties` and `application.yml`._ + +### Tags + +* spring +* cloud + +## 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 SpringCloudProperties_2024 +``` + +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/cloud2024/upgradespringcloud_2024.md b/docs/recipes/java/spring/cloud2024/upgradespringcloud_2024.md index 41715c7a87..db8412d113 100644 --- a/docs/recipes/java/spring/cloud2024/upgradespringcloud_2024.md +++ b/docs/recipes/java/spring/cloud2024/upgradespringcloud_2024.md @@ -22,10 +22,6 @@ _Migrate applications to the latest Spring Cloud 2024 (Moorgate) 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). @@ -33,7 +29,6 @@ This recipe is available under the [Moderne Source Available License](https://do -* [Migrate to Spring Cloud 2023](../../../java/spring/cloud2023/upgradespringcloud_2023) * [Upgrade dependencies to Spring Cloud 2024](../../../java/spring/cloud2024/dependencyupgrades) @@ -51,7 +46,6 @@ tags: - spring - cloud recipeList: - - org.openrewrite.java.spring.cloud2023.UpgradeSpringCloud_2023 - org.openrewrite.java.spring.cloud2024.DependencyUpgrades ``` @@ -68,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -248,6 +242,3 @@ _Statistics used in analyzing the performance of recipes._ - -## Contributors -Tyler Van Gorder, [Knut Wannheden](mailto:knut@moderne.io), Cathy, [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com), [Nick McKinney](mailto:mckinneynichoals@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Kun Li, [Kyle Scully](mailto:scullykns@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/java/spring/cloud2025/README.md b/docs/recipes/java/spring/cloud2025/README.md index acf5ae33b9..ed9bfb9e4d 100644 --- a/docs/recipes/java/spring/cloud2025/README.md +++ b/docs/recipes/java/spring/cloud2025/README.md @@ -4,10 +4,9 @@ _Recipes that include further recipes, often including the individual recipes below._ -* [Upgrade dependencies to Spring Cloud 2025](./dependencyupgrades.md) - -## Recipes - +* [Change Deprecated Spring Cloud Gateway Artifacts](./changedeprecatedartifacts.md) +* [Migrate Spring Cloud properties to 2025](./springcloudproperties_2025.md) * [Migrate to Spring Cloud 2025](./upgradespringcloud_2025.md) +* [Upgrade dependencies to Spring Cloud 2025](./dependencyupgrades.md) diff --git a/docs/recipes/java/spring/cloud2025/changedeprecatedartifacts.md b/docs/recipes/java/spring/cloud2025/changedeprecatedartifacts.md new file mode 100644 index 0000000000..290cce3768 --- /dev/null +++ b/docs/recipes/java/spring/cloud2025/changedeprecatedartifacts.md @@ -0,0 +1,108 @@ +--- +sidebar_label: "Change Deprecated Spring Cloud Gateway Artifacts" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Change Deprecated Spring Cloud Gateway Artifacts + +**io.moderne.java.spring.cloud2025.ChangeDeprecatedArtifacts** + + +## 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 ChangeDeprecatedArtifacts +``` + +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/cloud2025/springcloudproperties_2025.md b/docs/recipes/java/spring/cloud2025/springcloudproperties_2025.md new file mode 100644 index 0000000000..a8eddc0b81 --- /dev/null +++ b/docs/recipes/java/spring/cloud2025/springcloudproperties_2025.md @@ -0,0 +1,114 @@ +--- +sidebar_label: "Migrate Spring Cloud properties to 2025" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate Spring Cloud properties to 2025 + +**io.moderne.java.spring.cloud2025.SpringCloudProperties\_2025** + +_Migrate properties found in `application.properties` and `application.yml`._ + +### Tags + +* spring +* cloud + +## 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 SpringCloudProperties_2025 +``` + +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/commentoutspringpropertykey.md b/docs/recipes/java/spring/commentoutspringpropertykey.md index 40b17397eb..4087a1ca6c 100644 --- a/docs/recipes/java/spring/commentoutspringpropertykey.md +++ b/docs/recipes/java/spring/commentoutspringpropertykey.md @@ -87,7 +87,7 @@ Now that `com.yourorg.CommentOutSpringPropertyKeyExample` has been defined, acti ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/jdbctemplatequeryforlongmigration.md b/docs/recipes/java/spring/data/jdbctemplatequeryforlongmigration.md index df7ee562fe..9f1f36a491 100644 --- a/docs/recipes/java/spring/data/jdbctemplatequeryforlongmigration.md +++ b/docs/recipes/java/spring/data/jdbctemplatequeryforlongmigration.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/migrateauditorawaretooptional.md b/docs/recipes/java/spring/data/migrateauditorawaretooptional.md index 4164afdd20..21e11a3ac9 100644 --- a/docs/recipes/java/spring/data/migrateauditorawaretooptional.md +++ b/docs/recipes/java/spring/data/migrateauditorawaretooptional.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -267,4 +267,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), rob-valor diff --git a/docs/recipes/java/spring/data/migratejpasort.md b/docs/recipes/java/spring/data/migratejpasort.md index 491ec34e8d..703d6d8447 100644 --- a/docs/recipes/java/spring/data/migratejpasort.md +++ b/docs/recipes/java/spring/data/migratejpasort.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/migratequerydsljparepository.md b/docs/recipes/java/spring/data/migratequerydsljparepository.md index b2d89cf419..5672b4c329 100644 --- a/docs/recipes/java/spring/data/migratequerydsljparepository.md +++ b/docs/recipes/java/spring/data/migratequerydsljparepository.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md b/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md index 8245955bb8..3654390e1c 100644 --- a/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md +++ b/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_3.md b/docs/recipes/java/spring/data/upgradespringdata_2_3.md index 2ad15f78d2..496e174b9a 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_3.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_3.md @@ -207,7 +207,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_5.md b/docs/recipes/java/spring/data/upgradespringdata_2_5.md index 2955b337a4..8affa460f1 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_5.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_5.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_7.md b/docs/recipes/java/spring/data/upgradespringdata_2_7.md index 23f0b42b9e..0709e87cda 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_7.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_7.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md b/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md index edcfbf3134..76f31cdc45 100644 --- a/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md +++ b/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/usejparepositorygetbyid.md b/docs/recipes/java/spring/data/usejparepositorygetbyid.md index 7b88ad2a40..aacf9a6e36 100644 --- a/docs/recipes/java/spring/data/usejparepositorygetbyid.md +++ b/docs/recipes/java/spring/data/usejparepositorygetbyid.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md b/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md index 2b1817462c..d92e661b72 100644 --- a/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md +++ b/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md @@ -65,20 +65,6 @@ recipeList: ##### Example 1 -###### Unchanged -```java -package foo; -public class Book {} -``` - -###### Unchanged -```java -package foo; -import org.springframework.data.jpa.repository.JpaRepository; -public interface BookRepository extends JpaRepository { -} -``` - @@ -123,25 +109,25 @@ class A { ---- - -##### Example 2 - - ###### Unchanged ```java package foo; -public class Book {} +import org.springframework.data.jpa.repository.JpaRepository; +public interface BookRepository extends JpaRepository { +} ``` ###### Unchanged ```java package foo; -import org.springframework.data.jpa.repository.JpaRepository; -public interface BookRepository extends JpaRepository { -} +public class Book {} ``` +--- + +##### Example 2 + + @@ -186,6 +172,20 @@ class A { +###### Unchanged +```java +package foo; +import org.springframework.data.jpa.repository.JpaRepository; +public interface BookRepository extends JpaRepository { +} +``` + +###### Unchanged +```java +package foo; +public class Book {} +``` + ## Usage @@ -197,7 +197,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md b/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md index 3fbdec4ce8..70222ce41f 100644 --- a/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md +++ b/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md @@ -40,58 +40,58 @@ This recipe is available under the [Moderne Source Available License](https://do - + ###### Before -```yaml -spring: - datasource: - url: 'jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30;' +```properties +spring.datasource.url=jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30; ``` ###### After -```yaml -spring: - datasource: - url: 'jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true;' +```properties +spring.datasource.url=jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true; ``` ```diff -@@ -3,1 +3,1 @@ -spring: - datasource: -- url: 'jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30;' -+ url: 'jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true;' +@@ -1,1 +1,1 @@ +-spring.datasource.url=jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30; ++spring.datasource.url=jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true; ``` - + ###### Before -```properties -spring.datasource.url=jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30; +```yaml +spring: + datasource: + url: 'jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30;' ``` ###### After -```properties -spring.datasource.url=jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true; +```yaml +spring: + datasource: + url: 'jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true;' ``` ```diff -@@ -1,1 +1,1 @@ --spring.datasource.url=jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30; -+spring.datasource.url=jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true; +@@ -3,1 +3,1 @@ +spring: + datasource: +- url: 'jdbc:db2://10.2.1.101:5021/DB2INST1:currentSchema=DEV;commandTimeout=30;' ++ url: 'jdbc:db2://10.2.1.101:15021/DB2INST1:currentSchema=DEV;commandTimeout=30;sslConnection=true;' ``` @@ -123,7 +123,7 @@ Now that `com.yourorg.UseTlsJdbcConnectionStringExample` has been defined, activ ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/deletespringproperty.md b/docs/recipes/java/spring/deletespringproperty.md index 4ac8b03af2..c0d8b6f246 100644 --- a/docs/recipes/java/spring/deletespringproperty.md +++ b/docs/recipes/java/spring/deletespringproperty.md @@ -67,7 +67,7 @@ Now that `com.yourorg.DeleteSpringPropertyExample` has been defined, activate it ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/doc/README.md b/docs/recipes/java/spring/doc/README.md new file mode 100644 index 0000000000..e8cd3827d4 --- /dev/null +++ b/docs/recipes/java/spring/doc/README.md @@ -0,0 +1,8 @@ +# Doc + +## Recipes + +* [Migrate `Docket` to `GroupedOpenAPI`](./migratedocketbeantogroupedopenapibean.md) +* [Removes @Import(BeanValidatorPluginsConfiguration.class)](./removebeanvalidatorpluginsconfiguration.md) + + diff --git a/docs/recipes/java/spring/doc/migratedocketbeantogroupedopenapibean.md b/docs/recipes/java/spring/doc/migratedocketbeantogroupedopenapibean.md new file mode 100644 index 0000000000..d09794466c --- /dev/null +++ b/docs/recipes/java/spring/doc/migratedocketbeantogroupedopenapibean.md @@ -0,0 +1,318 @@ +--- +sidebar_label: "Migrate Docket to GroupedOpenAPI" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrate `Docket` to `GroupedOpenAPI` + +**org.openrewrite.java.spring.doc.MigrateDocketBeanToGroupedOpenApiBean** + +_Migrate a `Docket` bean to a `GroupedOpenAPI` bean preserving group name, packages and paths. When possible the recipe will prefer property based configuration._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/doc/MigrateDocketBeanToGroupedOpenApiBean.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 +package org.project.example; + +import org.springframework.context.annotation.Bean; +import springfox.documentation.builders.PathSelectors; +import springfox.documentation.builders.RequestHandlerSelectors; +import springfox.documentation.spi.DocumentationType; +import springfox.documentation.spring.web.plugins.Docket; + +class ApplicationConfiguration { + @Bean + public Docket publicApi() { + return new Docket(DocumentationType.SWAGGER_2) + .select() + .apis(RequestHandlerSelectors.any()) + .paths(PathSelectors.any()) + .build() + .pathMapping("/"); + } +} +``` + +###### After +```java +package org.project.example; + +class ApplicationConfiguration { +} +``` + + + + +```diff +@@ -3,6 +3,0 @@ +package org.project.example; + +-import org.springframework.context.annotation.Bean; +-import springfox.documentation.builders.PathSelectors; +-import springfox.documentation.builders.RequestHandlerSelectors; +-import springfox.documentation.spi.DocumentationType; +-import springfox.documentation.spring.web.plugins.Docket; +- +class ApplicationConfiguration { +@@ -10,9 +4,0 @@ + +class ApplicationConfiguration { +- @Bean +- public Docket publicApi() { +- return new Docket(DocumentationType.SWAGGER_2) +- .select() +- .apis(RequestHandlerSelectors.any()) +- .paths(PathSelectors.any()) +- .build() +- .pathMapping("/"); +- } +} +``` + + + + + + + +###### Before +```yaml +spring.application.name: main +``` + +###### After +```yaml +spring.application.name: main +springdoc: + api-docs: + path: /v3/api-docs + swagger-ui: + path: /swagger-ui.html + paths-to-match: "/**" +``` + + + + +```diff +@@ -2,0 +2,6 @@ +spring.application.name: main ++springdoc: ++ api-docs: ++ path: /v3/api-docs ++ swagger-ui: ++ path: /swagger-ui.html ++ paths-to-match: "/**" + +``` + + + + +## 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.doc.MigrateDocketBeanToGroupedOpenApiBean") + 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.doc.MigrateDocketBeanToGroupedOpenApiBean") + 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.doc.MigrateDocketBeanToGroupedOpenApiBean + + + + + 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.doc.MigrateDocketBeanToGroupedOpenApiBean -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 MigrateDocketBeanToGroupedOpenApiBean +``` + +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/spring/doc/removebeanvalidatorpluginsconfiguration.md b/docs/recipes/java/spring/doc/removebeanvalidatorpluginsconfiguration.md new file mode 100644 index 0000000000..bd60922501 --- /dev/null +++ b/docs/recipes/java/spring/doc/removebeanvalidatorpluginsconfiguration.md @@ -0,0 +1,259 @@ +--- +sidebar_label: "Removes @Import(BeanValidatorPluginsConfiguration.class)" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Removes @Import(BeanValidatorPluginsConfiguration.class) + +**org.openrewrite.java.spring.doc.RemoveBeanValidatorPluginsConfiguration** + +_As Springdoc OpenAPI supports Bean Validation out of the box, the BeanValidatorPluginsConfiguration is no longer supported nor needed. Thus remove @Import(BeanValidatorPluginsConfiguration.class)._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/doc/RemoveBeanValidatorPluginsConfiguration.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.context.annotation.Configuration; +import org.springframework.context.annotation.Import; +import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration; + +@Configuration +@Import(BeanValidatorPluginsConfiguration.class) +class ApplicationConfiguration {} +``` + +###### After +```java +import org.springframework.context.annotation.Configuration; + +@Configuration +class ApplicationConfiguration {} +``` + + + + +```diff +@@ -2,2 +2,0 @@ +import org.springframework.context.annotation.Configuration; +-import org.springframework.context.annotation.Import; +-import springfox.bean.validators.configuration.BeanValidatorPluginsConfiguration; + +@@ -6,1 +4,0 @@ + +@Configuration +-@Import(BeanValidatorPluginsConfiguration.class) +class ApplicationConfiguration {} +``` + + + + +## 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.doc.RemoveBeanValidatorPluginsConfiguration") + 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.doc.RemoveBeanValidatorPluginsConfiguration") + 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.doc.RemoveBeanValidatorPluginsConfiguration + + + + + 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.doc.RemoveBeanValidatorPluginsConfiguration -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 RemoveBeanValidatorPluginsConfiguration +``` + +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 +[Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/spring/expandproperties.md b/docs/recipes/java/spring/expandproperties.md index fc8df3d32a..4341bfb8f5 100644 --- a/docs/recipes/java/spring/expandproperties.md +++ b/docs/recipes/java/spring/expandproperties.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/beanmethodreturnnull.md b/docs/recipes/java/spring/framework/beanmethodreturnnull.md index 924a12c62d..8dff369feb 100644 --- a/docs/recipes/java/spring/framework/beanmethodreturnnull.md +++ b/docs/recipes/java/spring/framework/beanmethodreturnnull.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/beanmethodsnotpublic.md b/docs/recipes/java/spring/framework/beanmethodsnotpublic.md index 68d0ec4513..23c4585967 100644 --- a/docs/recipes/java/spring/framework/beanmethodsnotpublic.md +++ b/docs/recipes/java/spring/framework/beanmethodsnotpublic.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/environmentacceptsprofiles.md b/docs/recipes/java/spring/framework/environmentacceptsprofiles.md index e0515a4af7..a29aaface2 100644 --- a/docs/recipes/java/spring/framework/environmentacceptsprofiles.md +++ b/docs/recipes/java/spring/framework/environmentacceptsprofiles.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md b/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md index e8787b8e0a..70d3bfacb2 100644 --- a/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md +++ b/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md @@ -123,7 +123,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md b/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md index 5b8f797d3f..ce3b76a910 100644 --- a/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md +++ b/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratebase64utils.md b/docs/recipes/java/spring/framework/migratebase64utils.md index 2c346070bf..3055250d82 100644 --- a/docs/recipes/java/spring/framework/migratebase64utils.md +++ b/docs/recipes/java/spring/framework/migratebase64utils.md @@ -110,7 +110,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratehandlerinterceptor.md b/docs/recipes/java/spring/framework/migratehandlerinterceptor.md index c9ccc087df..330c557a57 100644 --- a/docs/recipes/java/spring/framework/migratehandlerinterceptor.md +++ b/docs/recipes/java/spring/framework/migratehandlerinterceptor.md @@ -121,7 +121,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratehandlerresulthasexceptionhandlermethod.md b/docs/recipes/java/spring/framework/migratehandlerresulthasexceptionhandlermethod.md index 6bebc5c9dd..68bd2890a4 100644 --- a/docs/recipes/java/spring/framework/migratehandlerresulthasexceptionhandlermethod.md +++ b/docs/recipes/java/spring/framework/migratehandlerresulthasexceptionhandlermethod.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratehandlerresultsetexceptionhandlermethod.md b/docs/recipes/java/spring/framework/migratehandlerresultsetexceptionhandlermethod.md index eb3c32dfe6..de5e93568d 100644 --- a/docs/recipes/java/spring/framework/migratehandlerresultsetexceptionhandlermethod.md +++ b/docs/recipes/java/spring/framework/migratehandlerresultsetexceptionhandlermethod.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md b/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md index deae188f7f..84ecf138c0 100644 --- a/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md +++ b/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratemethodargumentnotvalidexceptionerrormethod.md b/docs/recipes/java/spring/framework/migratemethodargumentnotvalidexceptionerrormethod.md index 47e054968c..9cac433675 100644 --- a/docs/recipes/java/spring/framework/migratemethodargumentnotvalidexceptionerrormethod.md +++ b/docs/recipes/java/spring/framework/migratemethodargumentnotvalidexceptionerrormethod.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migrateresourcehttpmessagewriteraddheadersmethod.md b/docs/recipes/java/spring/framework/migrateresourcehttpmessagewriteraddheadersmethod.md index 06b6385d08..911ebfde93 100644 --- a/docs/recipes/java/spring/framework/migrateresourcehttpmessagewriteraddheadersmethod.md +++ b/docs/recipes/java/spring/framework/migrateresourcehttpmessagewriteraddheadersmethod.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md b/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md index 78493b9639..146c90a0ad 100644 --- a/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md +++ b/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migrateresponsestatusexception.md b/docs/recipes/java/spring/framework/migrateresponsestatusexception.md index ae3c67da76..a684cdc0e0 100644 --- a/docs/recipes/java/spring/framework/migrateresponsestatusexception.md +++ b/docs/recipes/java/spring/framework/migrateresponsestatusexception.md @@ -161,7 +161,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md index 2236b35226..3f2d8cce72 100644 --- a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md +++ b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md index 480f0e8ef3..985b9aef3e 100644 --- a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md +++ b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratespringassert.md b/docs/recipes/java/spring/framework/migratespringassert.md index 5893941f90..3dc29c44b5 100644 --- a/docs/recipes/java/spring/framework/migratespringassert.md +++ b/docs/recipes/java/spring/framework/migratespringassert.md @@ -241,7 +241,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migrateuricomponentsbuildermethods.md b/docs/recipes/java/spring/framework/migrateuricomponentsbuildermethods.md index f04bb2fc98..95b37beac9 100644 --- a/docs/recipes/java/spring/framework/migrateuricomponentsbuildermethods.md +++ b/docs/recipes/java/spring/framework/migrateuricomponentsbuildermethods.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -273,4 +273,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Cathy +Cathy, [JohannisK](mailto:johan.kragt@moderne.io) diff --git a/docs/recipes/java/spring/framework/migrateutf8mediatypes.md b/docs/recipes/java/spring/framework/migrateutf8mediatypes.md index 893a0ce370..22e69948ef 100644 --- a/docs/recipes/java/spring/framework/migrateutf8mediatypes.md +++ b/docs/recipes/java/spring/framework/migrateutf8mediatypes.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratewebexchangebindexceptionresolveerrormethod.md b/docs/recipes/java/spring/framework/migratewebexchangebindexceptionresolveerrormethod.md index 46d7484063..e1bcedc191 100644 --- a/docs/recipes/java/spring/framework/migratewebexchangebindexceptionresolveerrormethod.md +++ b/docs/recipes/java/spring/framework/migratewebexchangebindexceptionresolveerrormethod.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md b/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md index 7fa4ddd47a..fb4bd5bfc3 100644 --- a/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md +++ b/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_0.md b/docs/recipes/java/spring/framework/upgradespringframework_5_0.md index f1b424b3be..265f0a8308 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_0.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_0.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_1.md b/docs/recipes/java/spring/framework/upgradespringframework_5_1.md index 22ca439b40..b07c0dc63c 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_1.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_1.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_2.md b/docs/recipes/java/spring/framework/upgradespringframework_5_2.md index 8cf8a011d3..2905f6e09c 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_2.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_2.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_3.md b/docs/recipes/java/spring/framework/upgradespringframework_5_3.md index 516719b263..0d379c76ac 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_3.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_3.md @@ -118,7 +118,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_0.md b/docs/recipes/java/spring/framework/upgradespringframework_6_0.md index e7f6989845..037b8c841e 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_0.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_0.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -260,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@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), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Adriano Machado, [Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@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: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) diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_1.md b/docs/recipes/java/spring/framework/upgradespringframework_6_1.md index fd5c40eedc..c74b1755e2 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_1.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_1.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -252,4 +252,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@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), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), Kun Li, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Simon Verhoeven](mailto:verhoeven.simon@gmail.com), Adriano Machado, [Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@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: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) diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_2.md b/docs/recipes/java/spring/framework/upgradespringframework_6_2.md index 92da05dc04..df3b91d293 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_2.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_2.md @@ -122,7 +122,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -304,4 +304,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), Cathy, [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), Adriano Machado, [Sam Snyder](mailto:sam@moderne.io), [Greg Oledzki](mailto:greg.oledzki@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, [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) diff --git a/docs/recipes/java/spring/framework/useobjectutilsisempty.md b/docs/recipes/java/spring/framework/useobjectutilsisempty.md index 7917a898f8..e36d7b2092 100644 --- a/docs/recipes/java/spring/framework/useobjectutilsisempty.md +++ b/docs/recipes/java/spring/framework/useobjectutilsisempty.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md b/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md index f9e863c256..caea57373e 100644 --- a/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md +++ b/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md b/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md index 8ad8c88650..47c5a14cc5 100644 --- a/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md +++ b/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md b/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md index 9f0368c19d..e1270d5e1e 100644 --- a/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md +++ b/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/http/simplifywebtestclientcalls.md b/docs/recipes/java/spring/http/simplifywebtestclientcalls.md index 1776153ebb..786e70ffef 100644 --- a/docs/recipes/java/spring/http/simplifywebtestclientcalls.md +++ b/docs/recipes/java/spring/http/simplifywebtestclientcalls.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/http/springwebdependency.md b/docs/recipes/java/spring/http/springwebdependency.md index 77fd945fbe..75a9bcf0c4 100644 --- a/docs/recipes/java/spring/http/springwebdependency.md +++ b/docs/recipes/java/spring/http/springwebdependency.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/implicitwebannotationnames.md b/docs/recipes/java/spring/implicitwebannotationnames.md index 765b763330..578016aa36 100644 --- a/docs/recipes/java/spring/implicitwebannotationnames.md +++ b/docs/recipes/java/spring/implicitwebannotationnames.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md b/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md index c3535c5e03..0168254a1f 100644 --- a/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md +++ b/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/kafka/kafkatestutilsduration.md b/docs/recipes/java/spring/kafka/kafkatestutilsduration.md index 93f4bee202..a9569ea2fe 100644 --- a/docs/recipes/java/spring/kafka/kafkatestutilsduration.md +++ b/docs/recipes/java/spring/kafka/kafkatestutilsduration.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md b/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md index b77c40c3a9..9146589a4e 100644 --- a/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md +++ b/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md b/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md index fe2cefb84b..bcd597922f 100644 --- a/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md +++ b/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md @@ -202,7 +202,7 @@ import java.util.concurrent.CompletableFuture; class Foo { void bar(KafkaOperations kafkaOperations) { - KafkaOperations2 kafkaOperations2 = kafkaOperations.usingCompletableFuture(); + KafkaOperations2 k2 = kafkaOperations.usingCompletableFuture(); } } ``` @@ -216,7 +216,7 @@ import java.util.concurrent.CompletableFuture; class Foo { void bar(KafkaOperations kafkaOperations) { - KafkaOperations kafkaOperations2 = kafkaOperations; + KafkaOperations k2 = kafkaOperations; } } ``` @@ -233,8 +233,8 @@ import org.springframework.kafka.support.SendResult; @@ -9,1 +8,1 @@ class Foo { void bar(KafkaOperations kafkaOperations) { -- KafkaOperations2 kafkaOperations2 = kafkaOperations.usingCompletableFuture(); -+ KafkaOperations kafkaOperations2 = kafkaOperations; +- KafkaOperations2 k2 = kafkaOperations.usingCompletableFuture(); ++ KafkaOperations k2 = kafkaOperations; } ``` @@ -354,7 +354,7 @@ import java.util.concurrent.CompletableFuture; class Foo { void bar(KafkaOperations kafkaOperations) { - KafkaOperations2 kafkaOperations2 = kafkaOperations.usingCompletableFuture(); + KafkaOperations2 k2 = kafkaOperations.usingCompletableFuture(); } } ``` @@ -368,7 +368,7 @@ import java.util.concurrent.CompletableFuture; class Foo { void bar(KafkaOperations kafkaOperations) { - KafkaOperations kafkaOperations2 = kafkaOperations; + KafkaOperations k2 = kafkaOperations; } } ``` @@ -385,8 +385,8 @@ import org.springframework.kafka.support.SendResult; @@ -9,1 +8,1 @@ class Foo { void bar(KafkaOperations kafkaOperations) { -- KafkaOperations2 kafkaOperations2 = kafkaOperations.usingCompletableFuture(); -+ KafkaOperations kafkaOperations2 = kafkaOperations; +- KafkaOperations2 k2 = kafkaOperations.usingCompletableFuture(); ++ KafkaOperations k2 = kafkaOperations; } ``` @@ -403,7 +403,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/noautowiredonconstructor.md b/docs/recipes/java/spring/noautowiredonconstructor.md index 9adb5ef01e..27c1a0237c 100644 --- a/docs/recipes/java/spring/noautowiredonconstructor.md +++ b/docs/recipes/java/spring/noautowiredonconstructor.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/norepoannotationonrepointerface.md b/docs/recipes/java/spring/norepoannotationonrepointerface.md index 6191650cd0..0e9d022f75 100644 --- a/docs/recipes/java/spring/norepoannotationonrepointerface.md +++ b/docs/recipes/java/spring/norepoannotationonrepointerface.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/norequestmappingannotation.md b/docs/recipes/java/spring/norequestmappingannotation.md index 36503bd18e..a3f81bf0db 100644 --- a/docs/recipes/java/spring/norequestmappingannotation.md +++ b/docs/recipes/java/spring/norequestmappingannotation.md @@ -137,7 +137,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/propertiestokebabcase.md b/docs/recipes/java/spring/propertiestokebabcase.md index 9355dbba0d..b24b8b4419 100644 --- a/docs/recipes/java/spring/propertiestokebabcase.md +++ b/docs/recipes/java/spring/propertiestokebabcase.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/renamebean.md b/docs/recipes/java/spring/renamebean.md index bcdb4f3b9e..9d436f1875 100644 --- a/docs/recipes/java/spring/renamebean.md +++ b/docs/recipes/java/spring/renamebean.md @@ -231,7 +231,7 @@ Now that `com.yourorg.RenameBeanExample` has been defined, activate it and take ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/search/findapicalls.md b/docs/recipes/java/spring/search/findapicalls.md index cd5b287958..26beea1992 100644 --- a/docs/recipes/java/spring/search/findapicalls.md +++ b/docs/recipes/java/spring/search/findapicalls.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/search/findapiendpoints.md b/docs/recipes/java/spring/search/findapiendpoints.md index a0d55048ab..fe11702a4d 100644 --- a/docs/recipes/java/spring/search/findapiendpoints.md +++ b/docs/recipes/java/spring/search/findapiendpoints.md @@ -129,7 +129,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/search/findspringcomponents.md b/docs/recipes/java/spring/search/findspringcomponents.md index 298740e75a..7310844aba 100644 --- a/docs/recipes/java/spring/search/findspringcomponents.md +++ b/docs/recipes/java/spring/search/findspringcomponents.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/authorizehttprequests.md b/docs/recipes/java/spring/security5/authorizehttprequests.md index 22c1648991..3582ed774f 100644 --- a/docs/recipes/java/spring/security5/authorizehttprequests.md +++ b/docs/recipes/java/spring/security5/authorizehttprequests.md @@ -101,7 +101,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md b/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md index 310fd89fd5..accb62e354 100644 --- a/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md +++ b/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md @@ -203,7 +203,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md index 40164e2ff7..6eab455ca0 100644 --- a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md +++ b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md index 010552d48c..352714cce5 100644 --- a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md +++ b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md b/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md index d507cb0073..15b78d8714 100644 --- a/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md +++ b/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/updateargon2passwordencoder.md b/docs/recipes/java/spring/security5/updateargon2passwordencoder.md index 1de0af0ea7..0edaa28480 100644 --- a/docs/recipes/java/spring/security5/updateargon2passwordencoder.md +++ b/docs/recipes/java/spring/security5/updateargon2passwordencoder.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md b/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md index b458714479..66863e8eb8 100644 --- a/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md +++ b/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md b/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md index 93168425d6..7fce849d91 100644 --- a/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md +++ b/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md b/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md index e78a66d013..b8648564b5 100644 --- a/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md +++ b/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md @@ -235,7 +235,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md b/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md index 0a2efa11a8..aa96a1b47f 100644 --- a/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md +++ b/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/usenewrequestmatchers.md b/docs/recipes/java/spring/security5/usenewrequestmatchers.md index 2af1385e04..61fffc7ebc 100644 --- a/docs/recipes/java/spring/security5/usenewrequestmatchers.md +++ b/docs/recipes/java/spring/security5/usenewrequestmatchers.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/usenewsecuritymatchers.md b/docs/recipes/java/spring/security5/usenewsecuritymatchers.md index bc400de4e1..7778b1f82e 100644 --- a/docs/recipes/java/spring/security5/usenewsecuritymatchers.md +++ b/docs/recipes/java/spring/security5/usenewsecuritymatchers.md @@ -101,7 +101,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security5/websecurityconfigureradapter.md b/docs/recipes/java/spring/security5/websecurityconfigureradapter.md index ad088e1fb0..775c7d11f6 100644 --- a/docs/recipes/java/spring/security5/websecurityconfigureradapter.md +++ b/docs/recipes/java/spring/security5/websecurityconfigureradapter.md @@ -135,7 +135,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/applytowithlambdadsl.md b/docs/recipes/java/spring/security6/applytowithlambdadsl.md index 33cd5bd69f..c5088772df 100644 --- a/docs/recipes/java/spring/security6/applytowithlambdadsl.md +++ b/docs/recipes/java/spring/security6/applytowithlambdadsl.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md index 180e889473..2885492bd6 100644 --- a/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md index 49f400cace..a551165389 100644 --- a/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { 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 600216e92e..47c9b2f456 100644 --- a/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md b/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md index 7e99730675..be0604962a 100644 --- a/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md +++ b/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md b/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md index b2376879f9..1017567ac6 100644 --- a/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md +++ b/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/removeoauth2loginconfig.md b/docs/recipes/java/spring/security6/removeoauth2loginconfig.md index 9ae5705342..822b513424 100644 --- a/docs/recipes/java/spring/security6/removeoauth2loginconfig.md +++ b/docs/recipes/java/spring/security6/removeoauth2loginconfig.md @@ -107,7 +107,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md b/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md index 0b81ce3622..29974991ad 100644 --- a/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md +++ b/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md b/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md index 4220477ecb..8d3515991d 100644 --- a/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md +++ b/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md b/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md index 7b02331a9d..95af83f76c 100644 --- a/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md +++ b/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/updaterequestcache.md b/docs/recipes/java/spring/security6/updaterequestcache.md index 8d3b18a45c..44802eb928 100644 --- a/docs/recipes/java/spring/security6/updaterequestcache.md +++ b/docs/recipes/java/spring/security6/updaterequestcache.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md index b57b70e379..37b4614402 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md index e7f29d3399..57d507aebf 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md index 938ce070d8..c22d94e62a 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md index f2bb539c9d..a215b4826e 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_3.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/security6/usesha256inrememberme.md b/docs/recipes/java/spring/security6/usesha256inrememberme.md index 79d445c6c3..47e1afbeab 100644 --- a/docs/recipes/java/spring/security6/usesha256inrememberme.md +++ b/docs/recipes/java/spring/security6/usesha256inrememberme.md @@ -133,7 +133,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/separateapplicationyamlbyprofile.md b/docs/recipes/java/spring/separateapplicationyamlbyprofile.md index bb8b5e272b..62b0dcf813 100644 --- a/docs/recipes/java/spring/separateapplicationyamlbyprofile.md +++ b/docs/recipes/java/spring/separateapplicationyamlbyprofile.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/test/springrulestojunitextension.md b/docs/recipes/java/spring/test/springrulestojunitextension.md index 78751c2789..6d87f5bb91 100644 --- a/docs/recipes/java/spring/test/springrulestojunitextension.md +++ b/docs/recipes/java/spring/test/springrulestojunitextension.md @@ -48,8 +48,11 @@ class SomeTest { ###### After ```java +import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit.jupiter.SpringExtension; +@ExtendWith(SpringExtension.class) @SpringBootTest class SomeTest { @@ -60,14 +63,23 @@ class SomeTest { ```diff -@@ -2,4 +2,0 @@ +@@ -1,0 +1,1 @@ ++import org.junit.jupiter.api.extension.ExtendWith; +import org.springframework.boot.test.context.SpringBootTest; +@@ -2,4 +3,1 @@ import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.rules.SpringClassRule; -import org.springframework.test.context.junit4.rules.SpringMethodRule; -import org.junit.ClassRule; -import org.junit.Rule; ++import org.springframework.test.context.junit.jupiter.SpringExtension; + +@@ -7,0 +5,1 @@ +import org.junit.Rule; -@@ -10,6 +6,0 @@ ++@ExtendWith(SpringExtension.class) +@SpringBootTest +@@ -10,6 +9,0 @@ class SomeTest { - @ClassRule @@ -92,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/spring/updateapimanifest.md b/docs/recipes/java/spring/updateapimanifest.md index 094575f503..7ed463e133 100644 --- a/docs/recipes/java/spring/updateapimanifest.md +++ b/docs/recipes/java/spring/updateapimanifest.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/springdoc/README.md b/docs/recipes/java/springdoc/README.md index 74df2ec8cd..8c37956c1e 100644 --- a/docs/recipes/java/springdoc/README.md +++ b/docs/recipes/java/springdoc/README.md @@ -8,6 +8,10 @@ _Recipes that include further recipes, often including the individual recipes be * [Migrate from Swagger to SpringDoc and OpenAPI](./swaggertospringdoc.md) * [Migrate from springdoc-openapi-common to springdoc-openapi-starter-common](./migratespringdoccommon.md) * [Replace SpringFox Dependencies](./replacespringfoxdependencies.md) -* [Upgrade SpringDoc](./upgradespringdoc_2.md) +* [Upgrade to SpringDoc 2.1](./upgradespringdoc_2.md) +* [Upgrade to SpringDoc 2.2](./upgradespringdoc_2_2.md) +* [Upgrade to SpringDoc 2.5](./upgradespringdoc_2_5.md) +* [Upgrade to SpringDoc 2.6](./upgradespringdoc_2_6.md) +* [Upgrade to SpringDoc 2.8](./upgradespringdoc_2_8.md) diff --git a/docs/recipes/java/springdoc/migratespringdoccommon.md b/docs/recipes/java/springdoc/migratespringdoccommon.md index 11afdc026b..1e557b5cc3 100644 --- a/docs/recipes/java/springdoc/migratespringdoccommon.md +++ b/docs/recipes/java/springdoc/migratespringdoccommon.md @@ -249,7 +249,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/springdoc/replacespringfoxdependencies.md b/docs/recipes/java/springdoc/replacespringfoxdependencies.md index 48b8735ac5..87c4484347 100644 --- a/docs/recipes/java/springdoc/replacespringfoxdependencies.md +++ b/docs/recipes/java/springdoc/replacespringfoxdependencies.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/springdoc/springfoxtospringdoc.md b/docs/recipes/java/springdoc/springfoxtospringdoc.md index 3a653e986c..26cfd4853f 100644 --- a/docs/recipes/java/springdoc/springfoxtospringdoc.md +++ b/docs/recipes/java/springdoc/springfoxtospringdoc.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -256,4 +256,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, Tyler Van Gorder, [Tim te Beek](mailto:tim@moderne.io), [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), [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) diff --git a/docs/recipes/java/springdoc/swaggertospringdoc.md b/docs/recipes/java/springdoc/swaggertospringdoc.md index 62f36ff4a0..f0631090e8 100644 --- a/docs/recipes/java/springdoc/swaggertospringdoc.md +++ b/docs/recipes/java/springdoc/swaggertospringdoc.md @@ -35,6 +35,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate from Swagger to OpenAPI](../../openapi/swagger/swaggertoopenapi) +* [Removes @Import(BeanValidatorPluginsConfiguration.class)](../../java/spring/doc/removebeanvalidatorpluginsconfiguration) * [Delete a spring configuration property](../../java/spring/deletespringproperty) * propertyKey: `swagger.title` * [Delete a spring configuration property](../../java/spring/deletespringproperty) @@ -44,6 +45,9 @@ This recipe is available under the [Moderne Source Available License](https://do * [Remove a Gradle or Maven dependency](../../java/dependencies/removedependency) * groupId: `io.swagger.core.v3` * artifactId: `swagger-annotations` +* [Remove annotation](../../java/removeannotation) + * annotationPattern: `@springfox.documentation.swagger2.annotations.EnableSwagger2` +* [Migrate `Docket` to `GroupedOpenAPI`](../../java/spring/doc/migratedocketbeantogroupedopenapibean) @@ -62,6 +66,7 @@ tags: - swagger recipeList: - org.openrewrite.openapi.swagger.SwaggerToOpenAPI + - org.openrewrite.java.spring.doc.RemoveBeanValidatorPluginsConfiguration - org.openrewrite.java.spring.DeleteSpringProperty: propertyKey: swagger.title - org.openrewrite.java.spring.DeleteSpringProperty: @@ -71,6 +76,9 @@ recipeList: - org.openrewrite.java.dependencies.RemoveDependency: groupId: io.swagger.core.v3 artifactId: swagger-annotations + - org.openrewrite.java.RemoveAnnotation: + annotationPattern: @springfox.documentation.swagger2.annotations.EnableSwagger2 + - org.openrewrite.java.spring.doc.MigrateDocketBeanToGroupedOpenApiBean ``` @@ -86,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -268,4 +276,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, Tyler Van Gorder, [Tim te Beek](mailto:tim@moderne.io), [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), [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) diff --git a/docs/recipes/java/springdoc/upgradespringdoc_2.md b/docs/recipes/java/springdoc/upgradespringdoc_2.md index 11ddbe376f..bed9f2d582 100644 --- a/docs/recipes/java/springdoc/upgradespringdoc_2.md +++ b/docs/recipes/java/springdoc/upgradespringdoc_2.md @@ -1,15 +1,15 @@ --- -sidebar_label: "Upgrade SpringDoc" +sidebar_label: "Upgrade to SpringDoc 2.1" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Upgrade SpringDoc +# Upgrade to SpringDoc 2.1 **org.openrewrite.java.springdoc.UpgradeSpringDoc\_2** -_Upgrade to SpringDoc v2, as described in the [upgrade guide](https://springdoc.org/#migrating-from-springdoc-v1)._ +_Upgrade to SpringDoc v2.1, as described in the [upgrade guide](https://springdoc.org/#migrating-from-springdoc-v1)._ ### Tags @@ -77,31 +77,31 @@ This recipe is available under the [Moderne Source Available License](https://do * oldGroupId: `org.springdoc` * oldArtifactId: `springdoc-openapi-common` * newArtifactId: `springdoc-openapi-starter-common` - * newVersion: `2.x` + * newVersion: `2.1.x` * [Change Gradle or Maven dependency](../../java/dependencies/changedependency) * oldGroupId: `org.springdoc` * oldArtifactId: `springdoc-openapi-webmvc-core` * newArtifactId: `springdoc-openapi-starter-webmvc-api` - * newVersion: `2.x` + * newVersion: `2.1.x` * [Change Gradle or Maven dependency](../../java/dependencies/changedependency) * oldGroupId: `org.springdoc` * oldArtifactId: `springdoc-openapi-webflux-core` * newArtifactId: `springdoc-openapi-starter-webflux-api` - * newVersion: `2.x` + * newVersion: `2.1.x` * [Change Gradle or Maven dependency](../../java/dependencies/changedependency) * oldGroupId: `org.springdoc` * oldArtifactId: `springdoc-openapi-ui` * newArtifactId: `springdoc-openapi-starter-webmvc-ui` - * newVersion: `2.x` + * newVersion: `2.1.x` * [Change Gradle or Maven dependency](../../java/dependencies/changedependency) * oldGroupId: `org.springdoc` * oldArtifactId: `springdoc-openapi-webflux-ui` * newArtifactId: `springdoc-openapi-starter-webflux-ui` - * newVersion: `2.x` + * newVersion: `2.1.x` * [Upgrade Gradle or Maven dependency versions](../../java/dependencies/upgradedependencyversion) * groupId: `org.springdoc` * artifactId: `*` - * newVersion: `2.x` + * newVersion: `2.1.x` @@ -111,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.springdoc.UpgradeSpringDoc_2 -displayName: Upgrade SpringDoc +displayName: Upgrade to SpringDoc 2.1 description: | - Upgrade to SpringDoc v2, as described in the [upgrade guide](https://springdoc.org/#migrating-from-springdoc-v1). + Upgrade to SpringDoc v2.1, as described in the [upgrade guide](https://springdoc.org/#migrating-from-springdoc-v1). tags: - springdoc recipeList: @@ -162,31 +162,31 @@ recipeList: oldGroupId: org.springdoc oldArtifactId: springdoc-openapi-common newArtifactId: springdoc-openapi-starter-common - newVersion: 2.x + newVersion: 2.1.x - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: org.springdoc oldArtifactId: springdoc-openapi-webmvc-core newArtifactId: springdoc-openapi-starter-webmvc-api - newVersion: 2.x + newVersion: 2.1.x - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: org.springdoc oldArtifactId: springdoc-openapi-webflux-core newArtifactId: springdoc-openapi-starter-webflux-api - newVersion: 2.x + newVersion: 2.1.x - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: org.springdoc oldArtifactId: springdoc-openapi-ui newArtifactId: springdoc-openapi-starter-webmvc-ui - newVersion: 2.x + newVersion: 2.1.x - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: org.springdoc oldArtifactId: springdoc-openapi-webflux-ui newArtifactId: springdoc-openapi-starter-webflux-ui - newVersion: 2.x + newVersion: 2.1.x - org.openrewrite.java.dependencies.UpgradeDependencyVersion: groupId: org.springdoc artifactId: "*" - newVersion: 2.x + newVersion: 2.1.x ``` @@ -255,7 +255,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/springdoc/upgradespringdoc_2_2.md b/docs/recipes/java/springdoc/upgradespringdoc_2_2.md new file mode 100644 index 0000000000..95ae610c54 --- /dev/null +++ b/docs/recipes/java/springdoc/upgradespringdoc_2_2.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Upgrade to SpringDoc 2.2" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Upgrade to SpringDoc 2.2 + +**org.openrewrite.java.springdoc.UpgradeSpringDoc\_2\_2** + +_Upgrade to SpringDoc v2.2._ + +### Tags + +* springdoc + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.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 + + + +* [Upgrade to SpringDoc 2.1](../../java/springdoc/upgradespringdoc_2) +* [Upgrade Gradle or Maven dependency versions](../../java/dependencies/upgradedependencyversion) + * groupId: `org.springdoc` + * artifactId: `*` + * newVersion: `2.2.x` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.springdoc.UpgradeSpringDoc_2_2 +displayName: Upgrade to SpringDoc 2.2 +description: | + Upgrade to SpringDoc v2.2. +tags: + - springdoc +recipeList: + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2 + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.springdoc + artifactId: "*" + newVersion: 2.2.x + +``` + + + +## 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.springdoc.UpgradeSpringDoc_2_2") + 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.springdoc.UpgradeSpringDoc_2_2") + 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.springdoc.UpgradeSpringDoc_2_2 + + + + + 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.springdoc.UpgradeSpringDoc_2_2 -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 UpgradeSpringDoc_2_2 +``` + +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/springdoc/upgradespringdoc_2_5.md b/docs/recipes/java/springdoc/upgradespringdoc_2_5.md new file mode 100644 index 0000000000..506fc919b1 --- /dev/null +++ b/docs/recipes/java/springdoc/upgradespringdoc_2_5.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Upgrade to SpringDoc 2.5" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Upgrade to SpringDoc 2.5 + +**org.openrewrite.java.springdoc.UpgradeSpringDoc\_2\_5** + +_Upgrade to SpringDoc v2.5._ + +### Tags + +* springdoc + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.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 + + + +* [Upgrade to SpringDoc 2.2](../../java/springdoc/upgradespringdoc_2_2) +* [Upgrade Gradle or Maven dependency versions](../../java/dependencies/upgradedependencyversion) + * groupId: `org.springdoc` + * artifactId: `*` + * newVersion: `2.5.x` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.springdoc.UpgradeSpringDoc_2_5 +displayName: Upgrade to SpringDoc 2.5 +description: | + Upgrade to SpringDoc v2.5. +tags: + - springdoc +recipeList: + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2_2 + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.springdoc + artifactId: "*" + newVersion: 2.5.x + +``` + + + +## 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.springdoc.UpgradeSpringDoc_2_5") + 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.springdoc.UpgradeSpringDoc_2_5") + 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.springdoc.UpgradeSpringDoc_2_5 + + + + + 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.springdoc.UpgradeSpringDoc_2_5 -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 UpgradeSpringDoc_2_5 +``` + +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/springdoc/upgradespringdoc_2_6.md b/docs/recipes/java/springdoc/upgradespringdoc_2_6.md new file mode 100644 index 0000000000..7c19955975 --- /dev/null +++ b/docs/recipes/java/springdoc/upgradespringdoc_2_6.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Upgrade to SpringDoc 2.6" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Upgrade to SpringDoc 2.6 + +**org.openrewrite.java.springdoc.UpgradeSpringDoc\_2\_6** + +_Upgrade to SpringDoc v2.6._ + +### Tags + +* springdoc + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.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 + + + +* [Upgrade to SpringDoc 2.5](../../java/springdoc/upgradespringdoc_2_5) +* [Upgrade Gradle or Maven dependency versions](../../java/dependencies/upgradedependencyversion) + * groupId: `org.springdoc` + * artifactId: `*` + * newVersion: `2.6.x` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.springdoc.UpgradeSpringDoc_2_6 +displayName: Upgrade to SpringDoc 2.6 +description: | + Upgrade to SpringDoc v2.6. +tags: + - springdoc +recipeList: + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2_5 + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.springdoc + artifactId: "*" + newVersion: 2.6.x + +``` + + + +## 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.springdoc.UpgradeSpringDoc_2_6") + 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.springdoc.UpgradeSpringDoc_2_6") + 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.springdoc.UpgradeSpringDoc_2_6 + + + + + 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.springdoc.UpgradeSpringDoc_2_6 -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 UpgradeSpringDoc_2_6 +``` + +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/springdoc/upgradespringdoc_2_8.md b/docs/recipes/java/springdoc/upgradespringdoc_2_8.md new file mode 100644 index 0000000000..e961de8111 --- /dev/null +++ b/docs/recipes/java/springdoc/upgradespringdoc_2_8.md @@ -0,0 +1,254 @@ +--- +sidebar_label: "Upgrade to SpringDoc 2.8" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Upgrade to SpringDoc 2.8 + +**org.openrewrite.java.springdoc.UpgradeSpringDoc\_2\_8** + +_Upgrade to SpringDoc v2.8._ + +### Tags + +* springdoc + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.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 + + + +* [Upgrade to SpringDoc 2.6](../../java/springdoc/upgradespringdoc_2_6) +* [Upgrade Gradle or Maven dependency versions](../../java/dependencies/upgradedependencyversion) + * groupId: `org.springdoc` + * artifactId: `*` + * newVersion: `2.8.x` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.springdoc.UpgradeSpringDoc_2_8 +displayName: Upgrade to SpringDoc 2.8 +description: | + Upgrade to SpringDoc v2.8. +tags: + - springdoc +recipeList: + - org.openrewrite.java.springdoc.UpgradeSpringDoc_2_6 + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.springdoc + artifactId: "*" + newVersion: 2.8.x + +``` + + + +## 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.springdoc.UpgradeSpringDoc_2_8") + 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.springdoc.UpgradeSpringDoc_2_8") + 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.springdoc.UpgradeSpringDoc_2_8 + + + + + 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.springdoc.UpgradeSpringDoc_2_8 -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 UpgradeSpringDoc_2_8 +``` + +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/struts/migrate6/migrateawareinterfaces.md b/docs/recipes/java/struts/migrate6/migrateawareinterfaces.md index 624ea39d9b..a8ccb7cd1f 100644 --- a/docs/recipes/java/struts/migrate6/migrateawareinterfaces.md +++ b/docs/recipes/java/struts/migrate6/migrateawareinterfaces.md @@ -116,7 +116,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md b/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md index e54660a1a4..e90f4f5593 100644 --- a/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md +++ b/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/struts/migrate6/migratestruts6.md b/docs/recipes/java/struts/migrate6/migratestruts6.md index 7dc63b3edf..a5e5d485ad 100644 --- a/docs/recipes/java/struts/migrate6/migratestruts6.md +++ b/docs/recipes/java/struts/migrate6/migratestruts6.md @@ -31,6 +31,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate Struts 2.0 interceptors to action "aware" interfaces](../../../java/struts/migrate6/migrateawareinterfaces) * [Migrate OpenSymphony classes to Struts 6.0](../../../java/struts/migrate6/migrateopensymphonyclasses) * [Upgrade Struts 6.0 dependencies](../../../java/struts/migrate6/upgradestruts6dependencies) +* [Migrate to Struts 6.0 constants](../../../java/struts/migrate6/migratestruts6constants) * [Migrate DTD to a specific Struts version](../../../java/struts/migratestrutsdtd) * strutsVersion: `6.0` @@ -49,6 +50,7 @@ recipeList: - org.openrewrite.java.struts.migrate6.MigrateAwareInterfaces - org.openrewrite.java.struts.migrate6.MigrateOpenSymphonyClasses - org.openrewrite.java.struts.migrate6.UpgradeStruts6Dependencies + - org.openrewrite.java.struts.migrate6.MigrateStruts6Constants - org.openrewrite.java.struts.MigrateStrutsDtd: strutsVersion: 6.0 @@ -66,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -248,4 +250,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/struts/migrate6/migratestruts6constants.md b/docs/recipes/java/struts/migrate6/migratestruts6constants.md index 341788f2ca..94d93f49f1 100644 --- a/docs/recipes/java/struts/migrate6/migratestruts6constants.md +++ b/docs/recipes/java/struts/migrate6/migratestruts6constants.md @@ -286,7 +286,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md b/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md index a4b5cb17f9..e503cf6258 100644 --- a/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md +++ b/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md @@ -163,7 +163,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/struts/migratestrutsdtd.md b/docs/recipes/java/struts/migratestrutsdtd.md index 564e62e387..3f0c7aca80 100644 --- a/docs/recipes/java/struts/migratestrutsdtd.md +++ b/docs/recipes/java/struts/migratestrutsdtd.md @@ -91,7 +91,7 @@ Now that `com.yourorg.MigrateStrutsDtdExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -225,4 +225,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/java/struts/search/findstrutsactions.md b/docs/recipes/java/struts/search/findstrutsactions.md index 9c19e9c07c..46ae4326a0 100644 --- a/docs/recipes/java/struts/search/findstrutsactions.md +++ b/docs/recipes/java/struts/search/findstrutsactions.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/struts/search/findstrutsxml.md b/docs/recipes/java/struts/search/findstrutsxml.md index 082412b6e3..59e6eaa1c9 100644 --- a/docs/recipes/java/struts/search/findstrutsxml.md +++ b/docs/recipes/java/struts/search/findstrutsxml.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/archunit/archunit0to1migration.md b/docs/recipes/java/testing/archunit/archunit0to1migration.md index 1aad3c0f0b..474cf1a496 100644 --- a/docs/recipes/java/testing/archunit/archunit0to1migration.md +++ b/docs/recipes/java/testing/archunit/archunit0to1migration.md @@ -209,7 +209,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/arquillian/arquillianjunit4toarquillianjunit5.md b/docs/recipes/java/testing/arquillian/arquillianjunit4toarquillianjunit5.md index e5170bb85a..54f6a78f07 100644 --- a/docs/recipes/java/testing/arquillian/arquillianjunit4toarquillianjunit5.md +++ b/docs/recipes/java/testing/arquillian/arquillianjunit4toarquillianjunit5.md @@ -149,7 +149,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/arquillian/replacearquillianinsequenceannotation.md b/docs/recipes/java/testing/arquillian/replacearquillianinsequenceannotation.md index bf82deb761..be4ea39d3e 100644 --- a/docs/recipes/java/testing/arquillian/replacearquillianinsequenceannotation.md +++ b/docs/recipes/java/testing/arquillian/replacearquillianinsequenceannotation.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md b/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md index aa416ad21b..dfa652b657 100644 --- a/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md +++ b/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertj-best-practices.md b/docs/recipes/java/testing/assertj/assertj-best-practices.md index e5d8d2b6c1..01f63fc2b3 100644 --- a/docs/recipes/java/testing/assertj/assertj-best-practices.md +++ b/docs/recipes/java/testing/assertj/assertj-best-practices.md @@ -39,7 +39,6 @@ This recipe is available under the [Moderne Source Available License](https://do * [Migrate TestNG assertions to AssertJ](../../../java/testing/testng/testngtoassertj) * [Adopt AssertJ Duration assertions](../../../java/testing/assertj/adoptassertjdurationassertions) * [Replace `AbstractDateAssert#isEqualToIgnoringMillis(java.util.Date)` by `by isCloseTo(Date, long)`](../../../java/testing/assertj/isequaltoignoringmillistoisclosetorecipe) -* [Statically import AssertJ's `assertThat`](../../../java/testing/assertj/staticimports) * [Simplify AssertJ chained assertions](../../../java/testing/assertj/simplifychainedassertjassertions) * [Shorten AssertJ assertions](../../../java/testing/assertj/simplifyassertjassertions) * [Simplify AssertJ assertions with `hasSize` argument](../../../java/testing/assertj/simplifyhassizeassertion) @@ -48,17 +47,25 @@ This recipe is available under the [Moderne Source Available License](https://do * [`AssertJBooleanRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes) * [Adopt AssertJ Byte Assertions](../../../java/testing/assertj/assertjbyterulesrecipes) * [`AssertJCharSequenceRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes) +* [`AssertJComparableRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes) * [Adopt AssertJ Double Assertions](../../../java/testing/assertj/assertjdoublerulesrecipes) +* [`AssertJEnumerableRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes) * [Adopt AssertJ Float Assertions](../../../java/testing/assertj/assertjfloatrulesrecipes) * [Adopt AssertJ Integer Assertions](../../../java/testing/assertj/assertjintegerrulesrecipes) +* [`AssertJIterableRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes) +* [`AssertJIteratorRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes) * [Adopt AssertJ Long Assertions](../../../java/testing/assertj/assertjlongrulesrecipes) +* [`AssertJMapRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes) * [`AssertJNumberRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes) +* [`AssertJObjectRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes) +* [`AssertJOptionalRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes) * [`AssertJPrimitiveRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes) * [`AssertJRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjrulesrecipes) * [Adopt AssertJ Short Assertions](../../../java/testing/assertj/assertjshortrulesrecipes) * [`AssertJStringRules` Refaster recipes](../../../tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes) * [Refaster rules related to AssertJ assertions over expressions that may throw a `Throwable` subtype](../../../tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes) * [Collapse consecutive `assertThat` statements](../../../java/testing/assertj/collapseconsecutiveassertthatstatements) +* [Statically import AssertJ's `assertThat`](../../../java/testing/assertj/staticimports) @@ -81,7 +88,6 @@ recipeList: - org.openrewrite.java.testing.testng.TestNgToAssertj - org.openrewrite.java.testing.assertj.AdoptAssertJDurationAssertions - org.openrewrite.java.testing.assertj.IsEqualToIgnoringMillisToIsCloseToRecipe - - org.openrewrite.java.testing.assertj.StaticImports - org.openrewrite.java.testing.assertj.SimplifyChainedAssertJAssertions - org.openrewrite.java.testing.assertj.SimplifyAssertJAssertions - org.openrewrite.java.testing.assertj.SimplifyHasSizeAssertion @@ -90,17 +96,25 @@ recipeList: - tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes - org.openrewrite.java.testing.assertj.AssertJByteRulesRecipes - tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes + - tech.picnic.errorprone.refasterrules.AssertJComparableRulesRecipes - org.openrewrite.java.testing.assertj.AssertJDoubleRulesRecipes + - tech.picnic.errorprone.refasterrules.AssertJEnumerableRulesRecipes - org.openrewrite.java.testing.assertj.AssertJFloatRulesRecipes - org.openrewrite.java.testing.assertj.AssertJIntegerRulesRecipes + - tech.picnic.errorprone.refasterrules.AssertJIterableRulesRecipes + - tech.picnic.errorprone.refasterrules.AssertJIteratorRulesRecipes - org.openrewrite.java.testing.assertj.AssertJLongRulesRecipes + - tech.picnic.errorprone.refasterrules.AssertJMapRulesRecipes - tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes + - tech.picnic.errorprone.refasterrules.AssertJObjectRulesRecipes + - tech.picnic.errorprone.refasterrules.AssertJOptionalRulesRecipes - tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes - tech.picnic.errorprone.refasterrules.AssertJRulesRecipes - org.openrewrite.java.testing.assertj.AssertJShortRulesRecipes - tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes - tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes - org.openrewrite.java.testing.assertj.CollapseConsecutiveAssertThatStatements + - org.openrewrite.java.testing.assertj.StaticImports ``` @@ -295,7 +309,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md index 16550f46e7..eadd873328 100644 --- a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md index b7294b6405..58a9a50c47 100644 --- a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md index a0b763429b..e92140ca7d 100644 --- a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md index ff74f7156d..2f4851b210 100644 --- a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md index 81aa641d79..740ac4aacb 100644 --- a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes.md b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes.md index cd53eb56b8..13b84b714c 100644 --- a/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes.md +++ b/docs/recipes/java/testing/assertj/assertjbigintegerrulesrecipes.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md index 872d594a0e..babf7b3fbb 100644 --- a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md index ae6281f343..394123a964 100644 --- a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md index 28c6fee5af..b98ea4eb85 100644 --- a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md index 34bc6bdcff..0a31a6deba 100644 --- a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md index c62cda94ee..eab138dcbf 100644 --- a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes.md b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes.md index 76f688fc8d..5b73e1c763 100644 --- a/docs/recipes/java/testing/assertj/assertjbyterulesrecipes.md +++ b/docs/recipes/java/testing/assertj/assertjbyterulesrecipes.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md index 43d9976914..08e4527292 100644 --- a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md +++ b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md index 6995ba455e..ab259657b8 100644 --- a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md index f59ed0363c..8b4bc4402d 100644 --- a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md index 2478b85384..ddb5aa4475 100644 --- a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md index afb4f56b7b..44e09f7657 100644 --- a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md +++ b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md index 745be5e628..205683b547 100644 --- a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes.md b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes.md index 223fbde175..a0c381331d 100644 --- a/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes.md +++ b/docs/recipes/java/testing/assertj/assertjdoublerulesrecipes.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md index 434b64012a..bc90c95a2d 100644 --- a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md +++ b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md index f8b0b7ff67..1ab10eebf6 100644 --- a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md index fdfc43a3a4..cff20ac945 100644 --- a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md index 8cbee2075c..6242c52c31 100644 --- a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md index be04469e69..2e381f25d4 100644 --- a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md +++ b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md index 66c39d3f24..614e1788c3 100644 --- a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes.md b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes.md index 69187ec690..5cc8afd094 100644 --- a/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes.md +++ b/docs/recipes/java/testing/assertj/assertjfloatrulesrecipes.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md index d353d2c651..ae1b673a18 100644 --- a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md index 7f81bf4723..ef2fadb77d 100644 --- a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md index 5d27494f42..82d60e7d2c 100644 --- a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md index 74d387a87c..1b502dcc37 100644 --- a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md +++ b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md index ee368f887c..96c1da6d6d 100644 --- a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes.md b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes.md index 352e4c2151..3c7771b8fd 100644 --- a/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes.md +++ b/docs/recipes/java/testing/assertj/assertjintegerrulesrecipes.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md index 333074ec7e..947edc52be 100644 --- a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md index 7b402f8a9b..56cfefe0ec 100644 --- a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md index 486251d4e0..92a3a93c9b 100644 --- a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisonerecipe.md b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisonerecipe.md index 21203407bf..47b4a256f7 100644 --- a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisonerecipe.md +++ b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertisonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md index 5a6bf58d4c..231a79e23a 100644 --- a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes.md b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes.md index d414b80e94..088a83ae44 100644 --- a/docs/recipes/java/testing/assertj/assertjlongrulesrecipes.md +++ b/docs/recipes/java/testing/assertj/assertjlongrulesrecipes.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md index 245ee46f98..a7405e1e73 100644 --- a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md index 2494d72856..610da02c70 100644 --- a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md index 3ef00b4bdc..6ba69b1ba1 100644 --- a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisonerecipe.md b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisonerecipe.md index 94b3412cf2..9bc9602869 100644 --- a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisonerecipe.md +++ b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertisonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md index 2efb37b87c..651d935444 100644 --- a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md +++ b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes.md b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes.md index 4f85cd5c20..8a85bc26bc 100644 --- a/docs/recipes/java/testing/assertj/assertjshortrulesrecipes.md +++ b/docs/recipes/java/testing/assertj/assertjshortrulesrecipes.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md b/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md index 300952730b..e59fb8bb5f 100644 --- a/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md +++ b/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/festtoassertj.md b/docs/recipes/java/testing/assertj/festtoassertj.md index 80fd4a8735..f6c9c28bf0 100644 --- a/docs/recipes/java/testing/assertj/festtoassertj.md +++ b/docs/recipes/java/testing/assertj/festtoassertj.md @@ -267,7 +267,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/isequaltoignoringmillistoisclosetorecipe.md b/docs/recipes/java/testing/assertj/isequaltoignoringmillistoisclosetorecipe.md index aab975e694..97b0841623 100644 --- a/docs/recipes/java/testing/assertj/isequaltoignoringmillistoisclosetorecipe.md +++ b/docs/recipes/java/testing/assertj/isequaltoignoringmillistoisclosetorecipe.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md b/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md index 5a5914aebb..bf4b76bbbc 100644 --- a/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md b/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md index e357d3f931..83243e7530 100644 --- a/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md b/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md index 081d59476f..d37fcf0ff5 100644 --- a/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md b/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md index 18f56f4224..a2ff1097a0 100644 --- a/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md b/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md index 18cc681692..ea69585ed3 100644 --- a/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md b/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md index db0eaca229..a00770c46d 100644 --- a/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md b/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md index a2fd771e50..f002b6d5e8 100644 --- a/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md b/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md index a3edee3f21..d7a6586b08 100644 --- a/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md b/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md index 06debdba62..c8dc40425c 100644 --- a/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md +++ b/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md b/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md index a0a201eb1d..fa3de14090 100644 --- a/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md b/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md index bc49180a28..e5955391a8 100644 --- a/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md +++ b/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/junittoassertj.md b/docs/recipes/java/testing/assertj/junittoassertj.md index 657edcfce3..ac74f3e823 100644 --- a/docs/recipes/java/testing/assertj/junittoassertj.md +++ b/docs/recipes/java/testing/assertj/junittoassertj.md @@ -49,7 +49,7 @@ This recipe is available under the [Moderne Source Available License](https://do * groupId: `org.assertj` * artifactId: `assertj-core` * version: `3.x` - * onlyIfUsing: `org.assertj.core.api.Assertions` + * onlyIfUsing: `org.junit.jupiter.api.Assertions` * acceptTransitive: `true` * [Refaster rules to replace JUnit assertions with AssertJ equivalents](../../../tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes) @@ -84,7 +84,7 @@ recipeList: groupId: org.assertj artifactId: assertj-core version: 3.x - onlyIfUsing: org.assertj.core.api.Assertions + onlyIfUsing: org.junit.jupiter.api.Assertions acceptTransitive: true - tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/simplifyassertjassertion.md b/docs/recipes/java/testing/assertj/simplifyassertjassertion.md index f048a3d377..79961292bb 100644 --- a/docs/recipes/java/testing/assertj/simplifyassertjassertion.md +++ b/docs/recipes/java/testing/assertj/simplifyassertjassertion.md @@ -103,7 +103,7 @@ Now that `com.yourorg.SimplifyAssertJAssertionExample` has been defined, activat ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/simplifyassertjassertions.md b/docs/recipes/java/testing/assertj/simplifyassertjassertions.md index b773121b46..73bf21eb34 100644 --- a/docs/recipes/java/testing/assertj/simplifyassertjassertions.md +++ b/docs/recipes/java/testing/assertj/simplifyassertjassertions.md @@ -144,7 +144,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md b/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md index 61f423037a..99f3391421 100644 --- a/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md +++ b/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md b/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md index 7b030dbd7b..a15c8af183 100644 --- a/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md +++ b/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md @@ -777,7 +777,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/simplifyhassizeassertion.md b/docs/recipes/java/testing/assertj/simplifyhassizeassertion.md index 9a768e900b..88061d373e 100644 --- a/docs/recipes/java/testing/assertj/simplifyhassizeassertion.md +++ b/docs/recipes/java/testing/assertj/simplifyhassizeassertion.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/assertj/staticimports.md b/docs/recipes/java/testing/assertj/staticimports.md index adbc8edb26..e2fa07969b 100644 --- a/docs/recipes/java/testing/assertj/staticimports.md +++ b/docs/recipes/java/testing/assertj/staticimports.md @@ -213,7 +213,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md b/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md index b0327c70b6..ff5486114f 100644 --- a/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md +++ b/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md b/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md index d244209724..caba33ca19 100644 --- a/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md +++ b/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md b/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md index 7bf2af80de..18f5b1676a 100644 --- a/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md +++ b/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md b/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md index 8fc750a7eb..dfe6b72a6d 100644 --- a/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md +++ b/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md b/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md index 29aa01d544..3dfa152a04 100644 --- a/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md +++ b/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertionsargumentorder.md b/docs/recipes/java/testing/cleanup/assertionsargumentorder.md index 773312b042..fd96216a26 100644 --- a/docs/recipes/java/testing/cleanup/assertionsargumentorder.md +++ b/docs/recipes/java/testing/cleanup/assertionsargumentorder.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md b/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md index 4d864954d0..ef41f5a4cd 100644 --- a/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md +++ b/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md b/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md index aa687558da..a23ff90bd7 100644 --- a/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md +++ b/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md b/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md index 5a4897bf85..b6b11df943 100644 --- a/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md +++ b/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md b/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md index eae5eba4c8..ae7af6d1fa 100644 --- a/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md +++ b/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md b/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md index 83f7603891..9d0c8f1102 100644 --- a/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md +++ b/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md b/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md index c383a33433..6ea6d6dc9e 100644 --- a/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md +++ b/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/bestpractices.md b/docs/recipes/java/testing/cleanup/bestpractices.md index 583376b2a1..16eae9579e 100644 --- a/docs/recipes/java/testing/cleanup/bestpractices.md +++ b/docs/recipes/java/testing/cleanup/bestpractices.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/removeemptytests.md b/docs/recipes/java/testing/cleanup/removeemptytests.md index ac25c2b6c0..65c6a4b0cb 100644 --- a/docs/recipes/java/testing/cleanup/removeemptytests.md +++ b/docs/recipes/java/testing/cleanup/removeemptytests.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/removetestprefix.md b/docs/recipes/java/testing/cleanup/removetestprefix.md index cded275f7b..850185ff45 100644 --- a/docs/recipes/java/testing/cleanup/removetestprefix.md +++ b/docs/recipes/java/testing/cleanup/removetestprefix.md @@ -143,7 +143,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/simplifytestthrows.md b/docs/recipes/java/testing/cleanup/simplifytestthrows.md index dbf06b6dff..e2712808ed 100644 --- a/docs/recipes/java/testing/cleanup/simplifytestthrows.md +++ b/docs/recipes/java/testing/cleanup/simplifytestthrows.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md b/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md index f33200c89f..a874406b18 100644 --- a/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md +++ b/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md @@ -105,7 +105,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md b/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md index a4413a2f87..57fcb2f3a1 100644 --- a/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md +++ b/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md @@ -146,7 +146,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/datafaker/javafakertodatafaker.md b/docs/recipes/java/testing/datafaker/javafakertodatafaker.md index 1f0755dcfc..57048248f3 100644 --- a/docs/recipes/java/testing/datafaker/javafakertodatafaker.md +++ b/docs/recipes/java/testing/datafaker/javafakertodatafaker.md @@ -203,7 +203,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md b/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md index a31c66fa8f..f50a7ea8f0 100644 --- a/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md +++ b/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md b/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md index 63308d5856..7d5d78f437 100644 --- a/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md +++ b/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/easymock/easymocktomockito.md b/docs/recipes/java/testing/easymock/easymocktomockito.md index df06c82211..d618f502e1 100644 --- a/docs/recipes/java/testing/easymock/easymocktomockito.md +++ b/docs/recipes/java/testing/easymock/easymocktomockito.md @@ -713,7 +713,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md b/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md index 641d0d019d..12603d2149 100644 --- a/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md +++ b/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md @@ -131,7 +131,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md b/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md index bf3253c0aa..bbd6d095d1 100644 --- a/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md +++ b/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/addhamcrestifused.md b/docs/recipes/java/testing/hamcrest/addhamcrestifused.md index f669c15ac0..1ea8ccd9fe 100644 --- a/docs/recipes/java/testing/hamcrest/addhamcrestifused.md +++ b/docs/recipes/java/testing/hamcrest/addhamcrestifused.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md b/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md index 7692970be4..5ad6a8fe5b 100644 --- a/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md +++ b/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md b/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md index 249fcc5113..74d5d173b7 100644 --- a/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md +++ b/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md b/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md index ef82df2d81..1dd393061f 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md @@ -105,7 +105,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md index c4adf89914..22d6e5072c 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md index 6246933b16..057db539cd 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md b/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md index 3680b042cd..1e722ca993 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md index 37c5cf0e25..d722defa40 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md index 656e4e303a..efd116b4b2 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md b/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md index 15013e6411..fd028fb8be 100644 --- a/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md +++ b/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md @@ -1043,7 +1043,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md b/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md index f0c9039b1c..048616cf8e 100644 --- a/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md +++ b/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md @@ -231,7 +231,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/hamcrest/removeismatcher.md b/docs/recipes/java/testing/hamcrest/removeismatcher.md index 53e991f4a1..f19622fbb1 100644 --- a/docs/recipes/java/testing/hamcrest/removeismatcher.md +++ b/docs/recipes/java/testing/hamcrest/removeismatcher.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md b/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md index 8acf48e9f1..71dae3ba2f 100644 --- a/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md +++ b/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md @@ -43,6 +43,7 @@ This recipe is available under the [Moderne Source Available License](https://do * oldGroupId: `org.seleniumhq.selenium` * oldArtifactId: `htmlunit-driver` * newArtifactId: `htmlunit3-driver` + * newVersion: `4.x` * [Rename package name](../../../java/changepackage) * oldPackageName: `com.gargoylesoftware.htmlunit` * newPackageName: `org.htmlunit` @@ -83,6 +84,7 @@ recipeList: oldGroupId: org.seleniumhq.selenium oldArtifactId: htmlunit-driver newArtifactId: htmlunit3-driver + newVersion: 4.x - org.openrewrite.java.ChangePackage: oldPackageName: com.gargoylesoftware.htmlunit newPackageName: org.htmlunit @@ -287,7 +289,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md b/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md index 54d8383cc6..1521dd1c9f 100644 --- a/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md b/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md index 18b45e6f6a..7a314f42ef 100644 --- a/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md b/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md index 631efa630b..17acd003c6 100644 --- a/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/jmockit/jmockittomockito.md b/docs/recipes/java/testing/jmockit/jmockittomockito.md index 960745f956..89ed720453 100644 --- a/docs/recipes/java/testing/jmockit/jmockittomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockittomockito.md @@ -126,7 +126,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/README.md b/docs/recipes/java/testing/junit5/README.md index b23a7414a8..905490cd29 100644 --- a/docs/recipes/java/testing/junit5/README.md +++ b/docs/recipes/java/testing/junit5/README.md @@ -7,6 +7,7 @@ _Best practices for JUnit Jupiter tests._ _Recipes that include further recipes, often including the individual recipes below._ * [Clean Up Assertions](./cleanupassertions.md) +* [Exclude JUnit 4, unless Testcontainers is used](./excludejunit4unlessusingtestcontainers.md) * [JUnit Jupiter best practices](./junit5bestpractices.md) * [JUnit Jupiter migration from JUnit 4.x](./junit4to5migration.md) * [Upgrade Surefire Plugin](./upgradesurefireplugin.md) diff --git a/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md b/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md index 2b56264d95..981ee12290 100644 --- a/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md +++ b/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md @@ -42,7 +42,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/addjupiterdependencies.md b/docs/recipes/java/testing/junit5/addjupiterdependencies.md index e6e210f599..16a0f4e666 100644 --- a/docs/recipes/java/testing/junit5/addjupiterdependencies.md +++ b/docs/recipes/java/testing/junit5/addjupiterdependencies.md @@ -48,7 +48,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/addmissingnested.md b/docs/recipes/java/testing/junit5/addmissingnested.md index bd922485b3..2323da61d6 100644 --- a/docs/recipes/java/testing/junit5/addmissingnested.md +++ b/docs/recipes/java/testing/junit5/addmissingnested.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md b/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md index 0586d1e9ab..b16990bea4 100644 --- a/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md +++ b/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md b/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md index 4b0831bd97..700d25ddff 100644 --- a/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md +++ b/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md @@ -137,7 +137,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md b/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md index 89fbd0b3dc..1bc25a53a6 100644 --- a/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md +++ b/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md @@ -103,7 +103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/asserttoassertions.md b/docs/recipes/java/testing/junit5/asserttoassertions.md index da9ac2f9a2..53035fa91d 100644 --- a/docs/recipes/java/testing/junit5/asserttoassertions.md +++ b/docs/recipes/java/testing/junit5/asserttoassertions.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md b/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md index 8da6f8b709..f56f41964f 100644 --- a/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md +++ b/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/categorytotag.md b/docs/recipes/java/testing/junit5/categorytotag.md index 61a82d1715..d924de07d7 100644 --- a/docs/recipes/java/testing/junit5/categorytotag.md +++ b/docs/recipes/java/testing/junit5/categorytotag.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/cleanupassertions.md b/docs/recipes/java/testing/junit5/cleanupassertions.md index 906a2d97ec..6d500e7454 100644 --- a/docs/recipes/java/testing/junit5/cleanupassertions.md +++ b/docs/recipes/java/testing/junit5/cleanupassertions.md @@ -183,7 +183,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/cleanupjunitimports.md b/docs/recipes/java/testing/junit5/cleanupjunitimports.md index 58e23d7742..13c32a127c 100644 --- a/docs/recipes/java/testing/junit5/cleanupjunitimports.md +++ b/docs/recipes/java/testing/junit5/cleanupjunitimports.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/enclosedtonested.md b/docs/recipes/java/testing/junit5/enclosedtonested.md index 1c05c8b376..4b2856a865 100644 --- a/docs/recipes/java/testing/junit5/enclosedtonested.md +++ b/docs/recipes/java/testing/junit5/enclosedtonested.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/environmentvariables.md b/docs/recipes/java/testing/junit5/environmentvariables.md index 93a8bbfe8c..a9dbd7e3cc 100644 --- a/docs/recipes/java/testing/junit5/environmentvariables.md +++ b/docs/recipes/java/testing/junit5/environmentvariables.md @@ -138,7 +138,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -320,4 +320,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Anshuman Mishra +Anshuman Mishra, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/testing/junit5/excludejunit4unlessusingtestcontainers.md b/docs/recipes/java/testing/junit5/excludejunit4unlessusingtestcontainers.md new file mode 100644 index 0000000000..3d334b0036 --- /dev/null +++ b/docs/recipes/java/testing/junit5/excludejunit4unlessusingtestcontainers.md @@ -0,0 +1,244 @@ +--- +sidebar_label: "Exclude JUnit 4, unless Testcontainers is used" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Exclude JUnit 4, unless Testcontainers is used + +**org.openrewrite.java.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers** + +_Excludes JUnit 4, as it ought not to be necessary in a JUnit 5 project, unless Testcontainers is used._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) + +:::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 + + + +* [Exclude Maven dependency](../../../maven/excludedependency) + * groupId: `junit` + * artifactId: `junit` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers +displayName: Exclude JUnit 4, unless Testcontainers is used +description: | + Excludes JUnit 4, as it ought not to be necessary in a JUnit 5 project, unless Testcontainers is used. +recipeList: + - org.openrewrite.maven.ExcludeDependency: + groupId: junit + artifactId: junit + +``` + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` 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.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-testing-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TESTING_FRAMEWORKS}}") +} +``` + +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-testing-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TESTING_FRAMEWORKS}}") + } + rewrite { + activeRecipe("org.openrewrite.java.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers") + 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.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers + + + + + org.openrewrite.recipe + rewrite-testing-frameworks + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TESTING_FRAMEWORKS}} + + + + + + +``` + +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-testing-frameworks:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers -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 ExcludeJUnit4UnlessUsingTestcontainers +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-testing-frameworks:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_TESTING_FRAMEWORKS}} +``` + + + +## 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/testing/junit5/expectedexceptiontoassertthrows.md b/docs/recipes/java/testing/junit5/expectedexceptiontoassertthrows.md index 4d3c11d0bf..11f7e75609 100644 --- a/docs/recipes/java/testing/junit5/expectedexceptiontoassertthrows.md +++ b/docs/recipes/java/testing/junit5/expectedexceptiontoassertthrows.md @@ -121,7 +121,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -303,4 +303,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Anshuman Mishra, [Greg Adams](mailto:greg@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), Patrick Way, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Andrii Rodionov](mailto:andrii@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Shivani Sharma](mailto:s.happyrose@gmail.com) +Anshuman Mishra, [Greg Adams](mailto:greg@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Patrick Way, [Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Andrii Rodionov](mailto:andrii@moderne.io), [Shivani Sharma](mailto:s.happyrose@gmail.com) diff --git a/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md b/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md index c7c1ef5d88..d0318b4004 100644 --- a/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md +++ b/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/ignoretodisabled.md b/docs/recipes/java/testing/junit5/ignoretodisabled.md index 443f834021..498f6afb43 100644 --- a/docs/recipes/java/testing/junit5/ignoretodisabled.md +++ b/docs/recipes/java/testing/junit5/ignoretodisabled.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/junit4to5migration.md b/docs/recipes/java/testing/junit5/junit4to5migration.md index 169d10b397..48738f28ed 100644 --- a/docs/recipes/java/testing/junit5/junit4to5migration.md +++ b/docs/recipes/java/testing/junit5/junit4to5migration.md @@ -75,19 +75,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Remove a Gradle or Maven dependency](../../../java/dependencies/removedependency) * groupId: `junit` * artifactId: `junit` -* [Exclude Maven dependency](../../../maven/excludedependency) - * groupId: `junit` - * artifactId: `junit` -* [Remove exclusion](../../../maven/removeexclusion) - * groupId: `org.testcontainers` - * artifactId: `*` - * exclusionGroupId: `junit` - * exclusionArtifactId: `junit` -* [Remove exclusion](../../../maven/removeexclusion) - * groupId: `org.springframework.boot` - * artifactId: `spring-boot-testcontainers` - * exclusionGroupId: `junit` - * exclusionArtifactId: `junit` +* [Exclude JUnit 4, unless Testcontainers is used](../../../java/testing/junit5/excludejunit4unlessusingtestcontainers) * [Remove a Gradle or Maven dependency](../../../java/dependencies/removedependency) * groupId: `org.junit.vintage` * artifactId: `junit-vintage-engine` @@ -174,19 +162,7 @@ recipeList: - org.openrewrite.java.dependencies.RemoveDependency: groupId: junit artifactId: junit - - org.openrewrite.maven.ExcludeDependency: - groupId: junit - artifactId: junit - - org.openrewrite.maven.RemoveExclusion: - groupId: org.testcontainers - artifactId: "*" - exclusionGroupId: junit - exclusionArtifactId: junit - - org.openrewrite.maven.RemoveExclusion: - groupId: org.springframework.boot - artifactId: spring-boot-testcontainers - exclusionGroupId: junit - exclusionArtifactId: junit + - org.openrewrite.java.testing.junit5.ExcludeJUnit4UnlessUsingTestcontainers - org.openrewrite.java.dependencies.RemoveDependency: groupId: org.junit.vintage artifactId: junit-vintage-engine @@ -755,7 +731,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/junit5bestpractices.md b/docs/recipes/java/testing/junit5/junit5bestpractices.md index b40f6be30d..df9819a60e 100644 --- a/docs/recipes/java/testing/junit5/junit5bestpractices.md +++ b/docs/recipes/java/testing/junit5/junit5bestpractices.md @@ -289,7 +289,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md b/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md index 59ab28dd36..723d680b8e 100644 --- a/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md +++ b/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md @@ -150,7 +150,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -332,4 +332,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Patrick Way, Anshuman Mishra, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Andrii Rodionov](mailto:andrii@moderne.io), Aaron Gershman, [Patrick](mailto:patway99@gmail.com) +Patrick Way, Anshuman Mishra, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Andrii Rodionov](mailto:andrii@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Aaron Gershman, [Patrick](mailto:patway99@gmail.com) diff --git a/docs/recipes/java/testing/junit5/lifecyclenonprivate.md b/docs/recipes/java/testing/junit5/lifecyclenonprivate.md index dd9eefd7a8..de17dbc3ec 100644 --- a/docs/recipes/java/testing/junit5/lifecyclenonprivate.md +++ b/docs/recipes/java/testing/junit5/lifecyclenonprivate.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/migrateassumptions.md b/docs/recipes/java/testing/junit5/migrateassumptions.md index 3e9c4c9606..b5ba5f3790 100644 --- a/docs/recipes/java/testing/junit5/migrateassumptions.md +++ b/docs/recipes/java/testing/junit5/migrateassumptions.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/migratejunittestcase.md b/docs/recipes/java/testing/junit5/migratejunittestcase.md index 6ab8df0edd..3d5b1dc87e 100644 --- a/docs/recipes/java/testing/junit5/migratejunittestcase.md +++ b/docs/recipes/java/testing/junit5/migratejunittestcase.md @@ -153,7 +153,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md b/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md index a7baa27b21..cf2bde59b2 100644 --- a/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md +++ b/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md b/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md index 2ff9b5d592..3e7cb13c99 100644 --- a/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md +++ b/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md @@ -157,7 +157,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md b/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md index 7ff66e94b9..937177ef19 100644 --- a/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md +++ b/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/removeobsoleterunners.md b/docs/recipes/java/testing/junit5/removeobsoleterunners.md index 08b2f8b288..e47f53b586 100644 --- a/docs/recipes/java/testing/junit5/removeobsoleterunners.md +++ b/docs/recipes/java/testing/junit5/removeobsoleterunners.md @@ -93,7 +93,7 @@ Now that `com.yourorg.RemoveObsoleteRunnersExample` has been defined, activate i ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md b/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md index 06caf42d8a..47e48cf222 100644 --- a/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md +++ b/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/runnertoextension.md b/docs/recipes/java/testing/junit5/runnertoextension.md index 6f6f3161be..a7cf7cfee4 100644 --- a/docs/recipes/java/testing/junit5/runnertoextension.md +++ b/docs/recipes/java/testing/junit5/runnertoextension.md @@ -103,7 +103,7 @@ Now that `com.yourorg.RunnerToExtensionExample` has been defined, activate it an ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/staticimports.md b/docs/recipes/java/testing/junit5/staticimports.md index a65cc49d47..3e62b44227 100644 --- a/docs/recipes/java/testing/junit5/staticimports.md +++ b/docs/recipes/java/testing/junit5/staticimports.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/tempdirnonfinal.md b/docs/recipes/java/testing/junit5/tempdirnonfinal.md index e13907a610..037291baaf 100644 --- a/docs/recipes/java/testing/junit5/tempdirnonfinal.md +++ b/docs/recipes/java/testing/junit5/tempdirnonfinal.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md b/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md index 359bdcb947..2822ba16d3 100644 --- a/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md +++ b/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md @@ -121,7 +121,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -303,4 +303,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Anshuman Mishra, [Greg Adams](mailto:greg@moderne.io), Patrick Way, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com) +Anshuman Mishra, [Greg Adams](mailto:greg@moderne.io), Patrick Way, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Michael Keppler](mailto:bananeweizen@gmx.de), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com) diff --git a/docs/recipes/java/testing/junit5/testruletotestinfo.md b/docs/recipes/java/testing/junit5/testruletotestinfo.md index e00a239c42..5b9335d69d 100644 --- a/docs/recipes/java/testing/junit5/testruletotestinfo.md +++ b/docs/recipes/java/testing/junit5/testruletotestinfo.md @@ -129,7 +129,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md b/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md index bc6c71f8ba..dc8e9d7918 100644 --- a/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md +++ b/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/timeoutruletoclassannotation.md b/docs/recipes/java/testing/junit5/timeoutruletoclassannotation.md index 09fbfb5266..6146760e6f 100644 --- a/docs/recipes/java/testing/junit5/timeoutruletoclassannotation.md +++ b/docs/recipes/java/testing/junit5/timeoutruletoclassannotation.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md b/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md index 0f2dfc0f3e..99f8d62329 100644 --- a/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md +++ b/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md @@ -123,7 +123,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/updatemockwebserver.md b/docs/recipes/java/testing/junit5/updatemockwebserver.md index c5d8afd4c1..0ba1847033 100644 --- a/docs/recipes/java/testing/junit5/updatemockwebserver.md +++ b/docs/recipes/java/testing/junit5/updatemockwebserver.md @@ -128,7 +128,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/updatetestannotation.md b/docs/recipes/java/testing/junit5/updatetestannotation.md index 8d0bfc3964..714eae65e4 100644 --- a/docs/recipes/java/testing/junit5/updatetestannotation.md +++ b/docs/recipes/java/testing/junit5/updatetestannotation.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md b/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md index 8f0734bc92..d26d8e3f19 100644 --- a/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md +++ b/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/upgradesurefireplugin.md b/docs/recipes/java/testing/junit5/upgradesurefireplugin.md index 7397fb1aa2..9b88a4c2e2 100644 --- a/docs/recipes/java/testing/junit5/upgradesurefireplugin.md +++ b/docs/recipes/java/testing/junit5/upgradesurefireplugin.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/useassertsame.md b/docs/recipes/java/testing/junit5/useassertsame.md index 2506bcc29b..d6e11558ca 100644 --- a/docs/recipes/java/testing/junit5/useassertsame.md +++ b/docs/recipes/java/testing/junit5/useassertsame.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/usehamcrestassertthat.md b/docs/recipes/java/testing/junit5/usehamcrestassertthat.md index e7f200e634..4f839899f5 100644 --- a/docs/recipes/java/testing/junit5/usehamcrestassertthat.md +++ b/docs/recipes/java/testing/junit5/usehamcrestassertthat.md @@ -167,7 +167,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/usemockitoextension.md b/docs/recipes/java/testing/junit5/usemockitoextension.md index 985797db21..b3485674eb 100644 --- a/docs/recipes/java/testing/junit5/usemockitoextension.md +++ b/docs/recipes/java/testing/junit5/usemockitoextension.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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, 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), [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 diff --git a/docs/recipes/java/testing/junit5/usetestmethodorder.md b/docs/recipes/java/testing/junit5/usetestmethodorder.md index 610f5169dc..766e7d43ab 100644 --- a/docs/recipes/java/testing/junit5/usetestmethodorder.md +++ b/docs/recipes/java/testing/junit5/usetestmethodorder.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/usewiremockextension.md b/docs/recipes/java/testing/junit5/usewiremockextension.md index 22c904d39e..2856a278da 100644 --- a/docs/recipes/java/testing/junit5/usewiremockextension.md +++ b/docs/recipes/java/testing/junit5/usewiremockextension.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/usexmlunitlegacy.md b/docs/recipes/java/testing/junit5/usexmlunitlegacy.md index 3e9ca248c7..b888d7e92a 100644 --- a/docs/recipes/java/testing/junit5/usexmlunitlegacy.md +++ b/docs/recipes/java/testing/junit5/usexmlunitlegacy.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md b/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md index 06bb0c29f5..28dd89bf3a 100644 --- a/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md +++ b/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/anystringtonullable.md b/docs/recipes/java/testing/mockito/anystringtonullable.md index d3ad074e6b..39d6576aba 100644 --- a/docs/recipes/java/testing/mockito/anystringtonullable.md +++ b/docs/recipes/java/testing/mockito/anystringtonullable.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/anytonullable.md b/docs/recipes/java/testing/mockito/anytonullable.md index de2a176f99..d05cdf2a4e 100644 --- a/docs/recipes/java/testing/mockito/anytonullable.md +++ b/docs/recipes/java/testing/mockito/anytonullable.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/cleanupmockitoimports.md b/docs/recipes/java/testing/mockito/cleanupmockitoimports.md index 911e47b72f..e8c01802c6 100644 --- a/docs/recipes/java/testing/mockito/cleanupmockitoimports.md +++ b/docs/recipes/java/testing/mockito/cleanupmockitoimports.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/closeunclosedstaticmocks.md b/docs/recipes/java/testing/mockito/closeunclosedstaticmocks.md index c228c8111c..cfa063bef3 100644 --- a/docs/recipes/java/testing/mockito/closeunclosedstaticmocks.md +++ b/docs/recipes/java/testing/mockito/closeunclosedstaticmocks.md @@ -19,6 +19,68 @@ _Ensures that all `mockStatic` calls are properly closed. If `mockStatic` is in 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 static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.Mockito.mockStatic; + +class TestClass { + @Test + void test() { + mockStatic(A.class); + assertEquals(A.getNumber(), 42); + } +} +``` + +###### After +```java +import org.junit.jupiter.api.Test; +import org.mockito.MockedStatic; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.mockito.Mockito.mockStatic; + +class TestClass { + @Test + void test() { + try (MockedStatic mockedStaticA = mockStatic(A.class)) { + assertEquals(A.getNumber(), 42); + } + } +} +``` + + + + +```diff +@@ -2,0 +2,1 @@ +import org.junit.jupiter.api.Test; ++import org.mockito.MockedStatic; + +@@ -9,2 +10,3 @@ + @Test + void test() { +- mockStatic(A.class); +- assertEquals(A.getNumber(), 42); ++ try (MockedStatic mockedStaticA = mockStatic(A.class)) { ++ assertEquals(A.getNumber(), 42); ++ } + } +``` + + + ## Usage @@ -30,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +274,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Anshuman Mishra +Anshuman Mishra, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/testing/mockito/mockito1to3migration.md b/docs/recipes/java/testing/mockito/mockito1to3migration.md index 38c4db1ab1..c72b5186fb 100644 --- a/docs/recipes/java/testing/mockito/mockito1to3migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to3migration.md @@ -427,7 +427,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/mockito1to4migration.md b/docs/recipes/java/testing/mockito/mockito1to4migration.md index 64831fb276..427b5ee72f 100644 --- a/docs/recipes/java/testing/mockito/mockito1to4migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to4migration.md @@ -249,7 +249,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/mockito1to5migration.md b/docs/recipes/java/testing/mockito/mockito1to5migration.md index eeaef9e193..87e863acd0 100644 --- a/docs/recipes/java/testing/mockito/mockito1to5migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to5migration.md @@ -195,7 +195,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/mockito4to5only.md b/docs/recipes/java/testing/mockito/mockito4to5only.md index dac436db01..21404668a0 100644 --- a/docs/recipes/java/testing/mockito/mockito4to5only.md +++ b/docs/recipes/java/testing/mockito/mockito4to5only.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/mockitobestpractices.md b/docs/recipes/java/testing/mockito/mockitobestpractices.md index ac7690f702..ddd4b5a484 100644 --- a/docs/recipes/java/testing/mockito/mockitobestpractices.md +++ b/docs/recipes/java/testing/mockito/mockitobestpractices.md @@ -143,7 +143,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md b/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md index 95ed35b4d8..3229455c83 100644 --- a/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md +++ b/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/mockitojunitrunnertoextension.md b/docs/recipes/java/testing/mockito/mockitojunitrunnertoextension.md index 9d60325eba..102163f998 100644 --- a/docs/recipes/java/testing/mockito/mockitojunitrunnertoextension.md +++ b/docs/recipes/java/testing/mockito/mockitojunitrunnertoextension.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Anshuman Mishra +Anshuman Mishra, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md b/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md index 1923c9072f..196b74765d 100644 --- a/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md +++ b/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/mockutilstostatic.md b/docs/recipes/java/testing/mockito/mockutilstostatic.md index dfdf52db82..92b0c04ba4 100644 --- a/docs/recipes/java/testing/mockito/mockutilstostatic.md +++ b/docs/recipes/java/testing/mockito/mockutilstostatic.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md b/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md index 4f4ab2af75..e1e684dd83 100644 --- a/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md +++ b/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md b/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md index 0066cbaf6b..549c59e406 100644 --- a/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md +++ b/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md @@ -133,7 +133,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/powermockitowhennewtomockito.md b/docs/recipes/java/testing/mockito/powermockitowhennewtomockito.md index 056e8e65c9..4e496c82f4 100644 --- a/docs/recipes/java/testing/mockito/powermockitowhennewtomockito.md +++ b/docs/recipes/java/testing/mockito/powermockitowhennewtomockito.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/removeinitmocksifrunnersspecified.md b/docs/recipes/java/testing/mockito/removeinitmocksifrunnersspecified.md index 959f63d3a8..391a16596e 100644 --- a/docs/recipes/java/testing/mockito/removeinitmocksifrunnersspecified.md +++ b/docs/recipes/java/testing/mockito/removeinitmocksifrunnersspecified.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/removetimeszeroandone.md b/docs/recipes/java/testing/mockito/removetimeszeroandone.md index 3e09e17550..6536186469 100644 --- a/docs/recipes/java/testing/mockito/removetimeszeroandone.md +++ b/docs/recipes/java/testing/mockito/removetimeszeroandone.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.java.testing.mockito.RemoveTimesZeroAndOne** -_Remove `Mockito.times(0)` and `Mockito.times(0)` from `Mockito.verify()` calls._ +_Remove `Mockito.times(0)` and `Mockito.times(1)` from `Mockito.verify()` calls._ ## Recipe source @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/replaceinitmocktoopenmock.md b/docs/recipes/java/testing/mockito/replaceinitmocktoopenmock.md index 73cd03869b..96f03fd14c 100644 --- a/docs/recipes/java/testing/mockito/replaceinitmocktoopenmock.md +++ b/docs/recipes/java/testing/mockito/replaceinitmocktoopenmock.md @@ -122,7 +122,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/replacepowermockito.md b/docs/recipes/java/testing/mockito/replacepowermockito.md index b5775b3d40..b2f0b0d527 100644 --- a/docs/recipes/java/testing/mockito/replacepowermockito.md +++ b/docs/recipes/java/testing/mockito/replacepowermockito.md @@ -437,7 +437,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md b/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md index 3c7988c021..fb1290e5f7 100644 --- a/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md +++ b/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md b/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md index ff8b5fcbe1..e1f325fd08 100644 --- a/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md +++ b/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/search/findunittests.md b/docs/recipes/java/testing/search/findunittests.md index 834a27c6c5..e86247161f 100644 --- a/docs/recipes/java/testing/search/findunittests.md +++ b/docs/recipes/java/testing/search/findunittests.md @@ -48,7 +48,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md b/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md index b517bcb817..460050da66 100644 --- a/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md +++ b/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md @@ -95,7 +95,7 @@ Now that `com.yourorg.ExplicitContainerImageExample` has been defined, activate ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md b/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md index 52cd4cfe82..b0a8990830 100644 --- a/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md +++ b/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md @@ -214,7 +214,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/testcontainers/gethostmigration.md b/docs/recipes/java/testing/testcontainers/gethostmigration.md index d111e94d2e..6d740badc0 100644 --- a/docs/recipes/java/testing/testcontainers/gethostmigration.md +++ b/docs/recipes/java/testing/testcontainers/gethostmigration.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md b/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md index 37a4b13011..0f52499bb0 100644 --- a/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md +++ b/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md @@ -31,7 +31,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [Upgrade Gradle or Maven dependency versions](../../../java/dependencies/upgradedependencyversion) * groupId: `org.testcontainers` * artifactId: `*` - * newVersion: `1.19.x` + * newVersion: `1.21.x` * [Explicit container images and versions](../../../java/testing/testcontainers/explicitcontainerimages) * [Replace `ContainerState.getContainerIpAddress()` with `getHost()`](../../../java/testing/testcontainers/gethostmigration) @@ -50,7 +50,7 @@ recipeList: - org.openrewrite.java.dependencies.UpgradeDependencyVersion: groupId: org.testcontainers artifactId: "*" - newVersion: 1.19.x + newVersion: 1.21.x - org.openrewrite.java.testing.testcontainers.ExplicitContainerImages - org.openrewrite.java.testing.testcontainers.GetHostMigration @@ -153,7 +153,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md b/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md index 62af7c3242..dcf6f2468e 100644 --- a/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md +++ b/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md b/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md index 8ea2df646f..217d14db73 100644 --- a/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md +++ b/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/testing/testng/testngtoassertj.md b/docs/recipes/java/testing/testng/testngtoassertj.md index 2dd992ea32..e2c79376e5 100644 --- a/docs/recipes/java/testing/testng/testngtoassertj.md +++ b/docs/recipes/java/testing/testng/testngtoassertj.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/updatesourcepositions.md b/docs/recipes/java/updatesourcepositions.md index 4a9757d353..a095746737 100644 --- a/docs/recipes/java/updatesourcepositions.md +++ b/docs/recipes/java/updatesourcepositions.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/java/usestaticimport.md b/docs/recipes/java/usestaticimport.md index e6eba8e477..48c7fc8f9d 100644 --- a/docs/recipes/java/usestaticimport.md +++ b/docs/recipes/java/usestaticimport.md @@ -47,7 +47,7 @@ Now that `com.yourorg.UseStaticImportExample` has been defined, activate it in y 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/addjellyxmldeclaration.md b/docs/recipes/jenkins/addjellyxmldeclaration.md index d14bebfe6e..3226440579 100644 --- a/docs/recipes/jenkins/addjellyxmldeclaration.md +++ b/docs/recipes/jenkins/addjellyxmldeclaration.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/addpluginsbom.md b/docs/recipes/jenkins/addpluginsbom.md index 5e1b2ad225..bd53e190ef 100644 --- a/docs/recipes/jenkins/addpluginsbom.md +++ b/docs/recipes/jenkins/addpluginsbom.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/commonslang3toapiplugin.md b/docs/recipes/jenkins/commonslang3toapiplugin.md index 07293e78c7..b8733256ca 100644 --- a/docs/recipes/jenkins/commonslang3toapiplugin.md +++ b/docs/recipes/jenkins/commonslang3toapiplugin.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/createindexjelly.md b/docs/recipes/jenkins/createindexjelly.md index 232f2657db..64a38e10b5 100644 --- a/docs/recipes/jenkins/createindexjelly.md +++ b/docs/recipes/jenkins/createindexjelly.md @@ -53,7 +53,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/disablelocalresolutionforparentpom.md b/docs/recipes/jenkins/disablelocalresolutionforparentpom.md index e085514b64..bebdab2a6a 100644 --- a/docs/recipes/jenkins/disablelocalresolutionforparentpom.md +++ b/docs/recipes/jenkins/disablelocalresolutionforparentpom.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/github/addteamtocodeowners.md b/docs/recipes/jenkins/github/addteamtocodeowners.md index 9b9cb233d8..67e217f35d 100644 --- a/docs/recipes/jenkins/github/addteamtocodeowners.md +++ b/docs/recipes/jenkins/github/addteamtocodeowners.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/isjenkinsplugin.md b/docs/recipes/jenkins/isjenkinsplugin.md index 8b789479b8..798227a103 100644 --- a/docs/recipes/jenkins/isjenkinsplugin.md +++ b/docs/recipes/jenkins/isjenkinsplugin.md @@ -112,7 +112,7 @@ Now that `com.yourorg.IsJenkinsPluginExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/javaxannotationstospotbugs.md b/docs/recipes/jenkins/javaxannotationstospotbugs.md index a5baa0358d..0936117636 100644 --- a/docs/recipes/jenkins/javaxannotationstospotbugs.md +++ b/docs/recipes/jenkins/javaxannotationstospotbugs.md @@ -205,7 +205,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md b/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md index 72ef45d3af..4d51dc93d6 100644 --- a/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md +++ b/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md @@ -151,7 +151,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/modernizejenkinsfile.md b/docs/recipes/jenkins/modernizejenkinsfile.md index a693fa2fe8..357c17ecfd 100644 --- a/docs/recipes/jenkins/modernizejenkinsfile.md +++ b/docs/recipes/jenkins/modernizejenkinsfile.md @@ -218,7 +218,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/modernizeplugin.md b/docs/recipes/jenkins/modernizeplugin.md index 0aa048d633..3d8fe19edd 100644 --- a/docs/recipes/jenkins/modernizeplugin.md +++ b/docs/recipes/jenkins/modernizeplugin.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/modernizepluginforjava8.md b/docs/recipes/jenkins/modernizepluginforjava8.md index 8804364df0..5154b9f79b 100644 --- a/docs/recipes/jenkins/modernizepluginforjava8.md +++ b/docs/recipes/jenkins/modernizepluginforjava8.md @@ -343,7 +343,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/replacelibrarieswithapiplugin.md b/docs/recipes/jenkins/replacelibrarieswithapiplugin.md index c418da0cfd..b05a7c8c42 100644 --- a/docs/recipes/jenkins/replacelibrarieswithapiplugin.md +++ b/docs/recipes/jenkins/replacelibrarieswithapiplugin.md @@ -176,7 +176,7 @@ Now that `com.yourorg.ReplaceLibrariesWithApiPluginExample` has been defined, ac ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/upgradejavaversion.md b/docs/recipes/jenkins/upgradejavaversion.md index 15e07560cb..fb0b3372cc 100644 --- a/docs/recipes/jenkins/upgradejavaversion.md +++ b/docs/recipes/jenkins/upgradejavaversion.md @@ -101,7 +101,7 @@ Now that `com.yourorg.UpgradeJavaVersionExample` has been defined, activate it a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/jenkins/upgradeversionproperty.md b/docs/recipes/jenkins/upgradeversionproperty.md index 08042ab96d..c80e146df8 100644 --- a/docs/recipes/jenkins/upgradeversionproperty.md +++ b/docs/recipes/jenkins/upgradeversionproperty.md @@ -128,7 +128,7 @@ Now that `com.yourorg.UpgradeVersionPropertyExample` has been defined, activate ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/addkeyvalue.md b/docs/recipes/json/addkeyvalue.md index c71cc46f89..345c02f168 100644 --- a/docs/recipes/json/addkeyvalue.md +++ b/docs/recipes/json/addkeyvalue.md @@ -99,7 +99,7 @@ Now that `com.yourorg.AddKeyValueExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/changekey.md b/docs/recipes/json/changekey.md index 28f948cbb5..0cf341dc9f 100644 --- a/docs/recipes/json/changekey.md +++ b/docs/recipes/json/changekey.md @@ -94,7 +94,7 @@ Now that `com.yourorg.ChangeKeyExample` has been defined, activate it in your bu 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/changevalue.md b/docs/recipes/json/changevalue.md index e8e2fbb1b6..cac1d3b3c0 100644 --- a/docs/recipes/json/changevalue.md +++ b/docs/recipes/json/changevalue.md @@ -98,7 +98,7 @@ Now that `com.yourorg.ChangeValueExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/deletekey.md b/docs/recipes/json/deletekey.md index d79812ed83..c3f0523fe5 100644 --- a/docs/recipes/json/deletekey.md +++ b/docs/recipes/json/deletekey.md @@ -93,7 +93,7 @@ Now that `com.yourorg.DeleteKeyExample` has been defined, activate it in your bu 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/format/autoformat.md b/docs/recipes/json/format/autoformat.md index 7e32cf0c92..265f69b767 100644 --- a/docs/recipes/json/format/autoformat.md +++ b/docs/recipes/json/format/autoformat.md @@ -71,7 +71,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/format/indents.md b/docs/recipes/json/format/indents.md index e5be3ced2b..ec4830ae1b 100644 --- a/docs/recipes/json/format/indents.md +++ b/docs/recipes/json/format/indents.md @@ -68,7 +68,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/format/wrappingandbraces.md b/docs/recipes/json/format/wrappingandbraces.md index 1f000814d2..ab1906e272 100644 --- a/docs/recipes/json/format/wrappingandbraces.md +++ b/docs/recipes/json/format/wrappingandbraces.md @@ -65,7 +65,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/json/search/findkey.md b/docs/recipes/json/search/findkey.md index 4088d8bada..b25e699cac 100644 --- a/docs/recipes/json/search/findkey.md +++ b/docs/recipes/json/search/findkey.md @@ -95,7 +95,7 @@ Now that `com.yourorg.FindKeyExample` has been defined, activate it in your buil 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/cleanup/equalsmethodusage.md b/docs/recipes/kotlin/cleanup/equalsmethodusage.md index 78d302de14..edc488cce8 100644 --- a/docs/recipes/kotlin/cleanup/equalsmethodusage.md +++ b/docs/recipes/kotlin/cleanup/equalsmethodusage.md @@ -68,7 +68,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md b/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md index 998b4e2a18..a4a06d9d3e 100644 --- a/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md +++ b/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md @@ -72,7 +72,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/cleanup/removelambdaargumentparentheses.md b/docs/recipes/kotlin/cleanup/removelambdaargumentparentheses.md index 3112605f1f..5ff4ce8092 100644 --- a/docs/recipes/kotlin/cleanup/removelambdaargumentparentheses.md +++ b/docs/recipes/kotlin/cleanup/removelambdaargumentparentheses.md @@ -64,7 +64,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/cleanup/removetrailingcomma.md b/docs/recipes/kotlin/cleanup/removetrailingcomma.md index f42adb75fe..439da76bef 100644 --- a/docs/recipes/kotlin/cleanup/removetrailingcomma.md +++ b/docs/recipes/kotlin/cleanup/removetrailingcomma.md @@ -64,7 +64,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md b/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md index 03365ef9b0..bffabffc39 100644 --- a/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md +++ b/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md @@ -85,7 +85,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -257,4 +257,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Knut Wannheden](mailto:knut@moderne.io) +[Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/kotlin/cleanup/replacechartointwithcode.md b/docs/recipes/kotlin/cleanup/replacechartointwithcode.md index b4d42a491f..bdb74b8bf9 100644 --- a/docs/recipes/kotlin/cleanup/replacechartointwithcode.md +++ b/docs/recipes/kotlin/cleanup/replacechartointwithcode.md @@ -71,7 +71,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md b/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md index fa1918a2c3..6ccc1b144d 100644 --- a/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md +++ b/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md @@ -99,7 +99,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/findkotlinsources.md b/docs/recipes/kotlin/findkotlinsources.md index 10f5eaa7d8..860c279368 100644 --- a/docs/recipes/kotlin/findkotlinsources.md +++ b/docs/recipes/kotlin/findkotlinsources.md @@ -70,7 +70,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/format/autoformat.md b/docs/recipes/kotlin/format/autoformat.md index f515f4423a..c6bc2a9733 100644 --- a/docs/recipes/kotlin/format/autoformat.md +++ b/docs/recipes/kotlin/format/autoformat.md @@ -79,7 +79,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/kotlin/renametypealias.md b/docs/recipes/kotlin/renametypealias.md index 93c868a88e..ee5977d0e9 100644 --- a/docs/recipes/kotlin/renametypealias.md +++ b/docs/recipes/kotlin/renametypealias.md @@ -90,7 +90,7 @@ Now that `com.yourorg.RenameTypeAliasExample` has been defined, activate it in y 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/maven/changemanageddependencygroupidandartifactid.md b/docs/recipes/maven/changemanageddependencygroupidandartifactid.md index f89fdf3bc8..1a9e8e9e8c 100644 --- a/docs/recipes/maven/changemanageddependencygroupidandartifactid.md +++ b/docs/recipes/maven/changemanageddependencygroupidandartifactid.md @@ -256,4 +256,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), Tyler Van Gorder, ashakirin, [Tim te Beek](mailto:tim@moderne.io), [Tobias Lidskog](mailto:tlidskog@paypal.com), [Steve Hill](mailto:sghill.dev@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kevin Carpenter™️](mailto:kevin@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io) +[Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), Tyler Van Gorder, ashakirin, [Tobias Lidskog](mailto:tlidskog@paypal.com), [Tim te Beek](mailto:tim@moderne.io), [Steve Hill](mailto:sghill.dev@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Kevin Carpenter™️](mailto:kevin@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io) diff --git a/docs/recipes/maven/changeparentpom.md b/docs/recipes/maven/changeparentpom.md index 4d2ae81fdb..c46c98b256 100644 --- a/docs/recipes/maven/changeparentpom.md +++ b/docs/recipes/maven/changeparentpom.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.maven.ChangeParentPom** -_Change the parent pom of a Maven pom.xml. Identifies the parent pom to be changed by its groupId and artifactId._ +_Change the parent pom of a Maven pom.xml by matching the existing parent via groupId and artifactId, and updating it to a new groupId, artifactId, version, and optional relativePath. Also updates the project to retain dependency management and properties previously inherited from the old parent that are no longer provided by the new parent. Removes redundant dependency versions already managed by the new parent._ ## Recipe source @@ -349,4 +349,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), Valentin Delaye, [DidierLoiseau](mailto:didierloiseau+github@gmail.com), Tyler Van Gorder, [Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) +[Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Jacob van Lingen](mailto:jacob.van.lingen@moderne.io), [DidierLoiseau](mailto:didierloiseau+github@gmail.com), Valentin Delaye, Tyler Van Gorder, [Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com) diff --git a/docs/recipes/maven/changeplugingroupidandartifactid.md b/docs/recipes/maven/changeplugingroupidandartifactid.md index bcb0e2edac..2248f19246 100644 --- a/docs/recipes/maven/changeplugingroupidandartifactid.md +++ b/docs/recipes/maven/changeplugingroupidandartifactid.md @@ -358,4 +358,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[George Gastaldi](mailto:gegastaldi@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [JesseEstum](mailto:jesse.estum@gmail.com), [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Kevin Carpenter™️](mailto:kevin@moderne.io) +[George Gastaldi](mailto:gegastaldi@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [JesseEstum](mailto:jesse.estum@gmail.com), [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Tim te Beek](mailto:tim@moderne.io), [Kevin Carpenter™️](mailto:kevin@moderne.io) diff --git a/docs/recipes/maven/changeprojectversion.md b/docs/recipes/maven/changeprojectversion.md index 98e50b8c05..3d9e12998b 100644 --- a/docs/recipes/maven/changeprojectversion.md +++ b/docs/recipes/maven/changeprojectversion.md @@ -206,4 +206,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io) +[Joan Viladrosa](mailto:joan@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Sam Snyder](mailto:sam@moderne.io), Adriano Machado, [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/maven/liberty/addopenlibertyplugin.md b/docs/recipes/maven/liberty/addopenlibertyplugin.md index 47051a958a..72bdd286e8 100644 --- a/docs/recipes/maven/liberty/addopenlibertyplugin.md +++ b/docs/recipes/maven/liberty/addopenlibertyplugin.md @@ -59,10 +59,7 @@ recipeList: ###### Before ```xml title="pom.xml" - - + 4.0.0 com.demo app-name @@ -96,10 +93,7 @@ recipeList: ###### After ```xml title="pom.xml" - - + 4.0.0 com.demo app-name @@ -142,7 +136,7 @@ recipeList: ```diff --- pom.xml +++ pom.xml -@@ -31,0 +31,5 @@ +@@ -28,0 +28,5 @@ 3.3.2 + @@ -166,10 +160,7 @@ recipeList: ###### Before ```xml title="pom.xml" - - + 4.0.0 com.demo app-name @@ -203,10 +194,7 @@ recipeList: ###### After ```xml title="pom.xml" - - + 4.0.0 com.demo app-name @@ -249,7 +237,7 @@ recipeList: ```diff --- pom.xml +++ pom.xml -@@ -31,0 +31,5 @@ +@@ -28,0 +28,5 @@ 3.3.2 + diff --git a/docs/recipes/maven/orderpomelements.md b/docs/recipes/maven/orderpomelements.md index 8aa10fcc65..28a0732f20 100644 --- a/docs/recipes/maven/orderpomelements.md +++ b/docs/recipes/maven/orderpomelements.md @@ -23,6 +23,93 @@ _Order POM elements according to the [recommended](https://maven.apache.org/deve This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). +## Example + + + + + + +###### Before +```xml title="pom.xml" + + 4.0.0 + my-project + my.org.project + 4.3.0 + + + + + 1.8 + 1.8 + + 3.8.1 + maven-compiler-plugin + org.apache.maven.plugins + + + + +``` + +###### After +```xml title="pom.xml" + + 4.0.0 + my.org.project + my-project + 4.3.0 + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + + + + + +``` + + + + +```diff +--- pom.xml ++++ pom.xml +@@ -3,1 +3,0 @@ + + 4.0.0 +- my-project + my.org.project +@@ -5,0 +4,1 @@ + my-project + my.org.project ++ my-project + 4.3.0 +@@ -9,0 +9,3 @@ + + ++ org.apache.maven.plugins ++ maven-compiler-plugin ++ 3.8.1 + +@@ -13,3 +16,0 @@ + 1.8 + +- 3.8.1 +- maven-compiler-plugin +- org.apache.maven.plugins + +``` + + + ## Usage diff --git a/docs/recipes/maven/search/dependencyinsight.md b/docs/recipes/maven/search/dependencyinsight.md index f6e920c016..daa81ec5a3 100644 --- a/docs/recipes/maven/search/dependencyinsight.md +++ b/docs/recipes/maven/search/dependencyinsight.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), [Greg Adams](mailto:greg@moderne.io), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Sam Snyder](mailto:sam@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Greg Adams](mailto:greg@moderne.io), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Jente Sondervorst](mailto:jentesondervorst@gmail.com), [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/maven/updatemavenprojectpropertyjavaversion.md b/docs/recipes/maven/updatemavenprojectpropertyjavaversion.md index c882688d19..9a3184eb04 100644 --- a/docs/recipes/maven/updatemavenprojectpropertyjavaversion.md +++ b/docs/recipes/maven/updatemavenprojectpropertyjavaversion.md @@ -234,4 +234,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +[Tim te Beek](mailto:tim@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [steve-aom-elliott](mailto:steve@moderne.io) diff --git a/docs/recipes/maven/usemavencompilerpluginreleaseconfiguration.md b/docs/recipes/maven/usemavencompilerpluginreleaseconfiguration.md index 8b9c77db1d..14bb4789f4 100644 --- a/docs/recipes/maven/usemavencompilerpluginreleaseconfiguration.md +++ b/docs/recipes/maven/usemavencompilerpluginreleaseconfiguration.md @@ -232,4 +232,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), sushmitha-malae +[Tim te Beek](mailto:tim@moderne.io), [Benjamin Muschko](mailto:benjamin.muschko@gmail.com), sushmitha-malae diff --git a/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md b/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md index f855092497..0df446a3b6 100644 --- a/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md +++ b/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md b/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md index fb58728208..95b30394af 100644 --- a/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md +++ b/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/micrometer/misk/migratemisktomicrometer.md b/docs/recipes/micrometer/misk/migratemisktomicrometer.md index 631aaeafde..a491f304c0 100644 --- a/docs/recipes/micrometer/misk/migratemisktomicrometer.md +++ b/docs/recipes/micrometer/misk/migratemisktomicrometer.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/micrometer/misk/noexplicitemptylabellist.md b/docs/recipes/micrometer/misk/noexplicitemptylabellist.md index cd1c719fbe..d8b35b8ffb 100644 --- a/docs/recipes/micrometer/misk/noexplicitemptylabellist.md +++ b/docs/recipes/micrometer/misk/noexplicitemptylabellist.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/micrometer/timertoobservation.md b/docs/recipes/micrometer/timertoobservation.md index 59541ee9f3..1a6b09e5d7 100644 --- a/docs/recipes/micrometer/timertoobservation.md +++ b/docs/recipes/micrometer/timertoobservation.md @@ -171,7 +171,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/micrometer/upgrademicrometer.md b/docs/recipes/micrometer/upgrademicrometer.md index 1197f8b657..31dcc750ef 100644 --- a/docs/recipes/micrometer/upgrademicrometer.md +++ b/docs/recipes/micrometer/upgrademicrometer.md @@ -101,7 +101,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/micrometer/upgrademicrometer_1_13.md b/docs/recipes/micrometer/upgrademicrometer_1_13.md index acdb56d651..e782a83af7 100644 --- a/docs/recipes/micrometer/upgrademicrometer_1_13.md +++ b/docs/recipes/micrometer/upgrademicrometer_1_13.md @@ -167,7 +167,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/netty/README.md b/docs/recipes/netty/README.md new file mode 100644 index 0000000000..6dd61e45f2 --- /dev/null +++ b/docs/recipes/netty/README.md @@ -0,0 +1,9 @@ +# Netty + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Migrates from Netty 4.1.x to Netty 4.2.x](./upgradenetty_4_1_to_4_2.md) + + diff --git a/docs/recipes/netty/upgradenetty_4_1_to_4_2.md b/docs/recipes/netty/upgradenetty_4_1_to_4_2.md new file mode 100644 index 0000000000..4b86f43929 --- /dev/null +++ b/docs/recipes/netty/upgradenetty_4_1_to_4_2.md @@ -0,0 +1,387 @@ +--- +sidebar_label: "Migrates from Netty 4.1.x to Netty 4.2.x" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrates from Netty 4.1.x to Netty 4.2.x + +**org.openrewrite.netty.UpgradeNetty\_4\_1\_to\_4\_2** + +_Migrate applications to the latest Netty 4.2.x release._ + +### Tags + +* netty + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-netty/blob/main/src/main/resources/META-INF/rewrite/netty-4_1_to_4_2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-netty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-netty/) + +:::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 + + + +* [Upgrade Gradle or Maven dependency versions](../java/dependencies/upgradedependencyversion) + * groupId: `io.netty` + * artifactId: `*` + * newVersion: `4.2.x` +* [Change Gradle or Maven dependency](../java/dependencies/changedependency) + * oldGroupId: `io.netty.incubator` + * oldArtifactId: `netty-incubator-transport-classes-io_uring` + * newGroupId: `io.netty` + * newArtifactId: `netty-transport-classes-io_uring` + * newVersion: `4.2.x` +* [Change Gradle or Maven dependency](../java/dependencies/changedependency) + * oldGroupId: `io.netty.incubator` + * oldArtifactId: `netty-incubator-transport-native-io_uring` + * newGroupId: `io.netty` + * newArtifactId: `netty-transport-native-io_uring` + * newVersion: `4.2.x` +* [Change type](../java/changetype) + * oldFullyQualifiedTypeName: `io.netty.incubator.channel.uring.IOUring` + * newFullyQualifiedTypeName: `io.netty.channel.uring.IoUring` +* [Rename package name](../java/changepackage) + * oldPackageName: `io.netty.incubator.channel.uring` + * newPackageName: `io.netty.channel.uring` + * recursive: `true` +* [Replace all `EventLoopGroup`s with `MultiThreadIoEventLoopGroup`](../java/netty/eventloopgrouptomultithreadioeventloopgrouprecipes) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.netty.UpgradeNetty_4_1_to_4_2 +displayName: Migrates from Netty 4.1.x to Netty 4.2.x +description: | + Migrate applications to the latest Netty 4.2.x release. +tags: + - netty +recipeList: + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: io.netty + artifactId: "*" + newVersion: 4.2.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: io.netty.incubator + oldArtifactId: netty-incubator-transport-classes-io_uring + newGroupId: io.netty + newArtifactId: netty-transport-classes-io_uring + newVersion: 4.2.x + - org.openrewrite.java.dependencies.ChangeDependency: + oldGroupId: io.netty.incubator + oldArtifactId: netty-incubator-transport-native-io_uring + newGroupId: io.netty + newArtifactId: netty-transport-native-io_uring + newVersion: 4.2.x + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: io.netty.incubator.channel.uring.IOUring + newFullyQualifiedTypeName: io.netty.channel.uring.IoUring + - org.openrewrite.java.ChangePackage: + oldPackageName: io.netty.incubator.channel.uring + newPackageName: io.netty.channel.uring + recursive: true + - org.openrewrite.java.netty.EventLoopGroupToMultiThreadIoEventLoopGroupRecipes + +``` + + +## Examples +##### Example 1 + + + + + + +###### Before +```java +import io.netty.buffer.ByteBuf; +import io.netty.incubator.channel.uring.IOUring; + +class Test { + boolean isAvailable = IOUring.isAvailable(); +} +``` + +###### After +```java +import io.netty.buffer.ByteBuf; +import io.netty.channel.uring.IoUring; + +class Test { + boolean isAvailable = IoUring.isAvailable(); +} +``` + + + + +```diff +@@ -2,1 +2,1 @@ +import io.netty.buffer.ByteBuf; +-import io.netty.incubator.channel.uring.IOUring; ++import io.netty.channel.uring.IoUring; + +@@ -5,1 +5,1 @@ + +class Test { +- boolean isAvailable = IOUring.isAvailable(); ++ boolean isAvailable = IoUring.isAvailable(); +} +``` + + + +--- + +##### Example 2 + + + + + + +###### Before +```java +import io.netty.buffer.ByteBuf; +import io.netty.incubator.channel.uring.IOUring; + +class Test { + boolean isAvailable = IOUring.isAvailable(); +} +``` + +###### After +```java +import io.netty.buffer.ByteBuf; +import io.netty.channel.uring.IoUring; + +class Test { + boolean isAvailable = IoUring.isAvailable(); +} +``` + + + + +```diff +@@ -2,1 +2,1 @@ +import io.netty.buffer.ByteBuf; +-import io.netty.incubator.channel.uring.IOUring; ++import io.netty.channel.uring.IoUring; + +@@ -5,1 +5,1 @@ + +class Test { +- boolean isAvailable = IOUring.isAvailable(); ++ boolean isAvailable = IoUring.isAvailable(); +} +``` + + + + +## Usage + +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-netty` 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.netty.UpgradeNetty_4_1_to_4_2") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") +} +``` + +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-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}}") + } + rewrite { + activeRecipe("org.openrewrite.netty.UpgradeNetty_4_1_to_4_2") + 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.netty.UpgradeNetty_4_1_to_4_2 + + + + + org.openrewrite.recipe + rewrite-netty + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} + + + + + + +``` + +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-netty:RELEASE -Drewrite.activeRecipes=org.openrewrite.netty.UpgradeNetty_4_1_to_4_2 -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 UpgradeNetty_4_1_to_4_2 +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-netty:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_NETTY}} +``` + + + +## 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/okhttp/reorderrequestbodycreatearguments.md b/docs/recipes/okhttp/reorderrequestbodycreatearguments.md index 5e55d337f1..fe955eddc6 100644 --- a/docs/recipes/okhttp/reorderrequestbodycreatearguments.md +++ b/docs/recipes/okhttp/reorderrequestbodycreatearguments.md @@ -157,7 +157,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/okhttp/upgradeokhttp4.md b/docs/recipes/okhttp/upgradeokhttp4.md index d022d2fde7..eaa1bd8602 100644 --- a/docs/recipes/okhttp/upgradeokhttp4.md +++ b/docs/recipes/okhttp/upgradeokhttp4.md @@ -107,7 +107,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/okhttp/upgradeokhttp4dependencies.md b/docs/recipes/okhttp/upgradeokhttp4dependencies.md index fa6e26c879..3914660838 100644 --- a/docs/recipes/okhttp/upgradeokhttp4dependencies.md +++ b/docs/recipes/okhttp/upgradeokhttp4dependencies.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/okhttp/upgradeokhttp5.md b/docs/recipes/okhttp/upgradeokhttp5.md index a5496c0e50..ea53e095f6 100644 --- a/docs/recipes/okhttp/upgradeokhttp5.md +++ b/docs/recipes/okhttp/upgradeokhttp5.md @@ -109,7 +109,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/okhttp/upgradeokhttp5dependencies.md b/docs/recipes/okhttp/upgradeokhttp5dependencies.md index da52ca888c..af980a7407 100644 --- a/docs/recipes/okhttp/upgradeokhttp5dependencies.md +++ b/docs/recipes/okhttp/upgradeokhttp5dependencies.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/okio/upgradeokio3.md b/docs/recipes/okio/upgradeokio3.md index c41446141e..8b708bfd87 100644 --- a/docs/recipes/okio/upgradeokio3.md +++ b/docs/recipes/okio/upgradeokio3.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/okio/upgradeokio3dependencies.md b/docs/recipes/okio/upgradeokio3dependencies.md index 8af26de859..226bfe4ce1 100644 --- a/docs/recipes/okio/upgradeokio3dependencies.md +++ b/docs/recipes/okio/upgradeokio3dependencies.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/README.md b/docs/recipes/openapi/swagger/README.md index f5ec06827c..fb6c04f604 100644 --- a/docs/recipes/openapi/swagger/README.md +++ b/docs/recipes/openapi/swagger/README.md @@ -18,6 +18,7 @@ _Recipes that include further recipes, often including the individual recipes be ## Recipes * [Convert API response codes to strings](./convertapiresponsecodestostrings.md) +* [Convert API response to content annotation](./convertapiresponsetocontent.md) * [Migrate `@ApiImplicitParam` to `@Parameter`](./migrateapiimplicitparam.md) * [Migrate `@ApiParam(defaultValue)` to `@Parameter(schema)`](./migrateapiparamdefaultvalue.md) * [Migrate from `@Api` to `@Tag`](./migrateapitotag.md) diff --git a/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md b/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md index 347401346a..004452bf0a 100644 --- a/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md +++ b/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/convertapiresponsetocontent.md b/docs/recipes/openapi/swagger/convertapiresponsetocontent.md new file mode 100644 index 0000000000..4f23ba0bd1 --- /dev/null +++ b/docs/recipes/openapi/swagger/convertapiresponsetocontent.md @@ -0,0 +1,215 @@ +--- +sidebar_label: "Convert API response to content annotation" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Convert API response to content annotation + +**org.openrewrite.openapi.swagger.ConvertApiResponseToContent** + +_Convert API response to content annotation_ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/ConvertApiResponseToContent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) + +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. 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): + + + +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.openapi.swagger.ConvertApiResponseToContent") + setExportDatatables(true) +} + +repositories { + mavenCentral() +} + +dependencies { + rewrite("org.openrewrite.recipe:rewrite-openapi:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OPENAPI}}") +} +``` + +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-openapi:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OPENAPI}}") + } + rewrite { + activeRecipe("org.openrewrite.openapi.swagger.ConvertApiResponseToContent") + 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.openapi.swagger.ConvertApiResponseToContent + + + + + org.openrewrite.recipe + rewrite-openapi + {{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OPENAPI}} + + + + + + +``` + +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-openapi:RELEASE -Drewrite.activeRecipes=org.openrewrite.openapi.swagger.ConvertApiResponseToContent -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 ConvertApiResponseToContent +``` + +If the recipe is not available locally, then you can install it using: +```shell +mod config recipes jar install org.openrewrite.recipe:rewrite-openapi:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_OPENAPI}} +``` + + + +## 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 +[adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) diff --git a/docs/recipes/openapi/swagger/migrateapiimplicitparam.md b/docs/recipes/openapi/swagger/migrateapiimplicitparam.md index 99d0175f7e..695f55956b 100644 --- a/docs/recipes/openapi/swagger/migrateapiimplicitparam.md +++ b/docs/recipes/openapi/swagger/migrateapiimplicitparam.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md b/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md index 9123d204e2..cdcf4ad66c 100644 --- a/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md +++ b/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md @@ -104,7 +104,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md b/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md index c1822752f3..bcc32f4ab1 100644 --- a/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md +++ b/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateapimodeltoschema.md b/docs/recipes/openapi/swagger/migrateapimodeltoschema.md index 84826b8f41..ebb5db961a 100644 --- a/docs/recipes/openapi/swagger/migrateapimodeltoschema.md +++ b/docs/recipes/openapi/swagger/migrateapimodeltoschema.md @@ -78,7 +78,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateapioperationtooperation.md b/docs/recipes/openapi/swagger/migrateapioperationtooperation.md index 1cf936fc5e..3af17f3c6b 100644 --- a/docs/recipes/openapi/swagger/migrateapioperationtooperation.md +++ b/docs/recipes/openapi/swagger/migrateapioperationtooperation.md @@ -120,7 +120,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md b/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md index 26efecdf1e..d006b63068 100644 --- a/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md +++ b/docs/recipes/openapi/swagger/migrateapiparamdefaultvalue.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md b/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md index 5d46abe66c..2f2aecf233 100644 --- a/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md +++ b/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md b/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md index 55c122e416..204edfc87b 100644 --- a/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md +++ b/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md @@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.openapi.swagger.MigrateApiResponsesToApiResponses** ``` -Changes the namespace of the `@ApiResponses` and `@ApiResponse` annotations and converts its attributes (ex. code -> responseCode, message -> description). +Changes the namespace of the `@ApiResponses` and `@ApiResponse` annotations and converts its attributes (ex. code -> responseCode, message -> description, response -> content). ``` @@ -51,6 +51,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * oldAttributeName: `message` * newAttributeName: `description` * [Convert API response codes to strings](../../openapi/swagger/convertapiresponsecodestostrings) +* [Convert API response to content annotation](../../openapi/swagger/convertapiresponsetocontent) @@ -62,7 +63,7 @@ type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.openapi.swagger.MigrateApiResponsesToApiResponses displayName: Migrate from `@ApiResponses` to `@ApiResponses` description: | - Changes the namespace of the `@ApiResponses` and `@ApiResponse` annotations and converts its attributes (ex. code -> responseCode, message -> description). + Changes the namespace of the `@ApiResponses` and `@ApiResponse` annotations and converts its attributes (ex. code -> responseCode, message -> description, response -> content). tags: - openapi - swagger @@ -82,6 +83,7 @@ recipeList: oldAttributeName: message newAttributeName: description - org.openrewrite.openapi.swagger.ConvertApiResponseCodesToStrings + - org.openrewrite.openapi.swagger.ConvertApiResponseToContent ``` @@ -97,20 +99,24 @@ recipeList: ###### Before ```java import io.swagger.annotations.ApiResponse; +import org.springframework.http.ResponseEntity; class A { - @ApiResponse(code = 200, message = "OK") - void method() {} + @ApiResponse(code = 200, message = "OK", response = User.class) + ResponseEntity method() { return null; } } ``` ###### After ```java +import io.swagger.v3.oas.annotations.media.Content; +import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.responses.ApiResponse; +import org.springframework.http.ResponseEntity; class A { - @ApiResponse(responseCode = "200", description = "OK") - void method() {} + @ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = User.class))) + ResponseEntity method() { return null; } } ``` @@ -118,16 +124,18 @@ class A { ```diff -@@ -1,1 +1,1 @@ +@@ -1,1 +1,3 @@ -import io.swagger.annotations.ApiResponse; ++import io.swagger.v3.oas.annotations.media.Content; ++import io.swagger.v3.oas.annotations.media.Schema; +import io.swagger.v3.oas.annotations.responses.ApiResponse; - -@@ -4,1 +4,1 @@ +import org.springframework.http.ResponseEntity; +@@ -5,1 +7,1 @@ class A { -- @ApiResponse(code = 200, message = "OK") -+ @ApiResponse(responseCode = "200", description = "OK") - void method() {} +- @ApiResponse(code = 200, message = "OK", response = User.class) ++ @ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = User.class))) + ResponseEntity method() { return null; } ``` @@ -144,20 +152,24 @@ class A { ###### Before ```java import io.swagger.annotations.ApiResponse; +import org.springframework.http.ResponseEntity; class A { - @ApiResponse(code = 200, message = "OK") - void method() {} + @ApiResponse(code = 200, message = "OK", response = User.class) + ResponseEntity method() { return null; } } ``` ###### After ```java +import io.swagger.v3.oas.annotations.media.Content; +import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.responses.ApiResponse; +import org.springframework.http.ResponseEntity; class A { - @ApiResponse(responseCode = "200", description = "OK") - void method() {} + @ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = User.class))) + ResponseEntity method() { return null; } } ``` @@ -165,16 +177,18 @@ class A { ```diff -@@ -1,1 +1,1 @@ +@@ -1,1 +1,3 @@ -import io.swagger.annotations.ApiResponse; ++import io.swagger.v3.oas.annotations.media.Content; ++import io.swagger.v3.oas.annotations.media.Schema; +import io.swagger.v3.oas.annotations.responses.ApiResponse; - -@@ -4,1 +4,1 @@ +import org.springframework.http.ResponseEntity; +@@ -5,1 +7,1 @@ class A { -- @ApiResponse(code = 200, message = "OK") -+ @ApiResponse(responseCode = "200", description = "OK") - void method() {} +- @ApiResponse(code = 200, message = "OK", response = User.class) ++ @ApiResponse(responseCode = "200", description = "OK", content = @Content(mediaType = "application/json", schema = @Schema(implementation = User.class))) + ResponseEntity method() { return null; } ``` @@ -190,7 +204,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -372,4 +386,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io) +[Tim te Beek](mailto:tim@moderne.io), [adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) diff --git a/docs/recipes/openapi/swagger/migrateapitotag.md b/docs/recipes/openapi/swagger/migrateapitotag.md index 9746871e0b..9eb3c0a861 100644 --- a/docs/recipes/openapi/swagger/migrateapitotag.md +++ b/docs/recipes/openapi/swagger/migrateapitotag.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md b/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md index a780119516..c12ba108a1 100644 --- a/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md +++ b/docs/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/openapi/swagger/swaggertoopenapi.md b/docs/recipes/openapi/swagger/swaggertoopenapi.md index 2ee28b4168..b7b9645155 100644 --- a/docs/recipes/openapi/swagger/swaggertoopenapi.md +++ b/docs/recipes/openapi/swagger/swaggertoopenapi.md @@ -289,7 +289,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -471,4 +471,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -SiBorea, [Tim te Beek](mailto:tim@moderne.io) +SiBorea, [Tim te Beek](mailto:tim@moderne.io), [adammak](mailto:maka9@mcmaster.ca), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com) diff --git a/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md b/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md index c5646319e6..f4b8fdeb77 100644 --- a/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md +++ b/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md @@ -146,7 +146,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/README.md b/docs/recipes/org/apache/camel/upgrade/README.md index 0877bf8b9d..d8592fa13f 100644 --- a/docs/recipes/org/apache/camel/upgrade/README.md +++ b/docs/recipes/org/apache/camel/upgrade/README.md @@ -6,6 +6,7 @@ * [Camel41](/recipes/org/apache/camel/upgrade/camel41) * [Camel410](/recipes/org/apache/camel/upgrade/camel410) * [Camel411](/recipes/org/apache/camel/upgrade/camel411) +* [Camel412](/recipes/org/apache/camel/upgrade/camel412) * [Camel42](/recipes/org/apache/camel/upgrade/camel42) * [Camel43](/recipes/org/apache/camel/upgrade/camel43) * [Camel44](/recipes/org/apache/camel/upgrade/camel44) @@ -20,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.11.0](./camelmigrationrecipe.md) +* [Migrate to 4.12.0](./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/camel40/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/camelmigrationrecipe.md index 09ee4306d0..4e4961b8e8 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/camelmigrationrecipe.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md index 771110b5a2..0444cb34da 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md index 59334d0213..0fa5c0902b 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md b/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md index dc8e6fc8ad..eb68ceab84 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md index a51bc85389..68564ed6a4 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md index 9986c17f45..86714065cd 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md index dd0d0666f4..45316e357b 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md index f2f93a50aa..94205bfba7 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/properties/rejectedpolicy.md b/docs/recipes/org/apache/camel/upgrade/camel40/properties/rejectedpolicy.md index 9444702494..80b9d04056 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/properties/rejectedpolicy.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/properties/rejectedpolicy.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md b/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md index 89c6f44e0b..9a83f40bac 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md index f1ec540d17..436782292d 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md index 31a6b8b005..284e2e4d84 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md index d9b8d2fcc4..fcfb078fae 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md index 43f00439d8..f2c980c6ce 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md b/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md index 9d1fb363ec..9d560adc25 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md b/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md index 84c8defc7d..c9d0564b9f 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md index 271c1ed713..ec23cee162 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md index 0bf28c8539..7cdb2563f2 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel410/camelazurefiles.md b/docs/recipes/org/apache/camel/upgrade/camel410/camelazurefiles.md index 068e205181..abbad4a6bb 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel410/camelazurefiles.md +++ b/docs/recipes/org/apache/camel/upgrade/camel410/camelazurefiles.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel410/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel410/camelmigrationrecipe.md index b56301cccb..0c9b94c394 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel410/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel410/camelmigrationrecipe.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel410/camelsmb.md b/docs/recipes/org/apache/camel/upgrade/camel410/camelsmb.md index 0458d72584..df97a453f9 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel410/camelsmb.md +++ b/docs/recipes/org/apache/camel/upgrade/camel410/camelsmb.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel410/xmldsl410recipe.md b/docs/recipes/org/apache/camel/upgrade/camel410/xmldsl410recipe.md index 9a419499ab..8eedb67ce6 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel410/xmldsl410recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel410/xmldsl410recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel411/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel411/camelmigrationrecipe.md index eb1afc7516..b770815542 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel411/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel411/camelmigrationrecipe.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel411/platformhttpfilterstrategy.md b/docs/recipes/org/apache/camel/upgrade/camel411/platformhttpfilterstrategy.md index a60f17b843..4b0e8db790 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel411/platformhttpfilterstrategy.md +++ b/docs/recipes/org/apache/camel/upgrade/camel411/platformhttpfilterstrategy.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel411/removeddependencies.md b/docs/recipes/org/apache/camel/upgrade/camel411/removeddependencies.md index b1e817945e..1adcb928a4 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel411/removeddependencies.md +++ b/docs/recipes/org/apache/camel/upgrade/camel411/removeddependencies.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel411/removedlightweight.md b/docs/recipes/org/apache/camel/upgrade/camel411/removedlightweight.md index ab9ce393d9..525c73ffd7 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel411/removedlightweight.md +++ b/docs/recipes/org/apache/camel/upgrade/camel411/removedlightweight.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel412/README.md b/docs/recipes/org/apache/camel/upgrade/camel412/README.md new file mode 100644 index 0000000000..fa2b55c56b --- /dev/null +++ b/docs/recipes/org/apache/camel/upgrade/camel412/README.md @@ -0,0 +1,17 @@ +# Camel412 + +## Composite Recipes + +_Recipes that include further recipes, often including the individual recipes below._ + +* [Migrates `camel 4.11` application to `camel 4.12`](./camelmigrationrecipe.md) +* [The package scan classes has moved from camel-base-engine to camel-support - java](./scanclassesmoved.md) +* [The package scan classes has moved from camel-base-engine to camel-support - maven](./scanclassesmovedmaven.md) + +## Recipes + +* [Camel Java DSL change for camel 4.12](./java412recipes.md) +* [XML DSL bearer from rest/securityDefinitions is renamed to bearerToken](./xmldslbearer.md) +* [Yaml DSL bearer from rest/securityDefinitions is renamed to bearerToken](./yamldslbearer.md) + + diff --git a/docs/recipes/org/apache/camel/upgrade/camel412/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel412/camelmigrationrecipe.md new file mode 100644 index 0000000000..a8fe2ef8a7 --- /dev/null +++ b/docs/recipes/org/apache/camel/upgrade/camel412/camelmigrationrecipe.md @@ -0,0 +1,267 @@ +--- +sidebar_label: "Migrates camel 4.11 application to camel 4.12" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Migrates `camel 4.11` application to `camel 4.12` + +**org.apache.camel.upgrade.camel412.CamelMigrationRecipe** + +_Migrates `camel 4.11` application to `camel 4.12`._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel412.CamelMigrationRecipe), +[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 + + + +* [The package scan classes has moved from camel-base-engine to camel-support - java](../../../../../org/apache/camel/upgrade/camel412/scanclassesmoved) +* [The package scan classes has moved from camel-base-engine to camel-support - maven](../../../../../org/apache/camel/upgrade/camel412/scanclassesmovedmaven) +* [Camel Java DSL change for camel 4.12](../../../../../org/apache/camel/upgrade/camel412/java412recipes) +* [XML DSL bearer from rest/securityDefinitions is renamed to bearerToken](../../../../../org/apache/camel/upgrade/camel412/xmldslbearer) +* [Yaml DSL bearer from rest/securityDefinitions is renamed to bearerToken](../../../../../org/apache/camel/upgrade/camel412/yamldslbearer) + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.apache.camel.upgrade.camel412.CamelMigrationRecipe +displayName: Migrates `camel 4.11` application to `camel 4.12` +description: | + Migrates `camel 4.11` application to `camel 4.12`. +recipeList: + - org.apache.camel.upgrade.camel412.scanClassesMoved + - org.apache.camel.upgrade.camel412.scanClassesMovedMaven + - org.apache.camel.upgrade.camel412.Java412Recipes + - org.apache.camel.upgrade.camel412.xmlDslBearer + - org.apache.camel.upgrade.camel412.yamlDslBearer + +``` + + + +## 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("org.apache.camel.upgrade.camel412.CamelMigrationRecipe") + 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("org.apache.camel.upgrade.camel412.CamelMigrationRecipe") + 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.apache.camel.upgrade.camel412.CamelMigrationRecipe + + + + + 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=org.apache.camel.upgrade.camel412.CamelMigrationRecipe -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 CamelMigrationRecipe +``` + +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. | + + + + + +### 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. | + + + + diff --git a/docs/recipes/org/apache/camel/upgrade/camel412/java412recipes.md b/docs/recipes/org/apache/camel/upgrade/camel412/java412recipes.md new file mode 100644 index 0000000000..0718d2b140 --- /dev/null +++ b/docs/recipes/org/apache/camel/upgrade/camel412/java412recipes.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Camel Java DSL change for camel 4.12" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Camel Java DSL change for camel 4.12 + +**org.apache.camel.upgrade.camel412.Java412Recipes** + +_Apache Camel Java DSL migration from version 4.11 to 4.12._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel412.Java412Recipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +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. 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("org.apache.camel.upgrade.camel412.Java412Recipes") + 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("org.apache.camel.upgrade.camel412.Java412Recipes") + 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.apache.camel.upgrade.camel412.Java412Recipes + + + + + 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=org.apache.camel.upgrade.camel412.Java412Recipes -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 Java412Recipes +``` + +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/org/apache/camel/upgrade/camel412/scanclassesmoved.md b/docs/recipes/org/apache/camel/upgrade/camel412/scanclassesmoved.md new file mode 100644 index 0000000000..83a2c8b10e --- /dev/null +++ b/docs/recipes/org/apache/camel/upgrade/camel412/scanclassesmoved.md @@ -0,0 +1,286 @@ +--- +sidebar_label: "The package scan classes has moved from camel-base-engine to camel-support - java" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# The package scan classes has moved from camel-base-engine to camel-support - java + +**org.apache.camel.upgrade.camel412.scanClassesMoved** + +_The package scan classes has moved from camel-base-engine to camel-support JAR and moved to a new package - java._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel412.scanClassesMoved), +[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 type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.engine.DefaultPackageScanClassResolver` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.DefaultPackageScanClassResolver` +* [Change type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.engine.DefaultPackageScanResourceResolver` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.DefaultPackageScanResourceResolver` +* [Change type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.engine.WebSpherePackageScanClassResolver` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.WebSpherePackageScanClassResolver` +* [Change type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.scan.AnnotatedWithAnyPackageScanFilter` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.AnnotatedWithAnyPackageScanFilter` +* [Change type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.scan.AnnotatedWithPackageScanFilter` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.AnnotatedWithPackageScanFilter` +* [Change type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.scan.AssignableToPackageScanFilter` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.AssignableToPackageScanFilter` +* [Change type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.scan.CompositePackageScanFilter` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.CompositePackageScanFilter` +* [Change type](../../../../../java/changetype) + * oldFullyQualifiedTypeName: `org.apache.camel.impl.scan.InvertingPackageScanFilter` + * newFullyQualifiedTypeName: `org.apache.camel.support.scan.InvertingPackageScanFilter` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.apache.camel.upgrade.camel412.scanClassesMoved +displayName: The package scan classes has moved from camel-base-engine to camel-support - java +description: | + The package scan classes has moved from camel-base-engine to camel-support JAR and moved to a new package - java. +recipeList: + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.engine.DefaultPackageScanClassResolver + newFullyQualifiedTypeName: org.apache.camel.support.scan.DefaultPackageScanClassResolver + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.engine.DefaultPackageScanResourceResolver + newFullyQualifiedTypeName: org.apache.camel.support.scan.DefaultPackageScanResourceResolver + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.engine.WebSpherePackageScanClassResolver + newFullyQualifiedTypeName: org.apache.camel.support.scan.WebSpherePackageScanClassResolver + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.scan.AnnotatedWithAnyPackageScanFilter + newFullyQualifiedTypeName: org.apache.camel.support.scan.AnnotatedWithAnyPackageScanFilter + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.scan.AnnotatedWithPackageScanFilter + newFullyQualifiedTypeName: org.apache.camel.support.scan.AnnotatedWithPackageScanFilter + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.scan.AssignableToPackageScanFilter + newFullyQualifiedTypeName: org.apache.camel.support.scan.AssignableToPackageScanFilter + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.scan.CompositePackageScanFilter + newFullyQualifiedTypeName: org.apache.camel.support.scan.CompositePackageScanFilter + - org.openrewrite.java.ChangeType: + oldFullyQualifiedTypeName: org.apache.camel.impl.scan.InvertingPackageScanFilter + newFullyQualifiedTypeName: org.apache.camel.support.scan.InvertingPackageScanFilter + +``` + + + +## 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("org.apache.camel.upgrade.camel412.scanClassesMoved") + 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("org.apache.camel.upgrade.camel412.scanClassesMoved") + 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.apache.camel.upgrade.camel412.scanClassesMoved + + + + + 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=org.apache.camel.upgrade.camel412.scanClassesMoved -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 scanClassesMoved +``` + +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/org/apache/camel/upgrade/camel412/scanclassesmovedmaven.md b/docs/recipes/org/apache/camel/upgrade/camel412/scanclassesmovedmaven.md new file mode 100644 index 0000000000..646e6ee037 --- /dev/null +++ b/docs/recipes/org/apache/camel/upgrade/camel412/scanclassesmovedmaven.md @@ -0,0 +1,297 @@ +--- +sidebar_label: "The package scan classes has moved from camel-base-engine to camel-support - maven" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# The package scan classes has moved from camel-base-engine to camel-support - maven + +**org.apache.camel.upgrade.camel412.scanClassesMovedMaven** + +_The package scan classes has moved from camel-base-engine to camel-support JAR and moved to a new package - maven._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel412.scanClassesMovedMaven), +[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 + + + +* [Add Maven dependency](../../../../../maven/adddependency) + * groupId: `org.apache.camel` + * artifactId: `camel-support` + * version: `PLEASE_DEFINE_VERSION` + * onlyIfUsing: `org.apache.camel.impl.scan.*` +* [Add Maven dependency](../../../../../maven/adddependency) + * groupId: `org.apache.camel` + * artifactId: `camel-support` + * version: `PLEASE_DEFINE_VERSION` + * onlyIfUsing: `org.apache.camel.impl.engine.DefaultPackageScanClassResolver` +* [Add Maven dependency](../../../../../maven/adddependency) + * groupId: `org.apache.camel` + * artifactId: `camel-support` + * version: `PLEASE_DEFINE_VERSION` + * onlyIfUsing: `org.apache.camel.impl.engine.DefaultPackageScanResourceResolver` +* [Add Maven dependency](../../../../../maven/adddependency) + * groupId: `org.apache.camel` + * artifactId: `camel-support` + * version: `PLEASE_DEFINE_VERSION` + * onlyIfUsing: `org.apache.camel.impl.engine.WebSpherePackageScanClassResolver` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.apache.camel.upgrade.camel412.scanClassesMovedMaven +displayName: The package scan classes has moved from camel-base-engine to camel-support - maven +description: | + The package scan classes has moved from camel-base-engine to camel-support JAR and moved to a new package - maven. +recipeList: + - org.openrewrite.maven.AddDependency: + groupId: org.apache.camel + artifactId: camel-support + version: PLEASE_DEFINE_VERSION + onlyIfUsing: org.apache.camel.impl.scan.* + - org.openrewrite.maven.AddDependency: + groupId: org.apache.camel + artifactId: camel-support + version: PLEASE_DEFINE_VERSION + onlyIfUsing: org.apache.camel.impl.engine.DefaultPackageScanClassResolver + - org.openrewrite.maven.AddDependency: + groupId: org.apache.camel + artifactId: camel-support + version: PLEASE_DEFINE_VERSION + onlyIfUsing: org.apache.camel.impl.engine.DefaultPackageScanResourceResolver + - org.openrewrite.maven.AddDependency: + groupId: org.apache.camel + artifactId: camel-support + version: PLEASE_DEFINE_VERSION + onlyIfUsing: org.apache.camel.impl.engine.WebSpherePackageScanClassResolver + +``` + + + +## 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("org.apache.camel.upgrade.camel412.scanClassesMovedMaven") + 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("org.apache.camel.upgrade.camel412.scanClassesMovedMaven") + 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.apache.camel.upgrade.camel412.scanClassesMovedMaven + + + + + 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=org.apache.camel.upgrade.camel412.scanClassesMovedMaven -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 scanClassesMovedMaven +``` + +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 + + + + +### 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. | + + + + + +### 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/org/apache/camel/upgrade/camel412/xmldslbearer.md b/docs/recipes/org/apache/camel/upgrade/camel412/xmldslbearer.md new file mode 100644 index 0000000000..1d7c2b0702 --- /dev/null +++ b/docs/recipes/org/apache/camel/upgrade/camel412/xmldslbearer.md @@ -0,0 +1,240 @@ +--- +sidebar_label: "XML DSL bearer from rest/securityDefinitions is renamed to bearerToken" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# XML DSL bearer from rest/securityDefinitions is renamed to bearerToken + +**org.apache.camel.upgrade.camel412.xmlDslBearer** + +_Rest definition in XML DSL with security constraints, then bearer in YAML and XML DSL has been renamed to bearerToken to be aligned with Java DSL._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel412.xmlDslBearer), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Change XML tag name](../../../../../xml/changetagname) + * elementName: `//rest/securityDefinitions/bearer` + * newName: `bearerToken` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.apache.camel.upgrade.camel412.xmlDslBearer +displayName: XML DSL bearer from rest/securityDefinitions is renamed to bearerToken +description: | + Rest definition in XML DSL with security constraints, then bearer in YAML and XML DSL has been renamed to bearerToken to be aligned with Java DSL. +recipeList: + - org.openrewrite.xml.ChangeTagName: + elementName: //rest/securityDefinitions/bearer + newName: bearerToken + +``` + + + +## 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("org.apache.camel.upgrade.camel412.xmlDslBearer") + 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("org.apache.camel.upgrade.camel412.xmlDslBearer") + 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.apache.camel.upgrade.camel412.xmlDslBearer + + + + + 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=org.apache.camel.upgrade.camel412.xmlDslBearer -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 xmlDslBearer +``` + +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/org/apache/camel/upgrade/camel412/yamldslbearer.md b/docs/recipes/org/apache/camel/upgrade/camel412/yamldslbearer.md new file mode 100644 index 0000000000..c92fd61c5f --- /dev/null +++ b/docs/recipes/org/apache/camel/upgrade/camel412/yamldslbearer.md @@ -0,0 +1,240 @@ +--- +sidebar_label: "Yaml DSL bearer from rest/securityDefinitions is renamed to bearerToken" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Yaml DSL bearer from rest/securityDefinitions is renamed to bearerToken + +**org.apache.camel.upgrade.camel412.yamlDslBearer** + +_Rest definition in Yaml DSL with security constraints, then bearer in YAML and XML DSL has been renamed to bearerToken to be aligned with Java DSL._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel412.yamlDslBearer), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +This recipe is available under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0). + + +## Definition + + + +* [Change key](../../../../../yaml/changekey) + * oldKeyPath: `$.rest.securityDefinitions.bearer` + * newKey: `bearerToken` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.apache.camel.upgrade.camel412.yamlDslBearer +displayName: Yaml DSL bearer from rest/securityDefinitions is renamed to bearerToken +description: | + Rest definition in Yaml DSL with security constraints, then bearer in YAML and XML DSL has been renamed to bearerToken to be aligned with Java DSL. +recipeList: + - org.openrewrite.yaml.ChangeKey: + oldKeyPath: $.rest.securityDefinitions.bearer + newKey: bearerToken + +``` + + + +## 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("org.apache.camel.upgrade.camel412.yamlDslBearer") + 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("org.apache.camel.upgrade.camel412.yamlDslBearer") + 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.apache.camel.upgrade.camel412.yamlDslBearer + + + + + 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=org.apache.camel.upgrade.camel412.yamlDslBearer -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 yamlDslBearer +``` + +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/org/apache/camel/upgrade/camel42/camelmaindebugger.md b/docs/recipes/org/apache/camel/upgrade/camel42/camelmaindebugger.md index 21fb19f6f9..b90c191b1d 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel42/camelmaindebugger.md +++ b/docs/recipes/org/apache/camel/upgrade/camel42/camelmaindebugger.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md b/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md index 69c703cdfb..8cae12b076 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md index 2b9328dfdd..d01a8e8769 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md b/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md index 461c7978fc..ec1bf4a098 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md b/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md index bb59087c8b..3b3e192d6c 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md b/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md index 2f7e400b4f..65cd9670f0 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md b/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md index 81cdb8c1fc..2ee2e208a5 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md index 6dc9874fe7..a40a4e2354 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md b/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md index 52ad2fa0ba..907957eef3 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md b/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md index 665498c2e2..8912ffc2b6 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md index e5fd5cd1ac..679de5df27 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md b/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md index 98299f86c0..ffa7f4c20f 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md +++ b/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md b/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md index d005856fd4..49ee1e91d7 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md +++ b/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md @@ -57,7 +57,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md index b42e56d9ee..21dc86e24e 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md b/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md index e1aeb74df4..51e238f05d 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md @@ -134,7 +134,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md b/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md index 4683d020ba..cb9ecd01c9 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md b/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md index 0b16953f24..3ebd18b8e5 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md b/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md index 330e7e800b..889b1841c9 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md b/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md index f7c3dbb65f..e869751b89 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md index 2e03a6de35..a83110196b 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md b/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md index ed6c40417e..ef54662989 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md b/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md index afc576325f..e63ecffde6 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md b/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md index d1f018f5c4..2345280121 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md b/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md index e5a13d8eb0..79f955ed5f 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md b/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md index 2e226104dc..681bb7dc48 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/awssecretrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel49/awssecretrecipe.md index d69a8e8d1d..00718ecb8a 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/awssecretrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/awssecretrecipe.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/azuresecretrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel49/azuresecretrecipe.md index 4fb5102c56..44465ba775 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/azuresecretrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/azuresecretrecipe.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel49/camelmigrationrecipe.md index 4e12f50e1e..6713355090 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/camelmigrationrecipe.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/debeziumchangetypes.md b/docs/recipes/org/apache/camel/upgrade/camel49/debeziumchangetypes.md index f54ae24959..ee3151ef06 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/debeziumchangetypes.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/debeziumchangetypes.md @@ -344,7 +344,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/gcpsecretrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel49/gcpsecretrecipe.md index b3dca8aeec..66f871acb0 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/gcpsecretrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/gcpsecretrecipe.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/hashicorpsecretrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel49/hashicorpsecretrecipe.md index d491b608ae..3839e2aa45 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/hashicorpsecretrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/hashicorpsecretrecipe.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/removeddependencies.md b/docs/recipes/org/apache/camel/upgrade/camel49/removeddependencies.md index 2874684d5f..e8ac366e52 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/removeddependencies.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/removeddependencies.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camel49/renamedapis.md b/docs/recipes/org/apache/camel/upgrade/camel49/renamedapis.md index 3cfcc0a8b3..d2a4788248 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel49/renamedapis.md +++ b/docs/recipes/org/apache/camel/upgrade/camel49/renamedapis.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camelmigrationrecipe.md index 97bf5f416d..5e685aeb41 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.11.0" +sidebar_label: "Migrate to 4.12.0" --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -# Migrate to 4.11.0 +# Migrate to 4.12.0 **org.apache.camel.upgrade.CamelMigrationRecipe** -_Migrates Apache Camel application to 4.11.0_ +_Migrates Apache Camel application to 4.12.0_ ## 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.11.0` + * newVersion: `4.12.0` * [Upgrade Maven plugin version](../../../../maven/upgradepluginversion) * groupId: `org.apache.camel` * artifactId: `*` - * newVersion: `4.11.0` + * newVersion: `4.12.0` * [Upgrade Maven parent project version](../../../../maven/upgradeparentversion) * groupId: `org.apache.camel` * artifactId: `*` - * newVersion: `4.11.0` + * newVersion: `4.12.0` @@ -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.11.0 +displayName: Migrate to 4.12.0 description: | - Migrates Apache Camel application to 4.11.0 + Migrates Apache Camel application to 4.12.0 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.11.0 + newVersion: 4.12.0 - org.openrewrite.maven.UpgradePluginVersion: groupId: org.apache.camel artifactId: "*" - newVersion: 4.11.0 + newVersion: 4.12.0 - org.openrewrite.maven.UpgradeParentVersion: groupId: org.apache.camel artifactId: "*" - newVersion: 4.11.0 + newVersion: 4.12.0 ``` @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md index 5e55c8a0ce..beaaa25437 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md @@ -52,7 +52,7 @@ Now that `com.yourorg.ChangePropertyKeyWithCaseChangeExample` has been defined, ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/literalregexpconverterrecipe.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/literalregexpconverterrecipe.md index 19feb462fd..d16d46db39 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/literalregexpconverterrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/literalregexpconverterrecipe.md @@ -53,7 +53,7 @@ Now that `com.yourorg.LiteralRegexpConverterRecipeExample` has been defined, act ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md index b720345b2d..9f43d56174 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md @@ -48,7 +48,7 @@ Now that `com.yourorg.MoveGetterToExtendedCamelContextExample` has been defined, ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md index d955b6472c..2be14525c3 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md @@ -48,7 +48,7 @@ Now that `com.yourorg.MoveGetterToPluginHelperExample` has been defined, activat ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/propertiesandyamlkeyupdate.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/propertiesandyamlkeyupdate.md index b85e87056e..44ba7795ab 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/propertiesandyamlkeyupdate.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/propertiesandyamlkeyupdate.md @@ -82,7 +82,7 @@ Now that `com.yourorg.PropertiesAndYamlKeyUpdateExample` has been defined, activ ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/javaversion17.md b/docs/recipes/org/apache/camel/upgrade/javaversion17.md index a6a14b6f8d..d1488a46eb 100644 --- a/docs/recipes/org/apache/camel/upgrade/javaversion17.md +++ b/docs/recipes/org/apache/camel/upgrade/javaversion17.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/setupjavaupgradejavaversion.md b/docs/recipes/org/apache/camel/upgrade/setupjavaupgradejavaversion.md index 6de43cd734..1e5f3afb75 100644 --- a/docs/recipes/org/apache/camel/upgrade/setupjavaupgradejavaversion.md +++ b/docs/recipes/org/apache/camel/upgrade/setupjavaupgradejavaversion.md @@ -48,7 +48,7 @@ Now that `com.yourorg.SetupJavaUpgradeJavaVersionExample` has been defined, acti ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/updatepropertiesandyamlkeys.md b/docs/recipes/org/apache/camel/upgrade/updatepropertiesandyamlkeys.md index 51475db582..05933415c8 100644 --- a/docs/recipes/org/apache/camel/upgrade/updatepropertiesandyamlkeys.md +++ b/docs/recipes/org/apache/camel/upgrade/updatepropertiesandyamlkeys.md @@ -182,7 +182,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/upgradejavaversion.md b/docs/recipes/org/apache/camel/upgrade/upgradejavaversion.md index c90b8fd143..abe64491d2 100644 --- a/docs/recipes/org/apache/camel/upgrade/upgradejavaversion.md +++ b/docs/recipes/org/apache/camel/upgrade/upgradejavaversion.md @@ -79,7 +79,7 @@ Now that `com.yourorg.UpgradeJavaVersionExample` has been defined, activate it a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/camel/upgrade/upgradetojava17.md b/docs/recipes/org/apache/camel/upgrade/upgradetojava17.md index 2254094485..a2d7b40930 100644 --- a/docs/recipes/org/apache/camel/upgrade/upgradetojava17.md +++ b/docs/recipes/org/apache/camel/upgrade/upgradetojava17.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/org/apache/wicket/bestpractices.md b/docs/recipes/org/apache/wicket/bestpractices.md index b2fe4730e3..3f1447a6d7 100644 --- a/docs/recipes/org/apache/wicket/bestpractices.md +++ b/docs/recipes/org/apache/wicket/bestpractices.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref +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 diff --git a/docs/recipes/org/apache/wicket/migratetowicket10.md b/docs/recipes/org/apache/wicket/migratetowicket10.md index 4bcf09d91e..90f10634c9 100644 --- a/docs/recipes/org/apache/wicket/migratetowicket10.md +++ b/docs/recipes/org/apache/wicket/migratetowicket10.md @@ -116,7 +116,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), Cathy, Kun Li, Josh Soref +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 diff --git a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md index d837dab83f..613d032af1 100644 --- a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md +++ b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md @@ -196,7 +196,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [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), [Avneesh Dubey](mailto:avneeshdubey1198@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md index a34adebff4..476c7265e5 100644 --- a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md +++ b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md @@ -154,7 +154,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/properties/addproperty.md b/docs/recipes/properties/addproperty.md index 68b9190084..1e91b10824 100644 --- a/docs/recipes/properties/addproperty.md +++ b/docs/recipes/properties/addproperty.md @@ -91,7 +91,7 @@ Now that `com.yourorg.AddPropertyExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/properties/addpropertycomment.md b/docs/recipes/properties/addpropertycomment.md index 5a35401b1d..984b5fcf1e 100644 --- a/docs/recipes/properties/addpropertycomment.md +++ b/docs/recipes/properties/addpropertycomment.md @@ -89,7 +89,7 @@ Now that `com.yourorg.AddPropertyCommentExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/properties/changepropertykey.md b/docs/recipes/properties/changepropertykey.md index 2cc72a6a40..a073eea96a 100644 --- a/docs/recipes/properties/changepropertykey.md +++ b/docs/recipes/properties/changepropertykey.md @@ -87,7 +87,7 @@ Now that `com.yourorg.ChangePropertyKeyExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/properties/changepropertyvalue.md b/docs/recipes/properties/changepropertyvalue.md index b113d1ba0d..bc055a1944 100644 --- a/docs/recipes/properties/changepropertyvalue.md +++ b/docs/recipes/properties/changepropertyvalue.md @@ -90,7 +90,7 @@ Now that `com.yourorg.ChangePropertyValueExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/properties/createpropertiesfile.md b/docs/recipes/properties/createpropertiesfile.md index 5143ba3bf4..2275928417 100644 --- a/docs/recipes/properties/createpropertiesfile.md +++ b/docs/recipes/properties/createpropertiesfile.md @@ -108,7 +108,7 @@ Now that `com.yourorg.CreatePropertiesFileExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/properties/deleteproperty.md b/docs/recipes/properties/deleteproperty.md index 3c73f3e78c..ac48d9f2f8 100644 --- a/docs/recipes/properties/deleteproperty.md +++ b/docs/recipes/properties/deleteproperty.md @@ -62,7 +62,7 @@ Now that `com.yourorg.DeletePropertyExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/properties/search/findproperties.md b/docs/recipes/properties/search/findproperties.md index ea87d6152b..02541bd673 100644 --- a/docs/recipes/properties/search/findproperties.md +++ b/docs/recipes/properties/search/findproperties.md @@ -82,7 +82,7 @@ Now that `com.yourorg.FindPropertiesExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/addquarkusproperty.md b/docs/recipes/quarkus/addquarkusproperty.md index b0632c445d..bf52f5767a 100644 --- a/docs/recipes/quarkus/addquarkusproperty.md +++ b/docs/recipes/quarkus/addquarkusproperty.md @@ -126,7 +126,7 @@ Now that `com.yourorg.AddQuarkusPropertyExample` has been defined, activate it a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -260,4 +260,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Siva_M7 +Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), Siva_M7 diff --git a/docs/recipes/quarkus/changequarkuspropertykey.md b/docs/recipes/quarkus/changequarkuspropertykey.md index 4534a7ae47..686de4670d 100644 --- a/docs/recipes/quarkus/changequarkuspropertykey.md +++ b/docs/recipes/quarkus/changequarkuspropertykey.md @@ -56,7 +56,7 @@ Now that `com.yourorg.ChangeQuarkusPropertyKeyExample` has been defined, activat ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -190,4 +190,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adriano Machado, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Siva_M7, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Adriano Machado, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), Siva_M7, [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/quarkus/changequarkuspropertyvalue.md b/docs/recipes/quarkus/changequarkuspropertyvalue.md index 44ed72ac3a..eba2ff059d 100644 --- a/docs/recipes/quarkus/changequarkuspropertyvalue.md +++ b/docs/recipes/quarkus/changequarkuspropertyvalue.md @@ -58,7 +58,7 @@ Now that `com.yourorg.ChangeQuarkusPropertyValueExample` has been defined, activ ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -192,4 +192,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adriano Machado, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Siva_M7, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Adriano Machado, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), Siva_M7, [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/quarkus/configpropertiestoconfigmapping.md b/docs/recipes/quarkus/configpropertiestoconfigmapping.md index 4a1bf15633..11675d7dd7 100644 --- a/docs/recipes/quarkus/configpropertiestoconfigmapping.md +++ b/docs/recipes/quarkus/configpropertiestoconfigmapping.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md b/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md index 3ae37a6b7e..d6b78d76e2 100644 --- a/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md +++ b/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md @@ -113,7 +113,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -295,4 +295,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, Kun Li, [Knut Wannheden](mailto:knut.wannheden@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), Kun Li, [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/quarkus/deletequarkusproperty.md b/docs/recipes/quarkus/deletequarkusproperty.md index bf6b9cf900..7c14fd8261 100644 --- a/docs/recipes/quarkus/deletequarkusproperty.md +++ b/docs/recipes/quarkus/deletequarkusproperty.md @@ -56,7 +56,7 @@ Now that `com.yourorg.DeleteQuarkusPropertyExample` has been defined, activate i ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -190,4 +190,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adriano Machado, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Siva_M7, [Jonathan Schnéider](mailto:jkschneider@gmail.com) +Adriano Machado, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), Siva_M7, [Jonathan Schnéider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md b/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md index c1080d736b..ffa2e863d1 100644 --- a/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md +++ b/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md b/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md index 593ac22938..51d88331a7 100644 --- a/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md +++ b/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md @@ -148,7 +148,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -349,4 +349,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Geoffrey De Smet](mailto:gds.geoffrey.de.smet@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com) +[Geoffrey De Smet](mailto:gds.geoffrey.de.smet@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, Kun Li, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com) diff --git a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md index f7e39b9433..8b25521033 100644 --- a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md +++ b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md @@ -561,7 +561,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md index 96dca6d22b..a1fefdca7b 100644 --- a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md +++ b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md @@ -773,7 +773,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -974,4 +974,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Geoffrey De Smet](mailto:gds.geoffrey.de.smet@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com) +[Geoffrey De Smet](mailto:gds.geoffrey.de.smet@gmail.com), [Alex Boyko](mailto:aboyko@vmware.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), Tyler Van Gorder, Kun Li, [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com) diff --git a/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md b/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md index f76c5013cd..635d2ab88f 100644 --- a/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md +++ b/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md b/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md index ba65daf52e..6a30f5fe3d 100644 --- a/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md +++ b/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md @@ -113,7 +113,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md b/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md index 78bcc6ce1f..615f094686 100644 --- a/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md +++ b/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/quarkus1to1_13migration.md b/docs/recipes/quarkus/quarkus1to1_13migration.md index d6f14737fc..378c09579d 100644 --- a/docs/recipes/quarkus/quarkus1to1_13migration.md +++ b/docs/recipes/quarkus/quarkus1to1_13migration.md @@ -379,7 +379,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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, [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), [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) diff --git a/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md b/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md index e67d2b96ed..c6b2a654ba 100644 --- a/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md +++ b/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md b/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md index fef3297a39..65356766ec 100644 --- a/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md +++ b/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md @@ -365,7 +365,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -566,4 +566,4 @@ _Attempts to resolve maven metadata that failed._ ## Contributors -[Aaron Gershman](mailto:aegershman@gmail.com), Patrick Way, [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Knut Wannheden](mailto:knut.wannheden@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +[Aaron Gershman](mailto:aegershman@gmail.com), Patrick Way, [Sam Snyder](mailto:sam@moderne.io), Tyler Van Gorder, [Knut Wannheden](mailto:knut.wannheden@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Patrick](mailto:patway99@gmail.com), Kun Li, [Tim te Beek](mailto:timtebeek@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [steve-aom-elliott](mailto:steve.aom.elliott@gmail.com) diff --git a/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md b/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md index 4729add530..b4614ee711 100644 --- a/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md +++ b/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md b/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md index 56f7019cbf..88ca02b78b 100644 --- a/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md +++ b/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md b/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md index 1c25c3dce7..722c01ac47 100644 --- a/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md +++ b/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md b/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md index b74b500f87..964c4c589a 100644 --- a/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md +++ b/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md b/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md index 32ec7c4bf3..b15959694f 100644 --- a/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md +++ b/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/quarkus/search/findquarkusprofiles.md b/docs/recipes/quarkus/search/findquarkusprofiles.md index 43b444248e..fb48d0bace 100644 --- a/docs/recipes/quarkus/search/findquarkusprofiles.md +++ b/docs/recipes/quarkus/search/findquarkusprofiles.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +212,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adriano Machado, [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +Adriano Machado, [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/search/findquarkusproperties.md b/docs/recipes/quarkus/search/findquarkusproperties.md index 06d34b3e5a..8ecba7acb5 100644 --- a/docs/recipes/quarkus/search/findquarkusproperties.md +++ b/docs/recipes/quarkus/search/findquarkusproperties.md @@ -54,7 +54,7 @@ Now that `com.yourorg.FindQuarkusPropertiesExample` has been defined, activate i ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -188,4 +188,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Adriano Machado, Siva_M7, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io) +Adriano Machado, Siva_M7, [Guillaume Smet](mailto:guillaume.smet@gmail.com), [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/recipes/rewrite/openrewriterecipebestpractices.md b/docs/recipes/recipes/rewrite/openrewriterecipebestpractices.md index 57c200e41d..407e20c5b8 100644 --- a/docs/recipes/recipes/rewrite/openrewriterecipebestpractices.md +++ b/docs/recipes/recipes/rewrite/openrewriterecipebestpractices.md @@ -46,6 +46,7 @@ This recipe is available under the [Moderne Source Available License](https://do * [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) @@ -77,6 +78,7 @@ recipeList: - org.openrewrite.staticanalysis.RemoveUnusedPrivateFields - org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods - org.openrewrite.staticanalysis.UseDiamondOperator + - org.openrewrite.java.recipes.migrate.RemoveTraitsUsageRecipes ``` @@ -92,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/scala/migrate/upgradescala_2_12.md b/docs/recipes/scala/migrate/upgradescala_2_12.md index 190030b94c..70e7ba17ed 100644 --- a/docs/recipes/scala/migrate/upgradescala_2_12.md +++ b/docs/recipes/scala/migrate/upgradescala_2_12.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/search/findbuildmetadata.md b/docs/recipes/search/findbuildmetadata.md index 521983a702..2a4e8db065 100644 --- a/docs/recipes/search/findbuildmetadata.md +++ b/docs/recipes/search/findbuildmetadata.md @@ -49,7 +49,7 @@ Now that `com.yourorg.FindBuildMetadataExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/search/findcommitters.md b/docs/recipes/search/findcommitters.md index 4c8d4b247a..c7884deb52 100644 --- a/docs/recipes/search/findcommitters.md +++ b/docs/recipes/search/findcommitters.md @@ -36,7 +36,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/search/findparsetoprintinequality.md b/docs/recipes/search/findparsetoprintinequality.md index 39873c8427..2214aaeb7b 100644 --- a/docs/recipes/search/findparsetoprintinequality.md +++ b/docs/recipes/search/findparsetoprintinequality.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/search/repositorycontainsfile.md b/docs/recipes/search/repositorycontainsfile.md index 0e82cfa677..c3da8feb03 100644 --- a/docs/recipes/search/repositorycontainsfile.md +++ b/docs/recipes/search/repositorycontainsfile.md @@ -36,7 +36,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -208,4 +208,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io) +[Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/software/amazon/awssdk/v2migration/README.md b/docs/recipes/software/amazon/awssdk/v2migration/README.md index 8bba457734..cac1bea8ff 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/README.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/README.md @@ -16,6 +16,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Change SDK S3EventNotification types from v1 to v2](./changes3eventnotificationtypes.md) * [Change SDK TransferManager types from v1 to v2](./changetransfermanagertypes.md) * [Change SDK core types from v1 to v2](./changesdkcoretypes.md) +* [Change TransferManager simple methods to v2.](./changetransfermanagersimplemethods.md) * [Change auth related classes from v1 to v2](./changeauthtypes.md) * [Change config related classes from v1 to v2](./changeconfigtypes.md) * [Change new objects creation to Builder pattern](./newclasstobuilderpattern.md) @@ -30,6 +31,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Add AWS SDK for Java v2 S3 Event Notification dependency if needed](./adds3eventnotificationdependency.md) * [Add AWS SDK for Java v2 S3 Transfer Manager dependency if needed](./addtransfermanagerdependency.md) * [Add a comment to a method](./addcommenttomethod.md) +* [Add imports and comments to unsupported S3 transfer manager transforms.](./s3tmaddcomments.md) * [Add imports and comments to unsupported S3 transforms.](./s3addimportsandcomments.md) * [Change AWS SDK for Java v1 types to v2 equivalents](./changesdktype.md) * [Convert ByteBuffer to SdkBytes](./bytebuffertosdkbytes.md) diff --git a/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md b/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md index 8b07c45a26..7d0958cfb8 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md @@ -50,7 +50,7 @@ Now that `com.yourorg.AddCommentToMethodExample` has been defined, activate it a ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/adds3eventnotificationdependency.md b/docs/recipes/software/amazon/awssdk/v2migration/adds3eventnotificationdependency.md index 3d6b52d713..114fc99d69 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.49` + * version: `2.31.68` * 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.49 + version: 2.31.68 onlyIfUsing: com.amazonaws.services.s3.event.S3EventNotification ``` @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/addtransfermanagerdependency.md b/docs/recipes/software/amazon/awssdk/v2migration/addtransfermanagerdependency.md index dc76fb7a9e..9192ec2183 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.49` + * version: `2.31.68` * 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.49 + version: 2.31.68 onlyIfUsing: com.amazonaws.services.s3.transfer.TransferManager ``` @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md b/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md index 844afbecd3..1fd765ed44 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md @@ -122,7 +122,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2experimental.md b/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2experimental.md index 4d6a472c6e..d339ba36f4 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2experimental.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2experimental.md @@ -64,6 +64,8 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac * [V1 S3 non-streaming requests to V2](../../../../software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2complex) * [V1 S3 PutObjectRequest, AmazonS3.putObject(PutObjectRequest), and TransferManager.upload(PutObjectRequest) to V2](../../../../software/amazon/awssdk/v2migration/s3putobjectrequesttov2) * [Convert V1 setters to V2 toBuilder setters](../../../../software/amazon/awssdk/v2migration/setterstobuilderv2) +* [Add imports and comments to unsupported S3 transfer manager transforms.](../../../../software/amazon/awssdk/v2migration/s3tmaddcomments) +* [Change TransferManager simple methods to v2.](../../../../software/amazon/awssdk/v2migration/changetransfermanagersimplemethods) * [Transfer Manager Methods to V2](../../../../software/amazon/awssdk/v2migration/transfermanagermethodstov2) @@ -112,6 +114,8 @@ recipeList: - software.amazon.awssdk.v2migration.S3NonStreamingRequestToV2Complex - software.amazon.awssdk.v2migration.S3PutObjectRequestToV2 - software.amazon.awssdk.v2migration.SettersToBuilderV2 + - software.amazon.awssdk.v2migration.S3TmAddComments + - software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods - software.amazon.awssdk.v2migration.TransferManagerMethodsToV2 ``` @@ -128,7 +132,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/bytebuffertosdkbytes.md b/docs/recipes/software/amazon/awssdk/v2migration/bytebuffertosdkbytes.md index a206c193a3..5b5263fe62 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/bytebuffertosdkbytes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/bytebuffertosdkbytes.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md index 0a16078964..2b497568cf 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md @@ -272,7 +272,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md index de70f34c33..0d10583001 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md @@ -332,7 +332,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md index 068242fea1..43491e7b2c 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md @@ -176,7 +176,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md index 9c465f0e0b..356da5930a 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md @@ -74,7 +74,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changes3eventnotificationtypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changes3eventnotificationtypes.md index 9ccba382cb..0df12ed30f 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changes3eventnotificationtypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changes3eventnotificationtypes.md @@ -140,7 +140,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md index 456d2be97b..05ac74d36a 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md b/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md index 52af92fc66..4b6ea44799 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changetransfermanagersimplemethods.md b/docs/recipes/software/amazon/awssdk/v2migration/changetransfermanagersimplemethods.md new file mode 100644 index 0000000000..9e58f5289d --- /dev/null +++ b/docs/recipes/software/amazon/awssdk/v2migration/changetransfermanagersimplemethods.md @@ -0,0 +1,292 @@ +--- +sidebar_label: "Change TransferManager simple methods to v2." +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Change TransferManager simple methods to v2. + +**software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods** + +_Change TransferManager simple methods to v2._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods), +[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 method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.S3TransferManager resumeDownload(..)` + * newMethodName: `resumeDownloadFile` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.S3TransferManager resumeUpload(..)` + * newMethodName: `resumeUploadFile` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.S3TransferManager shutdownNow()` + * newMethodName: `close` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.model.Transfer getProgress()` + * newMethodName: `progress` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.model.ResumableTransfer serialize()` + * newMethodName: `serializeToString` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.model.ResumableTransfer serialize(java.io.OutputStream)` + * newMethodName: `serializeToOutputStream` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.progress.TransferProgress getBytesTransferred()` + * newMethodName: `snapshot().transferredBytes` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.progress.TransferProgress getTotalBytesToTransfer()` + * newMethodName: `snapshot().totalBytes` +* [Change method name](../../../../java/changemethodname) + * methodPattern: `software.amazon.awssdk.transfer.s3.progress.TransferProgress getPercentTransferred()` + * newMethodName: `snapshot().ratioTransferred` + + + + + +```yaml +--- +type: specs.openrewrite.org/v1beta/recipe +name: software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods +displayName: Change TransferManager simple methods to v2. +description: | + Change TransferManager simple methods to v2. +recipeList: + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.S3TransferManager resumeDownload(..) + newMethodName: resumeDownloadFile + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.S3TransferManager resumeUpload(..) + newMethodName: resumeUploadFile + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.S3TransferManager shutdownNow() + newMethodName: close + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.model.Transfer getProgress() + newMethodName: progress + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.model.ResumableTransfer serialize() + newMethodName: serializeToString + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.model.ResumableTransfer serialize(java.io.OutputStream) + newMethodName: serializeToOutputStream + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.progress.TransferProgress getBytesTransferred() + newMethodName: snapshot().transferredBytes + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.progress.TransferProgress getTotalBytesToTransfer() + newMethodName: snapshot().totalBytes + - org.openrewrite.java.ChangeMethodName: + methodPattern: software.amazon.awssdk.transfer.s3.progress.TransferProgress getPercentTransferred() + newMethodName: snapshot().ratioTransferred + +``` + + + +## 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("software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods") + 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("software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods") + 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 + + software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods + + + + + 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=software.amazon.awssdk.v2migration.ChangeTransferManagerSimpleMethods -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 ChangeTransferManagerSimpleMethods +``` + +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/software/amazon/awssdk/v2migration/changetransfermanagertypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changetransfermanagertypes.md index d5fcae0cc2..c7b6acba60 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changetransfermanagertypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changetransfermanagertypes.md @@ -28,6 +28,12 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac +* [Change method invocation return type](../../../../software/amazon/awssdk/v2migration/openrewrite/changemethodinvocationreturntype) + * methodPattern: `com.amazonaws.services.s3.transfer.TransferManager resumeDownload(..)` + * newReturnType: `software.amazon.awssdk.transfer.s3.model.FileDownload` +* [Change method invocation return type](../../../../software/amazon/awssdk/v2migration/openrewrite/changemethodinvocationreturntype) + * methodPattern: `com.amazonaws.services.s3.transfer.TransferManager resumeUpload(..)` + * newReturnType: `software.amazon.awssdk.transfer.s3.model.FileUpload` * [Change type](../../../../java/changetype) * oldFullyQualifiedTypeName: `com.amazonaws.services.s3.transfer.TransferManager` * newFullyQualifiedTypeName: `software.amazon.awssdk.transfer.s3.S3TransferManager` @@ -95,6 +101,12 @@ displayName: Change SDK TransferManager types from v1 to v2 description: | Change SDK TransferManager types from v1 to v2. recipeList: + - software.amazon.awssdk.v2migration.openrewrite.ChangeMethodInvocationReturnType: + methodPattern: com.amazonaws.services.s3.transfer.TransferManager resumeDownload(..) + newReturnType: software.amazon.awssdk.transfer.s3.model.FileDownload + - software.amazon.awssdk.v2migration.openrewrite.ChangeMethodInvocationReturnType: + methodPattern: com.amazonaws.services.s3.transfer.TransferManager resumeUpload(..) + newReturnType: software.amazon.awssdk.transfer.s3.model.FileUpload - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: com.amazonaws.services.s3.transfer.TransferManager newFullyQualifiedTypeName: software.amazon.awssdk.transfer.s3.S3TransferManager @@ -164,7 +176,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md b/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md index 275d4deb25..96ef4e3edd 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/datetoinstant.md b/docs/recipes/software/amazon/awssdk/v2migration/datetoinstant.md index 19b3bf6e98..1c6bafa873 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/datetoinstant.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/datetoinstant.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md b/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md index 0a7f85854c..6ded20a174 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md b/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md index 97b0547015..be01227706 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md @@ -2054,7 +2054,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md b/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md index 24e4211d1a..0c2d762819 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md index fcf8f5378c..79c7c5f8be 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md index 52dc418ea8..12798e8e32 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md b/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md index 9a7849f8fb..68a4be787b 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md b/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md index 220ad79a77..3b359a9b05 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md @@ -50,7 +50,7 @@ Now that `com.yourorg.NumberToDurationExample` has been defined, activate it and ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/openrewrite/changemethodinvocationreturntype.md b/docs/recipes/software/amazon/awssdk/v2migration/openrewrite/changemethodinvocationreturntype.md index 596a86cbae..4768039b15 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/openrewrite/changemethodinvocationreturntype.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/openrewrite/changemethodinvocationreturntype.md @@ -50,7 +50,7 @@ Now that `com.yourorg.ChangeMethodInvocationReturnTypeExample` has been defined, ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3addimportsandcomments.md b/docs/recipes/software/amazon/awssdk/v2migration/s3addimportsandcomments.md index fd7f9f8abd..4d6c69da8e 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3addimportsandcomments.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3addimportsandcomments.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodstov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodstov2.md index 26fe4f5d1a..d07550ffed 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodstov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodstov2.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodtov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodtov2.md index ceb33bbc4a..95b9d9e908 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodtov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3eventnotificationmethodtov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md b/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md index 6f9482afc3..c83ccca0e4 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md @@ -258,7 +258,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3methodstov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3methodstov2.md index 5cb63a7b76..ad42b6a39f 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3methodstov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3methodstov2.md @@ -488,7 +488,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md index 93e99c36dd..afa4b72aa9 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2complex.md b/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2complex.md index 4b961c1214..969bc89d66 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2complex.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2complex.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3putobjectrequesttov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3putobjectrequesttov2.md index 67589ebf4c..7a415c32c8 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3putobjectrequesttov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3putobjectrequesttov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md index 84773e4451..13d084c517 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md index 345f935d1e..c77bbbf4b6 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3tmaddcomments.md b/docs/recipes/software/amazon/awssdk/v2migration/s3tmaddcomments.md new file mode 100644 index 0000000000..0c27a22a46 --- /dev/null +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3tmaddcomments.md @@ -0,0 +1,212 @@ +--- +sidebar_label: "Add imports and comments to unsupported S3 transfer manager transforms." +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Add imports and comments to unsupported S3 transfer manager transforms. + +**software.amazon.awssdk.v2migration.S3TmAddComments** + +_Add imports and comments to unsupported S3 transfer manager transforms._ + +## Recipe source + +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3TmAddComments), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) + +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. 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("software.amazon.awssdk.v2migration.S3TmAddComments") + 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("software.amazon.awssdk.v2migration.S3TmAddComments") + 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 + + software.amazon.awssdk.v2migration.S3TmAddComments + + + + + 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=software.amazon.awssdk.v2migration.S3TmAddComments -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 S3TmAddComments +``` + +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/software/amazon/awssdk/v2migration/s3typestov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3typestov2.md index d610dd7ee8..f750f50d37 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3typestov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3typestov2.md @@ -212,7 +212,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3uritov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3uritov2.md index 40495d368c..a638243533 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3uritov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3uritov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/sdkbytestobytebuffer.md b/docs/recipes/software/amazon/awssdk/v2migration/sdkbytestobytebuffer.md index 66fd6e859b..942c388b19 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/sdkbytestobytebuffer.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/sdkbytestobytebuffer.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/setterstobuilderv2.md b/docs/recipes/software/amazon/awssdk/v2migration/setterstobuilderv2.md index 397e7d0ef4..bc51b6b811 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/setterstobuilderv2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/setterstobuilderv2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/transfermanagermethodstov2.md b/docs/recipes/software/amazon/awssdk/v2migration/transfermanagermethodstov2.md index 8226920ea1..c7a164daea 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/transfermanagermethodstov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/transfermanagermethodstov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md b/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md index 065cf0b549..77cc1d9932 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.49` + * version: `2.31.68` * onlyIfUsing: `com.amazonaws.ClientConfiguration` * [Add Gradle or Maven dependency](../../../../java/dependencies/adddependency) * groupId: `software.amazon.awssdk` * artifactId: `netty-nio-client` - * version: `2.31.49` + * version: `2.31.68` * 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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` * [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.49` + * newVersion: `2.31.68` @@ -2328,2287 +2328,2287 @@ recipeList: - org.openrewrite.java.dependencies.AddDependency: groupId: software.amazon.awssdk artifactId: apache-client - version: 2.31.49 + version: 2.31.68 onlyIfUsing: com.amazonaws.ClientConfiguration - org.openrewrite.java.dependencies.AddDependency: groupId: software.amazon.awssdk artifactId: netty-nio-client - version: 2.31.49 + version: 2.31.68 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.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bom newGroupId: software.amazon.awssdk newArtifactId: bom - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iot newGroupId: software.amazon.awssdk newArtifactId: iotdataplane - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-oam newGroupId: software.amazon.awssdk newArtifactId: oam - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotwireless newGroupId: software.amazon.awssdk newArtifactId: iotwireless - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-forecast newGroupId: software.amazon.awssdk newArtifactId: forecast - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-licensemanagerlinuxsubscriptions newGroupId: software.amazon.awssdk newArtifactId: licensemanagerlinuxsubscriptions - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-docdbelastic newGroupId: software.amazon.awssdk newArtifactId: docdbelastic - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-emrcontainers newGroupId: software.amazon.awssdk newArtifactId: emrcontainers - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-timestreamwrite newGroupId: software.amazon.awssdk newArtifactId: timestreamwrite - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codebuild newGroupId: software.amazon.awssdk newArtifactId: codebuild - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotdeviceadvisor newGroupId: software.amazon.awssdk newArtifactId: iotdeviceadvisor - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmcontacts newGroupId: software.amazon.awssdk newArtifactId: ssmcontacts - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pcaconnectorscep newGroupId: software.amazon.awssdk newArtifactId: pcaconnectorscep - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-paymentcryptographydata newGroupId: software.amazon.awssdk newArtifactId: paymentcryptographydata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codeguruprofiler newGroupId: software.amazon.awssdk newArtifactId: codeguruprofiler - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesis newGroupId: software.amazon.awssdk newArtifactId: kinesis - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisvideo newGroupId: software.amazon.awssdk newArtifactId: kinesisvideo - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpoint newGroupId: software.amazon.awssdk newArtifactId: pinpoint - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chime newGroupId: software.amazon.awssdk newArtifactId: chime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iottwinmaker newGroupId: software.amazon.awssdk newArtifactId: iottwinmaker - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-organizations newGroupId: software.amazon.awssdk newArtifactId: organizations - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-licensemanager newGroupId: software.amazon.awssdk newArtifactId: licensemanager - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-shield newGroupId: software.amazon.awssdk newArtifactId: shield - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssm newGroupId: software.amazon.awssdk newArtifactId: ssm - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediastoredata newGroupId: software.amazon.awssdk newArtifactId: mediastoredata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakerruntime newGroupId: software.amazon.awssdk newArtifactId: sagemakerruntime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-signer newGroupId: software.amazon.awssdk newArtifactId: signer - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servicecatalog newGroupId: software.amazon.awssdk newArtifactId: servicecatalog - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-timestreaminfluxdb newGroupId: software.amazon.awssdk newArtifactId: timestreaminfluxdb - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lakeformation newGroupId: software.amazon.awssdk newArtifactId: lakeformation - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pcs newGroupId: software.amazon.awssdk newArtifactId: pcs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-licensemanagerusersubscriptions newGroupId: software.amazon.awssdk newArtifactId: licensemanagerusersubscriptions - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-secretsmanager newGroupId: software.amazon.awssdk newArtifactId: secretsmanager - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediaconnect newGroupId: software.amazon.awssdk newArtifactId: mediaconnect - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mwaa newGroupId: software.amazon.awssdk newArtifactId: mwaa - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kms newGroupId: software.amazon.awssdk newArtifactId: kms - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-quicksight newGroupId: software.amazon.awssdk newArtifactId: quicksight - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workmail newGroupId: software.amazon.awssdk newArtifactId: workmail - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-eventbridge newGroupId: software.amazon.awssdk newArtifactId: eventbridge - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakergeospatial newGroupId: software.amazon.awssdk newArtifactId: sagemakergeospatial - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-frauddetector newGroupId: software.amazon.awssdk newArtifactId: frauddetector - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elastictranscoder newGroupId: software.amazon.awssdk newArtifactId: elastictranscoder - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticinference newGroupId: software.amazon.awssdk newArtifactId: elasticinference - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lookoutequipment newGroupId: software.amazon.awssdk newArtifactId: lookoutequipment - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pcaconnectorad newGroupId: software.amazon.awssdk newArtifactId: pcaconnectorad - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpointsmsvoice newGroupId: software.amazon.awssdk newArtifactId: pinpointsmsvoice - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-securitylake newGroupId: software.amazon.awssdk newArtifactId: securitylake - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatch newGroupId: software.amazon.awssdk newArtifactId: cloudwatch - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatchmetrics newGroupId: software.amazon.awssdk newArtifactId: cloudwatch - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-glue newGroupId: software.amazon.awssdk newArtifactId: glue - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-costoptimizationhub newGroupId: software.amazon.awssdk newArtifactId: costoptimizationhub - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servicequotas newGroupId: software.amazon.awssdk newArtifactId: servicequotas - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-s3 newGroupId: software.amazon.awssdk newArtifactId: s3 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appintegrations newGroupId: software.amazon.awssdk newArtifactId: appintegrations - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sesv2 newGroupId: software.amazon.awssdk newArtifactId: sesv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-arczonalshift newGroupId: software.amazon.awssdk newArtifactId: arczonalshift - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-emr newGroupId: software.amazon.awssdk newArtifactId: emr - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-controltower newGroupId: software.amazon.awssdk newArtifactId: controltower - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotfleethub newGroupId: software.amazon.awssdk newArtifactId: iotfleethub - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-personalize newGroupId: software.amazon.awssdk newArtifactId: personalize - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-outposts newGroupId: software.amazon.awssdk newArtifactId: outposts - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workdocs newGroupId: software.amazon.awssdk newArtifactId: workdocs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-networkmanager newGroupId: software.amazon.awssdk newArtifactId: networkmanager - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-omics newGroupId: software.amazon.awssdk newArtifactId: omics - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediapackage newGroupId: software.amazon.awssdk newArtifactId: mediapackage - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-medialive newGroupId: software.amazon.awssdk newArtifactId: medialive - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediaconvert newGroupId: software.amazon.awssdk newArtifactId: mediaconvert - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplaceagreement newGroupId: software.amazon.awssdk newArtifactId: marketplaceagreement - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cognitosync newGroupId: software.amazon.awssdk newArtifactId: cognitosync - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sns newGroupId: software.amazon.awssdk newArtifactId: sns - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-datasync newGroupId: software.amazon.awssdk newArtifactId: datasync - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakeredgemanager newGroupId: software.amazon.awssdk newArtifactId: sagemakeredge - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-greengrassv2 newGroupId: software.amazon.awssdk newArtifactId: greengrassv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpointemail newGroupId: software.amazon.awssdk newArtifactId: pinpointemail - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cleanroomsml newGroupId: software.amazon.awssdk newArtifactId: cleanroomsml - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-augmentedairuntime newGroupId: software.amazon.awssdk newArtifactId: sagemakera2iruntime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-neptunedata newGroupId: software.amazon.awssdk newArtifactId: neptunedata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-b2bi newGroupId: software.amazon.awssdk newArtifactId: b2bi - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotanalytics newGroupId: software.amazon.awssdk newArtifactId: iotanalytics - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-inspector2 newGroupId: software.amazon.awssdk newArtifactId: inspector2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-groundstation newGroupId: software.amazon.awssdk newArtifactId: groundstation - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-fis newGroupId: software.amazon.awssdk newArtifactId: fis - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-proton newGroupId: software.amazon.awssdk newArtifactId: proton - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-voiceid newGroupId: software.amazon.awssdk newArtifactId: voiceid - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudhsm newGroupId: software.amazon.awssdk newArtifactId: cloudhsm - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ecrpublic newGroupId: software.amazon.awssdk newArtifactId: ecrpublic - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servermigration newGroupId: software.amazon.awssdk newArtifactId: sms - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudtraildata newGroupId: software.amazon.awssdk newArtifactId: cloudtraildata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cognitoidentity newGroupId: software.amazon.awssdk newArtifactId: cognitoidentity - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-config newGroupId: software.amazon.awssdk newArtifactId: config - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-osis newGroupId: software.amazon.awssdk newArtifactId: osis - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-private5g newGroupId: software.amazon.awssdk newArtifactId: privatenetworks - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-memorydb newGroupId: software.amazon.awssdk newArtifactId: memorydb - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-inspector newGroupId: software.amazon.awssdk newArtifactId: inspector - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-translate newGroupId: software.amazon.awssdk newArtifactId: translate - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mailmanager newGroupId: software.amazon.awssdk newArtifactId: mailmanager - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-paymentcryptography newGroupId: software.amazon.awssdk newArtifactId: paymentcryptography - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chatbot newGroupId: software.amazon.awssdk newArtifactId: chatbot - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-fms newGroupId: software.amazon.awssdk newArtifactId: fms - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmincidents newGroupId: software.amazon.awssdk newArtifactId: ssmincidents - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-vpclattice newGroupId: software.amazon.awssdk newArtifactId: vpclattice - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-s3control newGroupId: software.amazon.awssdk newArtifactId: s3control - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qapps newGroupId: software.amazon.awssdk newArtifactId: qapps - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-rdsdata newGroupId: software.amazon.awssdk newArtifactId: rdsdata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisanalyticsv2 newGroupId: software.amazon.awssdk newArtifactId: kinesisanalyticsv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qbusiness newGroupId: software.amazon.awssdk newArtifactId: qbusiness - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacecommerceanalytics newGroupId: software.amazon.awssdk newArtifactId: marketplacecommerceanalytics - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-synthetics newGroupId: software.amazon.awssdk newArtifactId: synthetics - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apptest newGroupId: software.amazon.awssdk newArtifactId: apptest - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-costexplorer newGroupId: software.amazon.awssdk newArtifactId: costexplorer - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotsecuretunneling newGroupId: software.amazon.awssdk newArtifactId: iotsecuretunneling - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudfront newGroupId: software.amazon.awssdk newArtifactId: cloudfront - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-location newGroupId: software.amazon.awssdk newArtifactId: location - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-wafv2 newGroupId: software.amazon.awssdk newArtifactId: wafv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opensearch newGroupId: software.amazon.awssdk newArtifactId: opensearch - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ec2instanceconnect newGroupId: software.amazon.awssdk newArtifactId: ec2instanceconnect - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotthingsgraph newGroupId: software.amazon.awssdk newArtifactId: iotthingsgraph - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-repostspace newGroupId: software.amazon.awssdk newArtifactId: repostspace - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53recoveryreadiness newGroupId: software.amazon.awssdk newArtifactId: route53recoveryreadiness - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-health newGroupId: software.amazon.awssdk newArtifactId: health - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workmailmessageflow newGroupId: software.amazon.awssdk newArtifactId: workmailmessageflow - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-comprehendmedical newGroupId: software.amazon.awssdk newArtifactId: comprehendmedical - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotfleetwise newGroupId: software.amazon.awssdk newArtifactId: iotfleetwise - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53profiles newGroupId: software.amazon.awssdk newArtifactId: route53profiles - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bcmdataexports newGroupId: software.amazon.awssdk newArtifactId: bcmdataexports - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-accessanalyzer newGroupId: software.amazon.awssdk newArtifactId: accessanalyzer - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-glacier newGroupId: software.amazon.awssdk newArtifactId: glacier - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lightsail newGroupId: software.amazon.awssdk newArtifactId: lightsail - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatchrum newGroupId: software.amazon.awssdk newArtifactId: rum - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-inspectorscan newGroupId: software.amazon.awssdk newArtifactId: inspectorscan - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-imagebuilder newGroupId: software.amazon.awssdk newArtifactId: imagebuilder - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakermetrics newGroupId: software.amazon.awssdk newArtifactId: sagemakermetrics - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrockagent newGroupId: software.amazon.awssdk newArtifactId: bedrockagent - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhub newGroupId: software.amazon.awssdk newArtifactId: migrationhub - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-simspaceweaver newGroupId: software.amazon.awssdk newArtifactId: simspaceweaver - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticbeanstalk newGroupId: software.amazon.awssdk newArtifactId: elasticbeanstalk - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-freetier newGroupId: software.amazon.awssdk newArtifactId: freetier - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudsearch newGroupId: software.amazon.awssdk newArtifactId: cloudsearchdomain - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-neptune newGroupId: software.amazon.awssdk newArtifactId: neptune - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-supportapp newGroupId: software.amazon.awssdk newArtifactId: supportapp - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-transfer newGroupId: software.amazon.awssdk newArtifactId: transfer - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-deadline newGroupId: software.amazon.awssdk newArtifactId: deadline - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-braket newGroupId: software.amazon.awssdk newArtifactId: braket - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-verifiedpermissions newGroupId: software.amazon.awssdk newArtifactId: verifiedpermissions - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-scheduler newGroupId: software.amazon.awssdk newArtifactId: scheduler - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacedeployment newGroupId: software.amazon.awssdk newArtifactId: marketplacedeployment - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resourcegroups newGroupId: software.amazon.awssdk newArtifactId: resourcegroups - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qldb newGroupId: software.amazon.awssdk newArtifactId: qldb - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dms newGroupId: software.amazon.awssdk newArtifactId: databasemigration - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ecr newGroupId: software.amazon.awssdk newArtifactId: ecr - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dynamodb newGroupId: software.amazon.awssdk newArtifactId: dynamodb - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resiliencehub newGroupId: software.amazon.awssdk newArtifactId: resiliencehub - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qldbsession newGroupId: software.amazon.awssdk newArtifactId: qldbsession - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53 newGroupId: software.amazon.awssdk newArtifactId: route53domains - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-macie2 newGroupId: software.amazon.awssdk newArtifactId: macie2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkmeetings newGroupId: software.amazon.awssdk newArtifactId: chimesdkmeetings - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationautoscaling newGroupId: software.amazon.awssdk newArtifactId: applicationautoscaling - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-entityresolution newGroupId: software.amazon.awssdk newArtifactId: entityresolution - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-s3outposts newGroupId: software.amazon.awssdk newArtifactId: s3outposts - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-managedgrafana newGroupId: software.amazon.awssdk newArtifactId: grafana - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-storagegateway newGroupId: software.amazon.awssdk newArtifactId: storagegateway - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-recyclebin newGroupId: software.amazon.awssdk newArtifactId: rbin - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ioteventsdata newGroupId: software.amazon.awssdk newArtifactId: ioteventsdata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53recoverycluster newGroupId: software.amazon.awssdk newArtifactId: route53recoverycluster - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ecs newGroupId: software.amazon.awssdk newArtifactId: ecs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticloadbalancing newGroupId: software.amazon.awssdk newArtifactId: elasticloadbalancing - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectcontactlens newGroupId: software.amazon.awssdk newArtifactId: connectcontactlens - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkmediapipelines newGroupId: software.amazon.awssdk newArtifactId: chimesdkmediapipelines - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisvideosignalingchannels newGroupId: software.amazon.awssdk newArtifactId: kinesisvideosignaling - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-qconnect newGroupId: software.amazon.awssdk newArtifactId: qconnect - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kendraranking newGroupId: software.amazon.awssdk newArtifactId: kendraranking - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudsearch newGroupId: software.amazon.awssdk newArtifactId: cloudsearch - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-logs newGroupId: software.amazon.awssdk newArtifactId: cloudwatchlogs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appfabric newGroupId: software.amazon.awssdk newArtifactId: appfabric - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lookoutforvision newGroupId: software.amazon.awssdk newArtifactId: lookoutvision - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53resolver newGroupId: software.amazon.awssdk newArtifactId: route53resolver - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workspaces newGroupId: software.amazon.awssdk newArtifactId: workspaces - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-machinelearning newGroupId: software.amazon.awssdk newArtifactId: machinelearning - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-costandusagereport newGroupId: software.amazon.awssdk newArtifactId: costandusagereport - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-taxsettings newGroupId: software.amazon.awssdk newArtifactId: taxsettings - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-fsx newGroupId: software.amazon.awssdk newArtifactId: fsx - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codepipeline newGroupId: software.amazon.awssdk newArtifactId: codepipeline - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticloadbalancingv2 newGroupId: software.amazon.awssdk newArtifactId: elasticloadbalancingv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-directory newGroupId: software.amazon.awssdk newArtifactId: directory - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrockruntime newGroupId: software.amazon.awssdk newArtifactId: bedrockruntime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codestarnotifications newGroupId: software.amazon.awssdk newArtifactId: codestarnotifications - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-schemas newGroupId: software.amazon.awssdk newArtifactId: schemas - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sqs newGroupId: software.amazon.awssdk newArtifactId: sqs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appregistry newGroupId: software.amazon.awssdk newArtifactId: servicecatalogappregistry - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appmesh newGroupId: software.amazon.awssdk newArtifactId: appmesh - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhuborchestrator newGroupId: software.amazon.awssdk newArtifactId: migrationhuborchestrator - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-discovery newGroupId: software.amazon.awssdk newArtifactId: applicationdiscovery - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iot newGroupId: software.amazon.awssdk newArtifactId: iot - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesisvideowebrtcstorage newGroupId: software.amazon.awssdk newArtifactId: kinesisvideowebrtcstorage - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ebs newGroupId: software.amazon.awssdk newArtifactId: ebs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-amplify newGroupId: software.amazon.awssdk newArtifactId: amplify - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudcontrolapi newGroupId: software.amazon.awssdk newArtifactId: cloudcontrol - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-wellarchitected newGroupId: software.amazon.awssdk newArtifactId: wellarchitected - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplaceentitlement newGroupId: software.amazon.awssdk newArtifactId: marketplaceentitlement - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrock newGroupId: software.amazon.awssdk newArtifactId: bedrock - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-redshift newGroupId: software.amazon.awssdk newArtifactId: redshift - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectcases newGroupId: software.amazon.awssdk newArtifactId: connectcases - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appflow newGroupId: software.amazon.awssdk newArtifactId: appflow - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-gamelift newGroupId: software.amazon.awssdk newArtifactId: gamelift - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudtrail newGroupId: software.amazon.awssdk newArtifactId: cloudtrail - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-supplychain newGroupId: software.amazon.awssdk newArtifactId: supplychain - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pipes newGroupId: software.amazon.awssdk newArtifactId: pipes - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudwatchevidently newGroupId: software.amazon.awssdk newArtifactId: evidently - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-amplifyuibuilder newGroupId: software.amazon.awssdk newArtifactId: amplifyuibuilder - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-managedblockchainquery newGroupId: software.amazon.awssdk newArtifactId: managedblockchainquery - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationinsights newGroupId: software.amazon.awssdk newArtifactId: applicationinsights - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkmessaging newGroupId: software.amazon.awssdk newArtifactId: chimesdkmessaging - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediatailor newGroupId: software.amazon.awssdk newArtifactId: mediatailor - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediapackagev2 newGroupId: software.amazon.awssdk newArtifactId: mediapackagev2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resourceexplorer2 newGroupId: software.amazon.awssdk newArtifactId: resourceexplorer2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pi newGroupId: software.amazon.awssdk newArtifactId: pi - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-emrserverless newGroupId: software.amazon.awssdk newArtifactId: emrserverless - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appconfig newGroupId: software.amazon.awssdk newArtifactId: appconfig - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-networkmonitor newGroupId: software.amazon.awssdk newArtifactId: networkmonitor - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemakerfeaturestoreruntime newGroupId: software.amazon.awssdk newArtifactId: sagemakerfeaturestoreruntime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkidentity newGroupId: software.amazon.awssdk newArtifactId: chimesdkidentity - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-computeoptimizer newGroupId: software.amazon.awssdk newArtifactId: computeoptimizer - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectparticipant newGroupId: software.amazon.awssdk newArtifactId: connectparticipant - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mgn newGroupId: software.amazon.awssdk newArtifactId: mgn - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationcostprofiler newGroupId: software.amazon.awssdk newArtifactId: applicationcostprofiler - newVersion: 2.31.49 + newVersion: 2.31.68 - 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.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-keyspaces newGroupId: software.amazon.awssdk newArtifactId: keyspaces - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iam newGroupId: software.amazon.awssdk newArtifactId: iam - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-networkfirewall newGroupId: software.amazon.awssdk newArtifactId: networkfirewall - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-redshiftdataapi newGroupId: software.amazon.awssdk newArtifactId: redshiftdata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediastore newGroupId: software.amazon.awssdk newArtifactId: mediastore - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloud9 newGroupId: software.amazon.awssdk newArtifactId: cloud9 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectwisdom newGroupId: software.amazon.awssdk newArtifactId: wisdom - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sso newGroupId: software.amazon.awssdk newArtifactId: sso - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-auditmanager newGroupId: software.amazon.awssdk newArtifactId: auditmanager - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-snowball newGroupId: software.amazon.awssdk newArtifactId: snowball - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesis newGroupId: software.amazon.awssdk newArtifactId: kinesisanalytics - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53recoverycontrolconfig newGroupId: software.amazon.awssdk newArtifactId: route53recoverycontrolconfig - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opsworks newGroupId: software.amazon.awssdk newArtifactId: opsworks - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-identitystore newGroupId: software.amazon.awssdk newArtifactId: identitystore - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connectcampaign newGroupId: software.amazon.awssdk newArtifactId: connectcampaigns - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-textract newGroupId: software.amazon.awssdk newArtifactId: textract - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-redshiftserverless newGroupId: software.amazon.awssdk newArtifactId: redshiftserverless - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-eks newGroupId: software.amazon.awssdk newArtifactId: eks - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-support newGroupId: software.amazon.awssdk newArtifactId: support - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mechanicalturkrequester newGroupId: software.amazon.awssdk newArtifactId: mturk - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apigatewayv2 newGroupId: software.amazon.awssdk newArtifactId: apigatewayv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-devopsguru newGroupId: software.amazon.awssdk newArtifactId: devopsguru - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-prometheus newGroupId: software.amazon.awssdk newArtifactId: amp - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-drs newGroupId: software.amazon.awssdk newArtifactId: drs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhubconfig newGroupId: software.amazon.awssdk newArtifactId: migrationhubconfig - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kafkaconnect newGroupId: software.amazon.awssdk newArtifactId: kafkaconnect - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kafka newGroupId: software.amazon.awssdk newArtifactId: kafka - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-gluedatabrew newGroupId: software.amazon.awssdk newArtifactId: databrew - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codedeploy newGroupId: software.amazon.awssdk newArtifactId: codedeploy - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudhsmv2 newGroupId: software.amazon.awssdk newArtifactId: cloudhsmv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-batch newGroupId: software.amazon.awssdk newArtifactId: batch - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-savingsplans newGroupId: software.amazon.awssdk newArtifactId: savingsplans - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhubstrategyrecommendations newGroupId: software.amazon.awssdk newArtifactId: migrationhubstrategy - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appsync newGroupId: software.amazon.awssdk newArtifactId: appsync - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-backupgateway newGroupId: software.amazon.awssdk newArtifactId: backupgateway - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dlm newGroupId: software.amazon.awssdk newArtifactId: dlm - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-amplifybackend newGroupId: software.amazon.awssdk newArtifactId: amplifybackend - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-datazoneexternal newGroupId: software.amazon.awssdk newArtifactId: datazone - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-billingconductor newGroupId: software.amazon.awssdk newArtifactId: billingconductor - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workspacesthinclient newGroupId: software.amazon.awssdk newArtifactId: workspacesthinclient - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmsap newGroupId: software.amazon.awssdk newArtifactId: ssmsap - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-budgets newGroupId: software.amazon.awssdk newArtifactId: budgets - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mainframemodernization newGroupId: software.amazon.awssdk newArtifactId: m2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-finspace newGroupId: software.amazon.awssdk newArtifactId: finspace - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-detective newGroupId: software.amazon.awssdk newArtifactId: detective - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lambda newGroupId: software.amazon.awssdk newArtifactId: lambda - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssooidc newGroupId: software.amazon.awssdk newArtifactId: ssooidc - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-panorama newGroupId: software.amazon.awssdk newArtifactId: panorama - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotevents newGroupId: software.amazon.awssdk newArtifactId: iotevents - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-managedblockchain newGroupId: software.amazon.awssdk newArtifactId: managedblockchain - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-servicediscovery newGroupId: software.amazon.awssdk newArtifactId: servicediscovery - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-waf newGroupId: software.amazon.awssdk newArtifactId: waf - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ivs newGroupId: software.amazon.awssdk newArtifactId: ivs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-directconnect newGroupId: software.amazon.awssdk newArtifactId: directconnect - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mq newGroupId: software.amazon.awssdk newArtifactId: mq - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pinpointsmsvoicev2 newGroupId: software.amazon.awssdk newArtifactId: pinpointsmsvoicev2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-internetmonitor newGroupId: software.amazon.awssdk newArtifactId: internetmonitor - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-artifact newGroupId: software.amazon.awssdk newArtifactId: artifact - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotsitewise newGroupId: software.amazon.awssdk newArtifactId: iotsitewise - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lexmodelsv2 newGroupId: software.amazon.awssdk newArtifactId: lexmodelsv2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lexruntimev2 newGroupId: software.amazon.awssdk newArtifactId: lexruntimev2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-serverlessapplicationrepository newGroupId: software.amazon.awssdk newArtifactId: serverlessapplicationrepository - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-eksauth newGroupId: software.amazon.awssdk newArtifactId: eksauth - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-snowdevicemanagement newGroupId: software.amazon.awssdk newArtifactId: snowdevicemanagement - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-clouddirectory newGroupId: software.amazon.awssdk newArtifactId: clouddirectory - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-mediapackagevod newGroupId: software.amazon.awssdk newArtifactId: mediapackagevod - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codestarconnections newGroupId: software.amazon.awssdk newArtifactId: codestarconnections - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codeartifact newGroupId: software.amazon.awssdk newArtifactId: codeartifact - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-guardduty newGroupId: software.amazon.awssdk newArtifactId: guardduty - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-worklink newGroupId: software.amazon.awssdk newArtifactId: worklink - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cleanrooms newGroupId: software.amazon.awssdk newArtifactId: cleanrooms - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-customerprofiles newGroupId: software.amazon.awssdk newArtifactId: customerprofiles - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-trustedadvisor newGroupId: software.amazon.awssdk newArtifactId: trustedadvisor - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dax newGroupId: software.amazon.awssdk newArtifactId: dax - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opsworkscm newGroupId: software.amazon.awssdk newArtifactId: opsworkscm - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-docdb newGroupId: software.amazon.awssdk newArtifactId: docdb - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-acmpca newGroupId: software.amazon.awssdk newArtifactId: acmpca - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kinesis newGroupId: software.amazon.awssdk newArtifactId: firehose - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ivschat newGroupId: software.amazon.awssdk newArtifactId: ivschat - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-globalaccelerator newGroupId: software.amazon.awssdk newArtifactId: globalaccelerator - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ses newGroupId: software.amazon.awssdk newArtifactId: ses - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codegurureviewer newGroupId: software.amazon.awssdk newArtifactId: codegurureviewer - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lexmodelbuilding newGroupId: software.amazon.awssdk newArtifactId: lexmodelbuilding - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-medicalimaging newGroupId: software.amazon.awssdk newArtifactId: medicalimaging - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-account newGroupId: software.amazon.awssdk newArtifactId: account - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-robomaker newGroupId: software.amazon.awssdk newArtifactId: robomaker - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lex newGroupId: software.amazon.awssdk newArtifactId: lexruntime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-autoscaling newGroupId: software.amazon.awssdk newArtifactId: autoscaling - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-nimblestudio newGroupId: software.amazon.awssdk newArtifactId: nimble - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iotjobsdataplane newGroupId: software.amazon.awssdk newArtifactId: iotjobsdataplane - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appconfigdata newGroupId: software.amazon.awssdk newArtifactId: appconfigdata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-controlcatalog newGroupId: software.amazon.awssdk newArtifactId: controlcatalog - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-greengrass newGroupId: software.amazon.awssdk newArtifactId: greengrass - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-securityhub newGroupId: software.amazon.awssdk newArtifactId: securityhub - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-timestreamquery newGroupId: software.amazon.awssdk newArtifactId: timestreamquery - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-backup newGroupId: software.amazon.awssdk newArtifactId: backup - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-opensearchserverless newGroupId: software.amazon.awssdk newArtifactId: opensearchserverless - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cloudformation newGroupId: software.amazon.awssdk newArtifactId: cloudformation - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-kendra newGroupId: software.amazon.awssdk newArtifactId: kendra - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-connect newGroupId: software.amazon.awssdk newArtifactId: connect - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticache newGroupId: software.amazon.awssdk newArtifactId: elasticache - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-stepfunctions newGroupId: software.amazon.awssdk newArtifactId: sfn - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-cognitoidp newGroupId: software.amazon.awssdk newArtifactId: cognitoidentityprovider - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-chimesdkvoice newGroupId: software.amazon.awssdk newArtifactId: chimesdkvoice - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-workspacesweb newGroupId: software.amazon.awssdk newArtifactId: workspacesweb - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-comprehend newGroupId: software.amazon.awssdk newArtifactId: comprehend - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-applicationsignals newGroupId: software.amazon.awssdk newArtifactId: applicationsignals - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacemeteringservice newGroupId: software.amazon.awssdk newArtifactId: marketplacemetering - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-devicefarm newGroupId: software.amazon.awssdk newArtifactId: devicefarm - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-rekognition newGroupId: software.amazon.awssdk newArtifactId: rekognition - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-appstream newGroupId: software.amazon.awssdk newArtifactId: appstream - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-polly newGroupId: software.amazon.awssdk newArtifactId: polly - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-rds newGroupId: software.amazon.awssdk newArtifactId: rds - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-pricing newGroupId: software.amazon.awssdk newArtifactId: pricing - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-simpleworkflow newGroupId: software.amazon.awssdk newArtifactId: swf - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-events newGroupId: software.amazon.awssdk newArtifactId: cloudwatchevents - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssmquicksetup newGroupId: software.amazon.awssdk newArtifactId: ssmquicksetup - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-autoscalingplans newGroupId: software.amazon.awssdk newArtifactId: autoscalingplans - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-datapipeline newGroupId: software.amazon.awssdk newArtifactId: datapipeline - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-transcribe newGroupId: software.amazon.awssdk newArtifactId: transcribe - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ivsrealtime newGroupId: software.amazon.awssdk newArtifactId: ivsrealtime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-personalizeruntime newGroupId: software.amazon.awssdk newArtifactId: personalizeruntime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-elasticsearch newGroupId: software.amazon.awssdk newArtifactId: elasticsearch - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codecommit newGroupId: software.amazon.awssdk newArtifactId: codecommit - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-resourcegroupstaggingapi newGroupId: software.amazon.awssdk newArtifactId: resourcegroupstaggingapi - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-forecastquery newGroupId: software.amazon.awssdk newArtifactId: forecastquery - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-healthlake newGroupId: software.amazon.awssdk newArtifactId: healthlake - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-iamrolesanywhere newGroupId: software.amazon.awssdk newArtifactId: rolesanywhere - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-personalizeevents newGroupId: software.amazon.awssdk newArtifactId: personalizeevents - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apigatewaymanagementapi newGroupId: software.amazon.awssdk newArtifactId: apigatewaymanagementapi - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-launchwizard newGroupId: software.amazon.awssdk newArtifactId: launchwizard - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-xray newGroupId: software.amazon.awssdk newArtifactId: xray - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ssoadmin newGroupId: software.amazon.awssdk newArtifactId: ssoadmin - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-api-gateway newGroupId: software.amazon.awssdk newArtifactId: apigateway - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-migrationhubrefactorspaces newGroupId: software.amazon.awssdk newArtifactId: migrationhubrefactorspaces - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ram newGroupId: software.amazon.awssdk newArtifactId: ram - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codeconnections newGroupId: software.amazon.awssdk newArtifactId: codeconnections - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-efs newGroupId: software.amazon.awssdk newArtifactId: efs - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-bedrockagentruntime newGroupId: software.amazon.awssdk newArtifactId: bedrockagentruntime - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-dataexchange newGroupId: software.amazon.awssdk newArtifactId: dataexchange - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sts newGroupId: software.amazon.awssdk newArtifactId: sts - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-sagemaker newGroupId: software.amazon.awssdk newArtifactId: sagemaker - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-finspacedata newGroupId: software.amazon.awssdk newArtifactId: finspacedata - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-marketplacecatalog newGroupId: software.amazon.awssdk newArtifactId: marketplacecatalog - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-acm newGroupId: software.amazon.awssdk newArtifactId: acm - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-athena newGroupId: software.amazon.awssdk newArtifactId: athena - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-route53 newGroupId: software.amazon.awssdk newArtifactId: route53 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-codegurusecurity newGroupId: software.amazon.awssdk newArtifactId: codegurusecurity - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-tnb newGroupId: software.amazon.awssdk newArtifactId: tnb - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-ec2 newGroupId: software.amazon.awssdk newArtifactId: ec2 - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-apprunner newGroupId: software.amazon.awssdk newArtifactId: apprunner - newVersion: 2.31.49 + newVersion: 2.31.68 - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: com.amazonaws oldArtifactId: aws-java-sdk-lookoutmetrics newGroupId: software.amazon.awssdk newArtifactId: lookoutmetrics - newVersion: 2.31.49 + newVersion: 2.31.68 ``` @@ -4624,7 +4624,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md b/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md index 81c0f9117c..3c4a1419bf 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md b/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md index 4e560e84c0..15bf816024 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md b/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md index a0c9a05193..a8cfb24509 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md b/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md index b7169c5fed..7c510e7433 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/README.md b/docs/recipes/staticanalysis/README.md index 5f0ca64875..7abdf107e3 100644 --- a/docs/recipes/staticanalysis/README.md +++ b/docs/recipes/staticanalysis/README.md @@ -24,6 +24,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Add missing `@Override` to overriding and implementing methods](./missingoverrideannotation.md) * [Add `serialVersionUID` to a `Serializable` class when missing](./addserialversionuidtoserializable.md) * [Annotate methods which may return `null` with `@Nullable`](./annotatenullablemethods.md) +* [Annotate null-checked method parameters with `@Nullable`](./annotatenullableparameters.md) * [Atomic Boolean, Integer, and Long equality checks compare their values](./atomicprimitiveequalsusesget.md) * [Avoid boxed boolean expressions](./avoidboxedbooleanexpressions.md) * [`BigDecimal` rounding constants to `RoundingMode` enums](./bigdecimalroundingconstantstoenums.md) @@ -98,6 +99,7 @@ _Recipes that include further recipes, often including the individual recipes be * [Rename caught exceptions in empty catch blocks to `ignored`](./renameexceptioninemptycatch.md) * [Rename methods named `hashcode`, `equal`, or `tostring`](./renamemethodsnamedhashcodeequalortostring.md) * [Rename packages to lowercase](./lowercasepackage.md) +* [Reorder annotations alphabetically](./reorderannotations.md) * [Replace `A.class.isInstance(a)` with `a instanceof A`](./replaceclassisinstancewithinstanceof.md) * [Replace `Optional#isPresent()` with `Optional#ifPresent()`](./replaceoptionalispresentwithifpresent.md) * [Replace Stream.toList() with Stream.collect(Collectors.toList())](./replacestreamtolistwithcollect.md) diff --git a/docs/recipes/staticanalysis/abstractclasspublicconstructor.md b/docs/recipes/staticanalysis/abstractclasspublicconstructor.md index 62dd3ff5ed..31d38bc461 100644 --- a/docs/recipes/staticanalysis/abstractclasspublicconstructor.md +++ b/docs/recipes/staticanalysis/abstractclasspublicconstructor.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md b/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md index 99722cfdc9..1ed62ba6cc 100644 --- a/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md +++ b/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.staticanalysis.AddSerialAnnotationToSerialVersionUID** -_Annotation any `serialVersionUID` fields with `@Serial` to indicate it's part of the serialization mechanism._ +_Annotate any `serialVersionUID` fields with `@Serial` to indicate it's part of the serialization mechanism._ ## Recipe source @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -255,4 +255,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -jbessels, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +jbessels, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io), iddeepak diff --git a/docs/recipes/staticanalysis/addserialversionuidtoserializable.md b/docs/recipes/staticanalysis/addserialversionuidtoserializable.md index 9def7468c2..9518f39be4 100644 --- a/docs/recipes/staticanalysis/addserialversionuidtoserializable.md +++ b/docs/recipes/staticanalysis/addserialversionuidtoserializable.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/annotatenullablemethods.md b/docs/recipes/staticanalysis/annotatenullablemethods.md index af8b4b444f..48116e371e 100644 --- a/docs/recipes/staticanalysis/annotatenullablemethods.md +++ b/docs/recipes/staticanalysis/annotatenullablemethods.md @@ -108,7 +108,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/annotatenullableparameters.md b/docs/recipes/staticanalysis/annotatenullableparameters.md new file mode 100644 index 0000000000..5d077a4c89 --- /dev/null +++ b/docs/recipes/staticanalysis/annotatenullableparameters.md @@ -0,0 +1,283 @@ +--- +sidebar_label: "Annotate null-checked method parameters with @Nullable" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Annotate null-checked method parameters with `@Nullable` + +**org.openrewrite.staticanalysis.AnnotateNullableParameters** + +_Add `@Nullable` to parameters of public methods that are explicitly checked for `null`. By default `org.jspecify.annotations.Nullable` is used, but through the `nullableAnnotationClass` option a custom annotation can be provided. When providing a custom `nullableAnnotationClass` that annotation should be meta annotated with `@Target(TYPE_USE)`. This recipe scans for methods that do not already have parameters annotated with `@Nullable` annotation and checks their usages for potential null checks._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AnnotateNullableParameters.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). + +## Options + +| Type | Name | Description | Example | +| -- | -- | -- | -- | +| `String` | nullableAnnotationClass | *Optional*. The fully qualified name of the @Nullable annotation. The annotation should be meta annotated with `@Target(TYPE_USE)`. Defaults to `org.jspecify.annotations.Nullable` | `org.jspecify.annotations.Nullable` | + +## Example + +###### Parameters +| Parameter | Value | +| -- | -- | +|nullableAnnotationClass|`null`| + + + + + + +###### Before +```java +public class PersonBuilder { + private String name = "Unknown"; + + public PersonBuilder setName(String name) { + if (name == null) { + return this; + } + this.name = name.substring(0, 1).toUpperCase() + name.substring(1); + return this; + } +} +``` + +###### After +```java +import org.jspecify.annotations.Nullable; + +public class PersonBuilder { + private String name = "Unknown"; + + public PersonBuilder setName(@Nullable String name) { + if (name == null) { + return this; + } + this.name = name.substring(0, 1).toUpperCase() + name.substring(1); + return this; + } +} +``` + + + + +```diff +@@ -1,0 +1,2 @@ ++import org.jspecify.annotations.Nullable; ++ +public class PersonBuilder { +@@ -4,1 +6,1 @@ + private String name = "Unknown"; + +- public PersonBuilder setName(String name) { ++ public PersonBuilder setName(@Nullable String name) { + if (name == null) { +``` + + + + +## 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.AnnotateNullableParameters") + 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.AnnotateNullableParameters") + 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.AnnotateNullableParameters + + + + + 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.AnnotateNullableParameters -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 AnnotateNullableParameters +``` + +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 +[Stefano Dalla Palma](mailto:stefano.dallapalma0@gmail.com), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md b/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md index 482cdec122..e0b8207a74 100644 --- a/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md +++ b/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md @@ -105,7 +105,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md b/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md index 2d49f08ad0..c6fcb7ff48 100644 --- a/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md +++ b/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md b/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md index cca0a8bf52..ec7f9cfa71 100644 --- a/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md +++ b/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md b/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md index e9f442a6e8..2004b49bd0 100644 --- a/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md +++ b/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md @@ -102,7 +102,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/booleanchecksnotinverted.md b/docs/recipes/staticanalysis/booleanchecksnotinverted.md index f5d204018c..97ca94c285 100644 --- a/docs/recipes/staticanalysis/booleanchecksnotinverted.md +++ b/docs/recipes/staticanalysis/booleanchecksnotinverted.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -269,4 +269,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com), Mike Sol, [Tim te Beek](mailto:timtebeek@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Knut Wannheden](mailto:knut.wannheden@gmail.com), Mike Sol, [steve-aom-elliott](mailto:steve@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com) diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md index c228037bb7..40e7a69bb6 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md index 6ff182ebef..2eeaf6d245 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md index 5862b8b879..636b4b31a9 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md index 50debeeecd..749b65e692 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md index 27ee13766b..20f766fcf9 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md @@ -126,7 +126,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md b/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md index 6cd3f707f9..4ebc4ed5e1 100644 --- a/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md +++ b/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/catchclauseonlyrethrows.md b/docs/recipes/staticanalysis/catchclauseonlyrethrows.md index ecccfcc299..0ad74f9c54 100644 --- a/docs/recipes/staticanalysis/catchclauseonlyrethrows.md +++ b/docs/recipes/staticanalysis/catchclauseonlyrethrows.md @@ -33,15 +33,12 @@ This recipe is available under the [Moderne Source Available License](https://do ###### Before ```java -import java.io.FileReader; -import java.io.IOException; - class A { - void foo() throws IOException { + void foo() throws IllegalAccessException { try { - new FileReader("").read(); - } catch (IOException e) { - throw e; + throw new IllegalAccessException(); + } catch (Exception e) { + throw e; // `e` is removed below } } } @@ -49,12 +46,9 @@ class A { ###### After ```java -import java.io.FileReader; -import java.io.IOException; - class A { - void foo() throws IOException { - new FileReader("").read(); + void foo() throws IllegalAccessException { + throw new IllegalAccessException(); } } ``` @@ -63,15 +57,15 @@ class A { ```diff -@@ -6,5 +6,1 @@ +@@ -3,5 +3,1 @@ class A { - void foo() throws IOException { + void foo() throws IllegalAccessException { - try { -- new FileReader("").read(); -- } catch (IOException e) { -- throw e; +- throw new IllegalAccessException(); +- } catch (Exception e) { +- throw e; // `e` is removed below - } -+ new FileReader("").read(); ++ throw new IllegalAccessException(); } ``` @@ -88,12 +82,15 @@ class A { ###### Before ```java +import java.io.FileReader; +import java.io.IOException; + class A { - void foo() throws IllegalAccessException { + void foo() throws IOException { try { - throw new IllegalAccessException(); - } catch (Exception e) { - throw e; // `e` is removed below + new FileReader("").read(); + } catch (IOException e) { + throw e; } } } @@ -101,9 +98,12 @@ class A { ###### After ```java +import java.io.FileReader; +import java.io.IOException; + class A { - void foo() throws IllegalAccessException { - throw new IllegalAccessException(); + void foo() throws IOException { + new FileReader("").read(); } } ``` @@ -112,15 +112,15 @@ class A { ```diff -@@ -3,5 +3,1 @@ +@@ -6,5 +6,1 @@ class A { - void foo() throws IllegalAccessException { + void foo() throws IOException { - try { -- throw new IllegalAccessException(); -- } catch (Exception e) { -- throw e; // `e` is removed below +- new FileReader("").read(); +- } catch (IOException e) { +- throw e; - } -+ throw new IllegalAccessException(); ++ new FileReader("").read(); } ``` @@ -137,7 +137,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md b/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md index 821ff0f237..ecb5418fa9 100644 --- a/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md +++ b/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md @@ -125,7 +125,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/codecleanup.md b/docs/recipes/staticanalysis/codecleanup.md index 65eb4da8ae..4fa7a31cf1 100644 --- a/docs/recipes/staticanalysis/codecleanup.md +++ b/docs/recipes/staticanalysis/codecleanup.md @@ -100,7 +100,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -282,4 +282,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), punkratz312, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jammy Louie](mailto:jammy@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Kun Li](mailto:kun@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Serhii Manko](mailto:mankoffserg@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), Michel Gonzalez, [Greg Adams](mailto:greg@moderne.io), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), Josh Soref, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Scott Jungling](mailto:scott.jungling@gmail.com), [Mike Solomon](mailto:mike@moderne.io) +[Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), punkratz312, [Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Jammy Louie](mailto:jammy@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [Aaron Gershman](mailto:aegershman@gmail.com), [Kun Li](mailto:kun@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Serhii Manko](mailto:mankoffserg@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com), [Lakshya Kwatra](mailto:lakshya.kwatra.official@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), Michel Gonzalez, [Greg Adams](mailto:greg@moderne.io), Josh Soref, [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), iddeepak, [Scott Jungling](mailto:scott.jungling@gmail.com), [Mike Solomon](mailto:mike@moderne.io) diff --git a/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md b/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md index 1f89865eb6..3fe4e5135f 100644 --- a/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md +++ b/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.staticanalysis.CombineSemanticallyEqualCatchBlocks** -_Combine catches in a try that contain semantically equivalent blocks. No change will be made when a caught exception exists if combing catches may change application behavior or type attribution is missing._ +_Combine catches in a try that contain semantically equivalent blocks. No change will be made when a caught exception exists if combining catches may change application behavior or type attribution is missing._ ### Tags @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), Josh Soref, [Knut Wannheden](mailto:knut@moderne.io), Marklinzi, [Sam Snyder](mailto:sam@moderne.io), [Niels de Bruin](mailto:nielsdebruin@gmail.com) +[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 diff --git a/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md b/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md index 8f7e9a6bc5..aeb0cf06ff 100644 --- a/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md +++ b/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md @@ -62,7 +62,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/commonstaticanalysis.md b/docs/recipes/staticanalysis/commonstaticanalysis.md index 6b173d7511..24418822c6 100644 --- a/docs/recipes/staticanalysis/commonstaticanalysis.md +++ b/docs/recipes/staticanalysis/commonstaticanalysis.md @@ -188,7 +188,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -370,4 +370,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, [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Yurii](mailto:yusheng.email@gmail.com), [Karsten Thoms](mailto:karsten.thoms@gmail.com), [Serhii Manko](mailto:mankoffserg@gmail.com), Kun Li, Tyler Van Gorder, [Peter Streef](mailto:p.streef@gmail.com), [Greg Oledzki](mailto:greg.oledzki@moderne.io), Josh Soref, [Jorge Otero](mailto:jorgeor@ext.inditex.com), [Michael Keppler](mailto:bananeweizen@gmx.de), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Joan Viladrosa](mailto:joan@moderne.io), [Grzegorz Olędzki](mailto:grzegon@poczta.onet.pl), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), timo-abele, [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Greg Adams](mailto:greg@moderne.io), Michel Gonzalez, [Knut Wannheden](mailto:knut.wannheden@gmail.com), Mike Sol, [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), Derek Sharpe, [Scott Jungling](mailto:scott.jungling@gmail.com), [Martin Panzer](mailto:postremus1996@googlemail.com), [Mike Solomon](mailto:mike@moderne.io), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [xshen053](mailto:shenxiaxi26@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), [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) diff --git a/docs/recipes/staticanalysis/compareenumswithequalityoperator.md b/docs/recipes/staticanalysis/compareenumswithequalityoperator.md index 2ec33a6031..0528708e0e 100644 --- a/docs/recipes/staticanalysis/compareenumswithequalityoperator.md +++ b/docs/recipes/staticanalysis/compareenumswithequalityoperator.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/controlflowindentation.md b/docs/recipes/staticanalysis/controlflowindentation.md index cecedfb266..85522a5f32 100644 --- a/docs/recipes/staticanalysis/controlflowindentation.md +++ b/docs/recipes/staticanalysis/controlflowindentation.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -267,4 +267,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:timtebeek@gmail.com) +[Sam Snyder](mailto:sam@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Knut Wannheden](mailto:knut@moderne.io) diff --git a/docs/recipes/staticanalysis/covariantequals.md b/docs/recipes/staticanalysis/covariantequals.md index 1cb32424f0..6ecd3984a2 100644 --- a/docs/recipes/staticanalysis/covariantequals.md +++ b/docs/recipes/staticanalysis/covariantequals.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/customimportorder.md b/docs/recipes/staticanalysis/customimportorder.md index 90cb6cb1f7..17639380dc 100644 --- a/docs/recipes/staticanalysis/customimportorder.md +++ b/docs/recipes/staticanalysis/customimportorder.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -263,4 +263,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Serhii Manko](mailto:mankoffserg@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) +[Serhii Manko](mailto:mankoffserg@gmail.com), [Lakshya Kwatra](mailto:lakshya.kwatra.official@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com) diff --git a/docs/recipes/staticanalysis/declarationsitetypevariance.md b/docs/recipes/staticanalysis/declarationsitetypevariance.md index a1653fa92b..d60bfcdd75 100644 --- a/docs/recipes/staticanalysis/declarationsitetypevariance.md +++ b/docs/recipes/staticanalysis/declarationsitetypevariance.md @@ -103,7 +103,7 @@ Now that `com.yourorg.DeclarationSiteTypeVarianceExample` has been defined, acti ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/defaultcomeslast.md b/docs/recipes/staticanalysis/defaultcomeslast.md index ff52356f55..7ce75125a0 100644 --- a/docs/recipes/staticanalysis/defaultcomeslast.md +++ b/docs/recipes/staticanalysis/defaultcomeslast.md @@ -103,7 +103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/emptyblock.md b/docs/recipes/staticanalysis/emptyblock.md index 8257bf3dea..9b79529f3a 100644 --- a/docs/recipes/staticanalysis/emptyblock.md +++ b/docs/recipes/staticanalysis/emptyblock.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/equalsavoidsnull.md b/docs/recipes/staticanalysis/equalsavoidsnull.md index 61b8b631e7..09f4120f10 100644 --- a/docs/recipes/staticanalysis/equalsavoidsnull.md +++ b/docs/recipes/staticanalysis/equalsavoidsnull.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/equalstocontentequals.md b/docs/recipes/staticanalysis/equalstocontentequals.md index 52828f8ba5..c3b1e6a2a0 100644 --- a/docs/recipes/staticanalysis/equalstocontentequals.md +++ b/docs/recipes/staticanalysis/equalstocontentequals.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md b/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md index f487a7dd49..2921585d01 100644 --- a/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md +++ b/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/explicitinitialization.md b/docs/recipes/staticanalysis/explicitinitialization.md index 09d130ef93..512af29603 100644 --- a/docs/recipes/staticanalysis/explicitinitialization.md +++ b/docs/recipes/staticanalysis/explicitinitialization.md @@ -174,7 +174,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md b/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md index 5052fb939b..5ec687fba5 100644 --- a/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md +++ b/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md b/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md index 1bc2bc2153..29c7442f9b 100644 --- a/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md +++ b/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md @@ -107,7 +107,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/fallthrough.md b/docs/recipes/staticanalysis/fallthrough.md index a6903eb5ee..78614f4693 100644 --- a/docs/recipes/staticanalysis/fallthrough.md +++ b/docs/recipes/staticanalysis/fallthrough.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/finalclass.md b/docs/recipes/staticanalysis/finalclass.md index d275386cbf..12235ba905 100644 --- a/docs/recipes/staticanalysis/finalclass.md +++ b/docs/recipes/staticanalysis/finalclass.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/finalizelocalvariables.md b/docs/recipes/staticanalysis/finalizelocalvariables.md index f0e84bfc03..cee0ae0c18 100644 --- a/docs/recipes/staticanalysis/finalizelocalvariables.md +++ b/docs/recipes/staticanalysis/finalizelocalvariables.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/finalizemethodarguments.md b/docs/recipes/staticanalysis/finalizemethodarguments.md index b778d3c1c2..d711be04b8 100644 --- a/docs/recipes/staticanalysis/finalizemethodarguments.md +++ b/docs/recipes/staticanalysis/finalizemethodarguments.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/finalizeprivatefields.md b/docs/recipes/staticanalysis/finalizeprivatefields.md index d41d463513..b481032804 100644 --- a/docs/recipes/staticanalysis/finalizeprivatefields.md +++ b/docs/recipes/staticanalysis/finalizeprivatefields.md @@ -72,7 +72,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/fixstringformatexpressions.md b/docs/recipes/staticanalysis/fixstringformatexpressions.md index 273e1442eb..b523021bb5 100644 --- a/docs/recipes/staticanalysis/fixstringformatexpressions.md +++ b/docs/recipes/staticanalysis/fixstringformatexpressions.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md b/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md index 17481e3e8a..ee49d8c142 100644 --- a/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md +++ b/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/forloopincrementinupdate.md b/docs/recipes/staticanalysis/forloopincrementinupdate.md index f1ca597449..341a943739 100644 --- a/docs/recipes/staticanalysis/forloopincrementinupdate.md +++ b/docs/recipes/staticanalysis/forloopincrementinupdate.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/hiddenfield.md b/docs/recipes/staticanalysis/hiddenfield.md index 52f3c9a48e..2d692c0770 100644 --- a/docs/recipes/staticanalysis/hiddenfield.md +++ b/docs/recipes/staticanalysis/hiddenfield.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/hideutilityclassconstructor.md b/docs/recipes/staticanalysis/hideutilityclassconstructor.md index 09acac8b27..139846f4a4 100644 --- a/docs/recipes/staticanalysis/hideutilityclassconstructor.md +++ b/docs/recipes/staticanalysis/hideutilityclassconstructor.md @@ -76,7 +76,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md b/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md index e57b88a99b..d5130f996b 100644 --- a/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md +++ b/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/indexofreplaceablebycontains.md b/docs/recipes/staticanalysis/indexofreplaceablebycontains.md index 998a715381..140d68e150 100644 --- a/docs/recipes/staticanalysis/indexofreplaceablebycontains.md +++ b/docs/recipes/staticanalysis/indexofreplaceablebycontains.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md b/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md index 9d94d018e7..97430c9360 100644 --- a/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md +++ b/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/inlinevariable.md b/docs/recipes/staticanalysis/inlinevariable.md index 3b688a3a56..de8c6feb78 100644 --- a/docs/recipes/staticanalysis/inlinevariable.md +++ b/docs/recipes/staticanalysis/inlinevariable.md @@ -137,7 +137,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/instanceofpatternmatch.md b/docs/recipes/staticanalysis/instanceofpatternmatch.md index b46f4ca77a..dfdd67b09d 100644 --- a/docs/recipes/staticanalysis/instanceofpatternmatch.md +++ b/docs/recipes/staticanalysis/instanceofpatternmatch.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [Christian Ortlepp](mailto:me@cortlepp.net), [Ko Turk](mailto:ko.turk@hotmail.com), [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), [Andrii Rodionov](mailto:andrey.rodionov@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Hoan Nguyen](mailto:nguyenanhhoan@gmail.com), [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), [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) diff --git a/docs/recipes/staticanalysis/isemptycalloncollections.md b/docs/recipes/staticanalysis/isemptycalloncollections.md index 9bbf4bcae2..915c9ade0a 100644 --- a/docs/recipes/staticanalysis/isemptycalloncollections.md +++ b/docs/recipes/staticanalysis/isemptycalloncollections.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/java/movefieldannotationtotype.md b/docs/recipes/staticanalysis/java/movefieldannotationtotype.md index c6d295ab56..bbb5ff3e69 100644 --- a/docs/recipes/staticanalysis/java/movefieldannotationtotype.md +++ b/docs/recipes/staticanalysis/java/movefieldannotationtotype.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/javaapibestpractices.md b/docs/recipes/staticanalysis/javaapibestpractices.md index d3104f48ed..e1865d44b2 100644 --- a/docs/recipes/staticanalysis/javaapibestpractices.md +++ b/docs/recipes/staticanalysis/javaapibestpractices.md @@ -54,7 +54,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/lambdablocktoexpression.md b/docs/recipes/staticanalysis/lambdablocktoexpression.md index 9f92ab2997..ec7b97ee1f 100644 --- a/docs/recipes/staticanalysis/lambdablocktoexpression.md +++ b/docs/recipes/staticanalysis/lambdablocktoexpression.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/lowercasepackage.md b/docs/recipes/staticanalysis/lowercasepackage.md index b3a6cef586..ac68a360cf 100644 --- a/docs/recipes/staticanalysis/lowercasepackage.md +++ b/docs/recipes/staticanalysis/lowercasepackage.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/maskcreditcardnumbers.md b/docs/recipes/staticanalysis/maskcreditcardnumbers.md index 0257e52362..48e51482fb 100644 --- a/docs/recipes/staticanalysis/maskcreditcardnumbers.md +++ b/docs/recipes/staticanalysis/maskcreditcardnumbers.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/methodnamecasing.md b/docs/recipes/staticanalysis/methodnamecasing.md index 1cea801e81..705adb40f7 100644 --- a/docs/recipes/staticanalysis/methodnamecasing.md +++ b/docs/recipes/staticanalysis/methodnamecasing.md @@ -41,7 +41,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/minimumswitchcases.md b/docs/recipes/staticanalysis/minimumswitchcases.md index 07cb030714..6cfa7722ba 100644 --- a/docs/recipes/staticanalysis/minimumswitchcases.md +++ b/docs/recipes/staticanalysis/minimumswitchcases.md @@ -152,7 +152,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/missingoverrideannotation.md b/docs/recipes/staticanalysis/missingoverrideannotation.md index 4fe634f071..0832b9a50e 100644 --- a/docs/recipes/staticanalysis/missingoverrideannotation.md +++ b/docs/recipes/staticanalysis/missingoverrideannotation.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/modifierorder.md b/docs/recipes/staticanalysis/modifierorder.md index ae22d0bf92..733eac0c82 100644 --- a/docs/recipes/staticanalysis/modifierorder.md +++ b/docs/recipes/staticanalysis/modifierorder.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/multiplevariabledeclarations.md b/docs/recipes/staticanalysis/multiplevariabledeclarations.md index 04ef40c74b..8a6d5ff290 100644 --- a/docs/recipes/staticanalysis/multiplevariabledeclarations.md +++ b/docs/recipes/staticanalysis/multiplevariabledeclarations.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/needbraces.md b/docs/recipes/staticanalysis/needbraces.md index 4c3a701d4d..e99a460902 100644 --- a/docs/recipes/staticanalysis/needbraces.md +++ b/docs/recipes/staticanalysis/needbraces.md @@ -203,7 +203,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/nestedenumsarenotstatic.md b/docs/recipes/staticanalysis/nestedenumsarenotstatic.md index 050b508f8f..931e784e21 100644 --- a/docs/recipes/staticanalysis/nestedenumsarenotstatic.md +++ b/docs/recipes/staticanalysis/nestedenumsarenotstatic.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md b/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md index a0d018cf47..4b0437879a 100644 --- a/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md +++ b/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/nodoublebraceinitialization.md b/docs/recipes/staticanalysis/nodoublebraceinitialization.md index 9dea2fd393..c05c084f50 100644 --- a/docs/recipes/staticanalysis/nodoublebraceinitialization.md +++ b/docs/recipes/staticanalysis/nodoublebraceinitialization.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md b/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md index 22431747c6..68129b90a3 100644 --- a/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md +++ b/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/noequalityinforcondition.md b/docs/recipes/staticanalysis/noequalityinforcondition.md index ced700b752..d5688dd6de 100644 --- a/docs/recipes/staticanalysis/noequalityinforcondition.md +++ b/docs/recipes/staticanalysis/noequalityinforcondition.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/nofinalizedlocalvariables.md b/docs/recipes/staticanalysis/nofinalizedlocalvariables.md index f1fa49c19e..e72b16feee 100644 --- a/docs/recipes/staticanalysis/nofinalizedlocalvariables.md +++ b/docs/recipes/staticanalysis/nofinalizedlocalvariables.md @@ -98,7 +98,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/nofinalizer.md b/docs/recipes/staticanalysis/nofinalizer.md index fa4b34b0c8..c541643fe0 100644 --- a/docs/recipes/staticanalysis/nofinalizer.md +++ b/docs/recipes/staticanalysis/nofinalizer.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md b/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md index 09589a1b70..2e8e294225 100644 --- a/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md +++ b/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/noredundantjumpstatements.md b/docs/recipes/staticanalysis/noredundantjumpstatements.md index 6fbcefa16c..86fd9dc6b3 100644 --- a/docs/recipes/staticanalysis/noredundantjumpstatements.md +++ b/docs/recipes/staticanalysis/noredundantjumpstatements.md @@ -95,7 +95,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/notostringonstringtype.md b/docs/recipes/staticanalysis/notostringonstringtype.md index a4893d24a5..654f61cdc6 100644 --- a/docs/recipes/staticanalysis/notostringonstringtype.md +++ b/docs/recipes/staticanalysis/notostringonstringtype.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/novalueofonstringtype.md b/docs/recipes/staticanalysis/novalueofonstringtype.md index 0da200742b..9c8da069c6 100644 --- a/docs/recipes/staticanalysis/novalueofonstringtype.md +++ b/docs/recipes/staticanalysis/novalueofonstringtype.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/nullableonmethodreturntype.md b/docs/recipes/staticanalysis/nullableonmethodreturntype.md index 60f6c05b1a..e5c2e10465 100644 --- a/docs/recipes/staticanalysis/nullableonmethodreturntype.md +++ b/docs/recipes/staticanalysis/nullableonmethodreturntype.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -255,4 +255,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Kevin Carpenter™️](mailto:kevin@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Kevin Carpenter™️](mailto:kevin@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/staticanalysis/objectfinalizecallssuper.md b/docs/recipes/staticanalysis/objectfinalizecallssuper.md index 2c1c0660c7..449ad51fe3 100644 --- a/docs/recipes/staticanalysis/objectfinalizecallssuper.md +++ b/docs/recipes/staticanalysis/objectfinalizecallssuper.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/operatorwrap.md b/docs/recipes/staticanalysis/operatorwrap.md index 0b8b7cdf34..08deb83276 100644 --- a/docs/recipes/staticanalysis/operatorwrap.md +++ b/docs/recipes/staticanalysis/operatorwrap.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md b/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md index 152a988fb9..1853985f91 100644 --- a/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md +++ b/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md @@ -106,7 +106,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/redundantfilecreation.md b/docs/recipes/staticanalysis/redundantfilecreation.md index 33a5a72497..369c9b4bb4 100644 --- a/docs/recipes/staticanalysis/redundantfilecreation.md +++ b/docs/recipes/staticanalysis/redundantfilecreation.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md b/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md index c59cca551e..de5081be63 100644 --- a/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md +++ b/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removecallstoobjectfinalize.md b/docs/recipes/staticanalysis/removecallstoobjectfinalize.md index 23819d621d..795ee6386e 100644 --- a/docs/recipes/staticanalysis/removecallstoobjectfinalize.md +++ b/docs/recipes/staticanalysis/removecallstoobjectfinalize.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removecallstosystemgc.md b/docs/recipes/staticanalysis/removecallstosystemgc.md index b4bac41dcf..d9a10df3ee 100644 --- a/docs/recipes/staticanalysis/removecallstosystemgc.md +++ b/docs/recipes/staticanalysis/removecallstosystemgc.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeemptyjavadocparameters.md b/docs/recipes/staticanalysis/removeemptyjavadocparameters.md index 8f7fc37670..a8bb9419fe 100644 --- a/docs/recipes/staticanalysis/removeemptyjavadocparameters.md +++ b/docs/recipes/staticanalysis/removeemptyjavadocparameters.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeextrasemicolons.md b/docs/recipes/staticanalysis/removeextrasemicolons.md index 49b9a9978d..f128871545 100644 --- a/docs/recipes/staticanalysis/removeextrasemicolons.md +++ b/docs/recipes/staticanalysis/removeextrasemicolons.md @@ -136,7 +136,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -318,4 +318,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Peter Streef](mailto:p.streef@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Sam Snyder](mailto:sam@moderne.io) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Peter Streef](mailto:p.streef@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [traceyyoshima](mailto:tracey.yoshima@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [steve-aom-elliott](mailto:steve@moderne.io), [Sam Snyder](mailto:sam@moderne.io) diff --git a/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md b/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md index a28dfa3fa8..763f1bc803 100644 --- a/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md +++ b/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md b/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md index 09a7c9475a..ce485fce50 100644 --- a/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md +++ b/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removejavadocauthortag.md b/docs/recipes/staticanalysis/removejavadocauthortag.md index 9535245514..5355807be8 100644 --- a/docs/recipes/staticanalysis/removejavadocauthortag.md +++ b/docs/recipes/staticanalysis/removejavadocauthortag.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeredundanttypecast.md b/docs/recipes/staticanalysis/removeredundanttypecast.md index 0c84abaf1d..824e712823 100644 --- a/docs/recipes/staticanalysis/removeredundanttypecast.md +++ b/docs/recipes/staticanalysis/removeredundanttypecast.md @@ -89,7 +89,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removesystemoutprintln.md b/docs/recipes/staticanalysis/removesystemoutprintln.md index 32be9430f9..209321a7e6 100644 --- a/docs/recipes/staticanalysis/removesystemoutprintln.md +++ b/docs/recipes/staticanalysis/removesystemoutprintln.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md b/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md index f1e125bb0d..15a2903f0e 100644 --- a/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md +++ b/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeunneededassertion.md b/docs/recipes/staticanalysis/removeunneededassertion.md index 0868eedd97..5801daf6cb 100644 --- a/docs/recipes/staticanalysis/removeunneededassertion.md +++ b/docs/recipes/staticanalysis/removeunneededassertion.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeunneededblock.md b/docs/recipes/staticanalysis/removeunneededblock.md index 2457b0ef21..4cb4b94249 100644 --- a/docs/recipes/staticanalysis/removeunneededblock.md +++ b/docs/recipes/staticanalysis/removeunneededblock.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeunusedlocalvariables.md b/docs/recipes/staticanalysis/removeunusedlocalvariables.md index 15d8689ef2..2b3944b10e 100644 --- a/docs/recipes/staticanalysis/removeunusedlocalvariables.md +++ b/docs/recipes/staticanalysis/removeunusedlocalvariables.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -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), [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), [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) diff --git a/docs/recipes/staticanalysis/removeunusedprivatefields.md b/docs/recipes/staticanalysis/removeunusedprivatefields.md index ac266b169c..10e9d9b37b 100644 --- a/docs/recipes/staticanalysis/removeunusedprivatefields.md +++ b/docs/recipes/staticanalysis/removeunusedprivatefields.md @@ -66,7 +66,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/removeunusedprivatemethods.md b/docs/recipes/staticanalysis/removeunusedprivatemethods.md index d5669e38e9..3cb1ab98af 100644 --- a/docs/recipes/staticanalysis/removeunusedprivatemethods.md +++ b/docs/recipes/staticanalysis/removeunusedprivatemethods.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/renameexceptioninemptycatch.md b/docs/recipes/staticanalysis/renameexceptioninemptycatch.md index 5a5db5e5bc..405bc7010d 100644 --- a/docs/recipes/staticanalysis/renameexceptioninemptycatch.md +++ b/docs/recipes/staticanalysis/renameexceptioninemptycatch.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md b/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md index ab2283e769..89611f99b0 100644 --- a/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md +++ b/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md @@ -114,7 +114,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md b/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md index 0c6dcbc586..e73a29e5fe 100644 --- a/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md +++ b/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md @@ -134,7 +134,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md b/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md index 7b2c72b305..e16d432edc 100644 --- a/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md +++ b/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -297,4 +297,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -Guliver, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [pstreef](mailto:p.streef@gmail.com) +Guliver, [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Joan Viladrosa](mailto:joan@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Jacob van Lingen](mailto:jacobvanlingen@hotmail.com), [pstreef](mailto:p.streef@gmail.com), [steve-aom-elliott](mailto:steve@moderne.io) diff --git a/docs/recipes/staticanalysis/reorderannotations.md b/docs/recipes/staticanalysis/reorderannotations.md new file mode 100644 index 0000000000..96083848ce --- /dev/null +++ b/docs/recipes/staticanalysis/reorderannotations.md @@ -0,0 +1,268 @@ +--- +sidebar_label: "Reorder annotations alphabetically" +--- + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +# Reorder annotations alphabetically + +**org.openrewrite.staticanalysis.ReorderAnnotations** + +_Consistently order annotations by comparing their simple name._ + +## Recipe source + +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReorderAnnotations.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 +import org.junit.jupiter.api.Test; +import org.junitpioneer.jupiter.ExpectedToFail; +import org.junitpioneer.jupiter.Issue; +class A { + @Issue("https://github.com/openrewrite/rewrite/issues/2973") + @Test + @ExpectedToFail + void explicitImplementationClassInApi() { + } +} +``` + +###### After +```java +import org.junit.jupiter.api.Test; +import org.junitpioneer.jupiter.ExpectedToFail; +import org.junitpioneer.jupiter.Issue; +class A { + @ExpectedToFail + @Issue("https://github.com/openrewrite/rewrite/issues/2973") + @Test + void explicitImplementationClassInApi() { + } +} +``` + + + + +```diff +@@ -5,0 +5,1 @@ +import org.junitpioneer.jupiter.Issue; +class A { ++ @ExpectedToFail + @Issue("https://github.com/openrewrite/rewrite/issues/2973") +@@ -7,1 +8,0 @@ + @Issue("https://github.com/openrewrite/rewrite/issues/2973") + @Test +- @ExpectedToFail + void explicitImplementationClassInApi() { +``` + + + + +## 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.ReorderAnnotations") + 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.ReorderAnnotations") + 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.ReorderAnnotations + + + + + 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.ReorderAnnotations -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 ReorderAnnotations +``` + +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 +[steve-aom-elliott](mailto:steve@moderne.io), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md b/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md index a185c9146d..21b8f4072d 100644 --- a/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md +++ b/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md @@ -157,7 +157,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md b/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md index eb2f99d496..3b9b31e827 100644 --- a/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md +++ b/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md b/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md index bcea4d47d2..2460597bda 100644 --- a/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md +++ b/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md @@ -84,7 +84,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md b/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md index 13b880615a..ef53938b5b 100644 --- a/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md +++ b/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replaceduplicatestringliterals.md b/docs/recipes/staticanalysis/replaceduplicatestringliterals.md index 6a7e98f624..fb9a326df0 100644 --- a/docs/recipes/staticanalysis/replaceduplicatestringliterals.md +++ b/docs/recipes/staticanalysis/replaceduplicatestringliterals.md @@ -93,7 +93,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -275,4 +275,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [lkerford](mailto:lea.kerford@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Adam Birem](mailto:adam.birem@praxedo.com) +[Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [lkerford](mailto:lea.kerford@gmail.com), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [steve-aom-elliott](mailto:steve@moderne.io), [Adam Birem](mailto:adam.birem@praxedo.com) diff --git a/docs/recipes/staticanalysis/replacelambdawithmethodreference.md b/docs/recipes/staticanalysis/replacelambdawithmethodreference.md index c4e79770ef..5e8f221ee9 100644 --- a/docs/recipes/staticanalysis/replacelambdawithmethodreference.md +++ b/docs/recipes/staticanalysis/replacelambdawithmethodreference.md @@ -103,7 +103,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md b/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md index cf200800d2..66ce22c3f6 100644 --- a/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md +++ b/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md b/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md index 6982079711..8ad57b36e4 100644 --- a/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md +++ b/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacestackwithdeque.md b/docs/recipes/staticanalysis/replacestackwithdeque.md index 52b7dae6ff..03ec6cfc3d 100644 --- a/docs/recipes/staticanalysis/replacestackwithdeque.md +++ b/docs/recipes/staticanalysis/replacestackwithdeque.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -269,4 +269,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), aaronist, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:timtebeek@gmail.com), [Laurens Westerlaken](mailto:laurens.westerlaken@jdriven.com), [Patrick](mailto:patway99@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), aaronist, [Knut Wannheden](mailto:knut@moderne.io), [Tim te Beek](mailto:tim@moderne.io), [Patrick](mailto:patway99@gmail.com) diff --git a/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md b/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md index 3a2c35a0c5..04f419c340 100644 --- a/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md +++ b/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacestringbuilderwithstring.md b/docs/recipes/staticanalysis/replacestringbuilderwithstring.md index 8ee1c60fda..a3322298c5 100644 --- a/docs/recipes/staticanalysis/replacestringbuilderwithstring.md +++ b/docs/recipes/staticanalysis/replacestringbuilderwithstring.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacetextblockwithstring.md b/docs/recipes/staticanalysis/replacetextblockwithstring.md index 4b566da7d4..c2c335d913 100644 --- a/docs/recipes/staticanalysis/replacetextblockwithstring.md +++ b/docs/recipes/staticanalysis/replacetextblockwithstring.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md b/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md index 06152d014f..28f794c9a2 100644 --- a/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md +++ b/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md @@ -153,7 +153,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md b/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md index d83683a381..f56b37b8d1 100644 --- a/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md +++ b/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md @@ -68,7 +68,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md b/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md index 5ae54ec7bf..2b8650cc30 100644 --- a/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md +++ b/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/replaceweekyearwithyear.md b/docs/recipes/staticanalysis/replaceweekyearwithyear.md index 50ffbff748..2baedc88de 100644 --- a/docs/recipes/staticanalysis/replaceweekyearwithyear.md +++ b/docs/recipes/staticanalysis/replaceweekyearwithyear.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifybooleanexpression.md b/docs/recipes/staticanalysis/simplifybooleanexpression.md index cb3b639ccf..0768f44935 100644 --- a/docs/recipes/staticanalysis/simplifybooleanexpression.md +++ b/docs/recipes/staticanalysis/simplifybooleanexpression.md @@ -116,7 +116,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifybooleanreturn.md b/docs/recipes/staticanalysis/simplifybooleanreturn.md index f3ee6a8f5c..0d7c8ef008 100644 --- a/docs/recipes/staticanalysis/simplifybooleanreturn.md +++ b/docs/recipes/staticanalysis/simplifybooleanreturn.md @@ -105,7 +105,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifycompoundstatement.md b/docs/recipes/staticanalysis/simplifycompoundstatement.md index 485808bb50..03ddd7cf92 100644 --- a/docs/recipes/staticanalysis/simplifycompoundstatement.md +++ b/docs/recipes/staticanalysis/simplifycompoundstatement.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md b/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md index 5a2cf56556..aae52682ed 100644 --- a/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md +++ b/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md b/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md index 85b8434ed8..d3f6c7f727 100644 --- a/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md +++ b/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifydurationcreationunits.md b/docs/recipes/staticanalysis/simplifydurationcreationunits.md index f23493d124..7be87f3805 100644 --- a/docs/recipes/staticanalysis/simplifydurationcreationunits.md +++ b/docs/recipes/staticanalysis/simplifydurationcreationunits.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md index f037ae9a60..a8c6056f5c 100644 --- a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md +++ b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md index 2c232b570f..00716c1475 100644 --- a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md +++ b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/simplifyternaryrecipes.md b/docs/recipes/staticanalysis/simplifyternaryrecipes.md index 1d6d570e26..3ff4e20916 100644 --- a/docs/recipes/staticanalysis/simplifyternaryrecipes.md +++ b/docs/recipes/staticanalysis/simplifyternaryrecipes.md @@ -174,7 +174,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md b/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md index 1d4e3d5c54..1da5fdf4e1 100644 --- a/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md +++ b/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/staticmethodnotfinal.md b/docs/recipes/staticanalysis/staticmethodnotfinal.md index c99af6b25a..b15042a96e 100644 --- a/docs/recipes/staticanalysis/staticmethodnotfinal.md +++ b/docs/recipes/staticanalysis/staticmethodnotfinal.md @@ -70,7 +70,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/stringliteralequality.md b/docs/recipes/staticanalysis/stringliteralequality.md index 135e76a5f3..dcd50aa1b8 100644 --- a/docs/recipes/staticanalysis/stringliteralequality.md +++ b/docs/recipes/staticanalysis/stringliteralequality.md @@ -131,7 +131,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md b/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md index bda090a2bd..d94bf7eb1c 100644 --- a/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md +++ b/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md @@ -129,7 +129,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/typecastparenpad.md b/docs/recipes/staticanalysis/typecastparenpad.md index 8061db17f0..7d89576759 100644 --- a/docs/recipes/staticanalysis/typecastparenpad.md +++ b/docs/recipes/staticanalysis/typecastparenpad.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.staticanalysis.TypecastParenPad** -_Fixes whitespace padding between a typecast type identifier and the enclosing left and right parenthesis. For example, when configured to remove spacing, `( int ) 0L;` becomes `(int) 0L;`._ +_Fixes whitespace padding between a typecast type identifier and the enclosing left and right parentheses. For example, when configured to remove spacing, `( int ) 0L;` becomes `(int) 0L;`._ ## Recipe source @@ -19,6 +19,59 @@ _Fixes whitespace padding between a typecast type identifier and the enclosing l 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 m() { + int i = ( int ) 0L; + int j = (int) 0L; + int k = (int)0L; + int l = ( int )0L; + } +} +``` + +###### After +```java +class A { + void m() { + int i = (int) 0L; + int j = (int) 0L; + int k = (int) 0L; + int l = (int) 0L; + } +} +``` + + + + +```diff +@@ -3,1 +3,1 @@ +class A { + void m() { +- int i = ( int ) 0L; ++ int i = (int) 0L; + int j = (int) 0L; +@@ -5,2 +5,2 @@ + int i = ( int ) 0L; + int j = (int) 0L; +- int k = (int)0L; +- int l = ( int )0L; ++ int k = (int) 0L; ++ int l = (int) 0L; + } +``` + + + ## Usage @@ -30,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -212,4 +265,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com) +[Jonathan Leitschuh](mailto:jonathan.leitschuh@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schnéider](mailto:jkschneider@gmail.com), iddeepak diff --git a/docs/recipes/staticanalysis/unnecessarycatch.md b/docs/recipes/staticanalysis/unnecessarycatch.md index 70c4c3300a..5f35841d79 100644 --- a/docs/recipes/staticanalysis/unnecessarycatch.md +++ b/docs/recipes/staticanalysis/unnecessarycatch.md @@ -96,7 +96,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md b/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md index d80edca7dc..c90e68d4f5 100644 --- a/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md +++ b/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md b/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md index 17e21e33ee..049d264206 100644 --- a/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md +++ b/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/unnecessaryparentheses.md b/docs/recipes/staticanalysis/unnecessaryparentheses.md index 6427c2f0c8..618af0c75a 100644 --- a/docs/recipes/staticanalysis/unnecessaryparentheses.md +++ b/docs/recipes/staticanalysis/unnecessaryparentheses.md @@ -130,7 +130,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md b/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md index 425ea59228..dc628613f0 100644 --- a/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md +++ b/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md @@ -83,7 +83,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md b/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md index 7d9ff488cb..eb07f61597 100644 --- a/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md +++ b/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/unnecessarythrows.md b/docs/recipes/staticanalysis/unnecessarythrows.md index ddffa979c8..87e606dd40 100644 --- a/docs/recipes/staticanalysis/unnecessarythrows.md +++ b/docs/recipes/staticanalysis/unnecessarythrows.md @@ -90,7 +90,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/unwraprepeatableannotations.md b/docs/recipes/staticanalysis/unwraprepeatableannotations.md index 37e1417c6c..deb809c2cf 100644 --- a/docs/recipes/staticanalysis/unwraprepeatableannotations.md +++ b/docs/recipes/staticanalysis/unwraprepeatableannotations.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md b/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md index b67248b4e8..0ce3f05742 100644 --- a/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md +++ b/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md @@ -92,7 +92,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md index 2834c8d30d..c1a53d5eb6 100644 --- a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md +++ b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md index 8490076ac8..0bc2a2dfe8 100644 --- a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md +++ b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/urlequalshashcoderecipes.md b/docs/recipes/staticanalysis/urlequalshashcoderecipes.md index 4bf8694395..fdf8f4b5e2 100644 --- a/docs/recipes/staticanalysis/urlequalshashcoderecipes.md +++ b/docs/recipes/staticanalysis/urlequalshashcoderecipes.md @@ -115,7 +115,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/useasbuilder.md b/docs/recipes/staticanalysis/useasbuilder.md index 90cb7f8843..5ecd49d5f2 100644 --- a/docs/recipes/staticanalysis/useasbuilder.md +++ b/docs/recipes/staticanalysis/useasbuilder.md @@ -51,7 +51,7 @@ Now that `com.yourorg.UseAsBuilderExample` has been defined, activate it and tak ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/usecollectioninterfaces.md b/docs/recipes/staticanalysis/usecollectioninterfaces.md index eac61ab480..de2eed4d88 100644 --- a/docs/recipes/staticanalysis/usecollectioninterfaces.md +++ b/docs/recipes/staticanalysis/usecollectioninterfaces.md @@ -82,7 +82,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -264,4 +264,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io) +[Tracey Yoshima](mailto:tracey.yoshima@gmail.com), [JohannisK](mailto:johan.kragt@moderne.io), [Michael Keppler](mailto:bananeweizen@gmx.de), [Knut Wannheden](mailto:knut@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Sam Snyder](mailto:sam@moderne.io), [Pierre Delagrave](mailto:pierre.delagrave@gmail.com) diff --git a/docs/recipes/staticanalysis/usediamondoperator.md b/docs/recipes/staticanalysis/usediamondoperator.md index 798f591914..adda2ebfcd 100644 --- a/docs/recipes/staticanalysis/usediamondoperator.md +++ b/docs/recipes/staticanalysis/usediamondoperator.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md b/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md index 9387146477..9effd9b95b 100644 --- a/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md +++ b/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md @@ -101,7 +101,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/usejavastylearraydeclarations.md b/docs/recipes/staticanalysis/usejavastylearraydeclarations.md index ca920cfe25..d7a1d6b8d5 100644 --- a/docs/recipes/staticanalysis/usejavastylearraydeclarations.md +++ b/docs/recipes/staticanalysis/usejavastylearraydeclarations.md @@ -88,7 +88,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md b/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md index 36dc24f901..d9ac5ea6a8 100644 --- a/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md +++ b/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/uselistsort.md b/docs/recipes/staticanalysis/uselistsort.md index 5cb31b5652..4b5775c4e4 100644 --- a/docs/recipes/staticanalysis/uselistsort.md +++ b/docs/recipes/staticanalysis/uselistsort.md @@ -87,7 +87,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/usemapcontainskey.md b/docs/recipes/staticanalysis/usemapcontainskey.md index 82d4e8d6e7..e3b7f5dc2a 100644 --- a/docs/recipes/staticanalysis/usemapcontainskey.md +++ b/docs/recipes/staticanalysis/usemapcontainskey.md @@ -58,7 +58,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/useobjectnotifyall.md b/docs/recipes/staticanalysis/useobjectnotifyall.md index c1c47ecdc3..a0fefdec24 100644 --- a/docs/recipes/staticanalysis/useobjectnotifyall.md +++ b/docs/recipes/staticanalysis/useobjectnotifyall.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/usestandardcharset.md b/docs/recipes/staticanalysis/usestandardcharset.md index 46e7467f2a..6f0c22d465 100644 --- a/docs/recipes/staticanalysis/usestandardcharset.md +++ b/docs/recipes/staticanalysis/usestandardcharset.md @@ -94,7 +94,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/usestringreplace.md b/docs/recipes/staticanalysis/usestringreplace.md index a75b995f75..b5917076f4 100644 --- a/docs/recipes/staticanalysis/usestringreplace.md +++ b/docs/recipes/staticanalysis/usestringreplace.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/usesystemlineseparator.md b/docs/recipes/staticanalysis/usesystemlineseparator.md index 6d5ced3368..362139d7b9 100644 --- a/docs/recipes/staticanalysis/usesystemlineseparator.md +++ b/docs/recipes/staticanalysis/usesystemlineseparator.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/whileinsteadoffor.md b/docs/recipes/staticanalysis/whileinsteadoffor.md index 466392c6c2..88d803513d 100644 --- a/docs/recipes/staticanalysis/whileinsteadoffor.md +++ b/docs/recipes/staticanalysis/whileinsteadoffor.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md b/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md index e46aa2dbf8..dc8434025d 100644 --- a/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md +++ b/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md index ed08cd6781..cd8b50ab71 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md index dac1e049d8..ee0f7f3567 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md index bd7d4f1f52..66ad61519c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md @@ -64,7 +64,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md index 45de884594..a82ef421e5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md index 81df9f3b0d..d3f7d015f9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md index f8208c8331..e3fdd8f3a4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md index c4cc501209..3ee68de7c7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md index 5d012b2212..900cb95e20 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md index d70b8f5c68..e343dd5a73 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md index a7eae9dbd8..3bab3a9f36 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md index 5ef11c99ca..ce3a8e3652 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md index 5a4f510d07..3176b8bb75 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md index b2c27a8c73..fb8186121d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md index 3232374d35..c30fc0cac1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md index 1d4f9cf424..5f32623c80 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md index 0cea99df4f..a59d7b6082 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md index 15cd47d96a..3dec751e90 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md index b777e3d4ad..9cd4c295a7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md index 89f54c5f77..9d7474ee38 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md index 6b5b302c62..f897d76b34 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md index 22ef229e08..06a4b53c97 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md index 864b31b536..ff66010e06 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md index 7d2553fb5c..b66102d22a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md index 23876cfe47..71baa0e5ee 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md index 5d507721e7..e24aad73d0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md index 20de0e808f..c2cfd55a20 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisequalbycomparingtorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisequalbycomparingtorecipe.md index 66745eef85..72dfcf0ec1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisequalbycomparingtorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisequalbycomparingtorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanorequaltorecipe.md index 9ab00ac397..9439341fc0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanorequaltorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanrecipe.md index 3fa2325b34..3b0f174809 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisgreaterthanrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanorequaltorecipe.md index ae7aec1e6f..9974ffcb35 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanorequaltorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanrecipe.md index f14bf43030..2ed260d4ad 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatislessthanrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisnotequalbycomparingtorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisnotequalbycomparingtorecipe.md index d43ced9b79..1e2a47ad92 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisnotequalbycomparingtorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes$assertthatisnotequalbycomparingtorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes.md index d6c0c3d7bf..25f22f5616 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcomparablerulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md index 82a3adc601..b193e306c2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md index ff4a06cc8a..920f4e8132 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md index 464d82f0c4..66e122f7bb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md index 196caba531..2e7be67175 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md index 38acf0bdb1..c51ecc278c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md index 732a78fa3b..e1898b3f28 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md index e1e977070e..173179fc67 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassamesizeasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassamesizeasrecipe.md index 1d07926afb..ded7d8a6fa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassamesizeasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassamesizeasrecipe.md @@ -60,7 +60,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizebetweenrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizebetweenrecipe.md index 54bbe87d1b..d3dde3cf84 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizebetweenrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizebetweenrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanorequaltorecipe.md index 5a740ef99d..77c8d221be 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanorequaltorecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanrecipe.md index de0eda3b4a..6b604544b6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizegreaterthanrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanorequaltorecipe.md index 7be0f772cb..c58bfe5723 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanorequaltorecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanrecipe.md index cea428c88f..19763345ea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizelessthanrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizerecipe.md index d7af9d9850..64f0e5d8bf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableasserthassizerecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisemptyrecipe.md index 1f300e428d..aaa0dfca29 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisemptyrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisnotemptyrecipe.md index ac13c616ea..3b21b8df16 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes$enumerableassertisnotemptyrecipe.md @@ -55,7 +55,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes.md index 4d8dae02e4..26a7485df2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjenumerablerulesrecipes.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md index bc8e4d0395..7f8e0e482c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md index 821d7ce84f..cf30103177 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md index 83ba28c5e4..00843d0040 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md index 68cb3c787c..1431b67b56 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md index b0681a67e7..9176023083 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md index 78a4b299a0..bcce86e9db 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md index 394591f5e5..f569a104ab 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md index ed599c7252..efb42299a6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md index 1f80a7ff90..77aab420e2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md index f0644f35d2..eb879945a9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md index 01792ff15b..7371596622 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md index a31401552f..4a44d1a1f7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md index 4c31a91915..25b1ab1d7d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablehasoneelementequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablehasoneelementequaltorecipe.md index 0a5e3fd525..19c5262bcb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablehasoneelementequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablehasoneelementequaltorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisemptyrecipe.md index fea26e4d47..71ab766a30 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisemptyrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisnotemptyrecipe.md index 2436f0dc77..837f9e47ee 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterableisnotemptyrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablesizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablesizerecipe.md index 410a2537e8..be3c2bec2a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablesizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes$assertthatiterablesizerecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes.md index 54c6c76e15..553a25d74b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiterablerulesrecipes.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthathasnextrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthathasnextrecipe.md index e6eb2c92ef..791fc2393f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthathasnextrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthathasnextrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthatisexhaustedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthatisexhaustedrecipe.md index cb53e45b3b..ddd5b5a8fc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthatisexhaustedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes$assertthatisexhaustedrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes.md index c85f7679bf..a26f540716 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjiteratorrulesrecipes.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md index 141a0e3c1b..880b1cc485 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md index 7bcaae0e59..961ae9dde3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md index ac562eaca1..44702078d6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md index 84738493c7..aae69b20f2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md index 16b84e7c5f..8508f71de9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md index 5d9a0478ca..b1d547c665 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyentriesofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyentriesofrecipe.md index ab738806f5..5766890b8c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyentriesofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyentriesofrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyinanyorderentriesofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyinanyorderentriesofrecipe.md index 80211edd91..c684d8abeb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyinanyorderentriesofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapassertcontainsexactlyinanyorderentriesofrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapasserthassamesizeasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapasserthassamesizeasrecipe.md index 3f6b77bb07..d969f3114a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapasserthassamesizeasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$abstractmapasserthassamesizeasrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainskeyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainskeyrecipe.md index e0343e86df..c976b6019e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainskeyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainskeyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsonlykeysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsonlykeysrecipe.md index 2f184bffe4..29811f8a5a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsonlykeysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsonlykeysrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsvaluerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsvaluerecipe.md index 5646f2d7d5..497fb796f3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsvaluerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapcontainsvaluerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainkeyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainkeyrecipe.md index 09a8b29aa3..26e0b4a72b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainkeyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainkeyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainvaluerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainvaluerecipe.md index 460f2e79a4..09b983c735 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainvaluerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapdoesnotcontainvaluerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapisemptyrecipe.md index 7f48273006..eee0bc95fb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes$assertthatmapisemptyrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes.md index bcc216a23c..b8b8e6f894 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjmaprulesrecipes.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md index 6fb08b1974..a60206584e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md index d10d626594..afbdc1103f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md index 5bb9fd95b9..4617fae065 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md index 344edf91f3..1592b8dcb4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md @@ -80,7 +80,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md index e69922c2ad..d4f27df1fe 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthathastostringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthathastostringrecipe.md index eb56bbf472..19adc2e5f9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthathastostringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthathastostringrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisequaltorecipe.md index 4eba208ca1..3aafd52d80 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisequaltorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisnotequaltorecipe.md index 2ca7839b77..a6d12f4887 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes$assertthatisisnotequaltorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes.md index 06ae702b1e..deb1de1196 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjobjectrulesrecipes.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertcontainssamerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertcontainssamerecipe.md index 514510f9e7..a95c2aa3f1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertcontainssamerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertcontainssamerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalasserthasvaluerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalasserthasvaluerecipe.md index a620e95816..cd7894dedb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalasserthasvaluerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalasserthasvaluerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertisemptyrecipe.md index e2f24cbdad..82cdf2a14e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertisemptyrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertispresentrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertispresentrecipe.md index 088c31fe1d..3779cf4cf0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertispresentrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$abstractoptionalassertispresentrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalhasvaluematchingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalhasvaluematchingrecipe.md index 798e780e1e..1e086cc180 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalhasvaluematchingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalhasvaluematchingrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalisemptyrecipe.md index 9e88e6b596..e96499bd67 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalisemptyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalispresentrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalispresentrecipe.md index 2708219eb1..8432bca350 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalispresentrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalispresentrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalrecipe.md index b4693a9111..c720a12a19 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes$assertthatoptionalrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes.md index 639d7421a4..2bf5fc8943 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjoptionalrulesrecipes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md index c76b785884..e8ca77b9fc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md @@ -56,7 +56,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md index 4bd869adad..30a6fe01ea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md index 8180823a97..929f2dce62 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md index 8cce4555cf..605d389668 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md index f82f3f70f1..d92d97fe13 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md index 56f4b23983..793fb10abd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md @@ -56,7 +56,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md index 80916b301a..96241f7f35 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatlistsareequalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatlistsareequalrecipe.md index c6808c3a00..38cf77c609 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatlistsareequalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatlistsareequalrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmapcontainsentryrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmapcontainsentryrecipe.md index 365bee4ffd..4b4064c1b8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmapcontainsentryrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmapcontainsentryrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmultisetsareequalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmultisetsareequalrecipe.md index 0ba6e49256..20821f3282 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmultisetsareequalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatmultisetsareequalrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md index 6f03546806..69ad10d838 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md index b3ff4eb232..b5c0a71cba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md index 4c070d8e55..2384a0b119 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicateacceptsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicateacceptsrecipe.md index cc4eddf430..f4500d68b5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicateacceptsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicateacceptsrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicaterejectsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicaterejectsrecipe.md index 3660cf968d..a123a71d9f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicaterejectsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatpredicaterejectsrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetcontainsexactlyoneelementrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetcontainsexactlyoneelementrecipe.md index 6c466c6a42..3a56e404a1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetcontainsexactlyoneelementrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetcontainsexactlyoneelementrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetsareequalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetsareequalrecipe.md index a0c38a32f6..9223c1de84 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetsareequalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatsetsareequalrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsallrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsallrecipe.md index 91869aec7b..12c48afc32 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsallrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsallrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyelementsofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyelementsofrecipe.md index 956f153de9..550f158a6d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyelementsofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyelementsofrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyofrecipe.md index 333f21f1b2..45c9dc6201 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsanyofrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyelementsofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyelementsofrecipe.md index 5cb2dc032b..6dbda8c4b4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyelementsofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyelementsofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderelementsofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderelementsofrecipe.md index 36b934fcc2..d89ccfe742 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderelementsofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderelementsofrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderrecipe.md index 1e9568393c..2268a97449 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyinanyorderrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyrecipe.md index 218b119321..c85d787df7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsonlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsonlyrecipe.md index 02aa751009..344739246a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsonlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsonlyrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsrecipe.md index b16b194d50..204cace153 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainsrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssequencerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssequencerecipe.md index 06fce98dfa..9b27c1b168 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssequencerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssequencerecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssubsequencerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssubsequencerecipe.md index 4b12296e85..92b1cb3e7c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssubsequencerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamcontainssubsequencerecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainanyelementsofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainanyelementsofrecipe.md index 4a51e302a7..10f3e62d90 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainanyelementsofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainanyelementsofrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainrecipe.md index bbe02887ba..8e2f843e78 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainsequencerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainsequencerecipe.md index 4859d3f146..09f1d6e646 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainsequencerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamdoesnotcontainsequencerecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassameelementsasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassameelementsasrecipe.md index d2a573a25a..6d1bf81e0b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassameelementsasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassameelementsasrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassizerecipe.md index 4b3abb7fdb..2f765461f7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamhassizerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisemptyrecipe.md index 470c6be90b..596ca2289b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisemptyrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisnotemptyrecipe.md index 5d814f82fa..0a30c44490 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamisnotemptyrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamissubsetofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamissubsetofrecipe.md index c0819f5ef1..3ce939214f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamissubsetofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatstreamissubsetofrecipe.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerablecontainsoneelementrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerablecontainsoneelementrecipe.md index f3c11e6e4d..47982055e2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerablecontainsoneelementrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerablecontainsoneelementrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerabledoesnotcontainoneelementrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerabledoesnotcontainoneelementrecipe.md index d14109bade..869c569820 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerabledoesnotcontainoneelementrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$objectenumerabledoesnotcontainoneelementrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md index 59075bf65e..3bd0e8749b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md index ba6c07ed88..bd2fbc9555 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md index 134c897741..74bbad5c49 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md index 3df6879e28..3d0d63eb43 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md index 7ec208a330..db6b9e4e0b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md index 0e5f51711f..a3fe20a17c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md index f9c1a69e6c..a235c7f355 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md index 0282b46bc3..d4585e04b7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md index ea5bb0093e..2840215f42 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md index 485f82b3df..b3ca506746 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md index 7c1d4ec2ac..1633842fa8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md index 620369cfd9..6cdf09982d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md index 6c118daddb..818dbecf99 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringcontainsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringcontainsrecipe.md index 182288beb1..5b270ac728 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringcontainsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringcontainsrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringdoesnotcontainrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringdoesnotcontainrecipe.md index 9576c1a885..b41d6f4c3c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringdoesnotcontainrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringdoesnotcontainrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md index 46a0d50ec4..008aae42ce 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyasinstanceofthrowablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyasinstanceofthrowablerecipe.md index 7d1fdf9e6a..a0da1c02bb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyasinstanceofthrowablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyasinstanceofthrowablerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md index f3396ed1fe..7ed48719ad 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md index b58f66de05..917185c1e7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md index 4942b3e0f0..918894619b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md index e4e5dafe44..ced660aafa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md index 5f79c6fcbc..641e8669f8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md index fda01880d5..ce4c9d703f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md index e90acefb52..ea9f3a0758 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md index 7b77f84db3..9a01d44ecf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrootcausehasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrootcausehasmessagerecipe.md index a262442429..ec8a8ce0b8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrootcausehasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrootcausehasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md index da5093a282..488309ec89 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md index 147a15a25b..96a9cc043a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md index b981ad518b..5290e4585e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md index adbde5be6a..9351537e3f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md index 7485bfd5d8..4d71a1c6ee 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrootcausehasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrootcausehasmessagerecipe.md index 8807c78e4f..543a78bfac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrootcausehasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrootcausehasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md index f8aa37b2a9..1523767bd4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md index 93662ff19f..ae3b1d0367 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md index f4576c96c1..f4e2ea8a5e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md index ec63e8abf3..98127e29db 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md index df14bec3dc..fe0afd3fe3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrootcausehasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrootcausehasmessagerecipe.md index 92d9084c15..245e261008 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrootcausehasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrootcausehasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyisinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyisinstanceofrecipe.md index 177d0ed73e..bb7b307992 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyisinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyisinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md index 455f3ffd53..30cd39f9ca 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md index c5bdc24dda..ee5ebb6cb7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md index 52a7842d3d..e9f6180508 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md index 46d3cb94f4..113d9e0fea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md index 05f315ccd8..d9cbd02955 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrootcausehasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrootcausehasmessagerecipe.md index fc35a82694..cb813d36ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrootcausehasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrootcausehasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrootcausehasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrootcausehasmessagerecipe.md index 438e1ba3ae..1d1b75568a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrootcausehasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrootcausehasmessagerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md index 27869a0add..5fda8cd2ca 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md index 8d95f1a879..6e95f17b13 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointcollectionsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointcollectionsrecipe.md index c18cde5a1c..5c95decbdc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointcollectionsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointcollectionsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointsetsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointsetsrecipe.md index cc36b882d0..85fea40646 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointsetsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$disjointsetsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iterableisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iterableisemptyrecipe.md index 3f74998b30..15b86a2b41 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iterableisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iterableisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iteratorgetnextordefaultrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iteratorgetnextordefaultrecipe.md index f92532205c..d377451393 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iteratorgetnextordefaultrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$iteratorgetnextordefaultrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md index 4c4a7f9ba8..40efdd54b9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md index b2f771e37c..aac0f6b9b6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$unboundedsingleelementstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$unboundedsingleelementstreamrecipe.md index 0f4b1de363..a2711a4cc2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$unboundedsingleelementstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$unboundedsingleelementstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md index 2a34f0e403..94b55bd439 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md index c13a9ba3a5..1c77527d81 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md index 622cc73577..d17a49cd99 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md index 4211f54760..9424231e6c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md index 64765d22d2..0f80df4143 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md index 88720b1ef2..6b6d00bb9e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md index 928fb6a3e5..e4eb9de306 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md index dc7a8bd088..9ceeb28aca 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md index c65f8cbc0b..439863045d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md index 7b92a65dae..0e37903d36 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md index f6f3ffbb63..219cf390a5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md index bfe248adcc..2d80c7a415 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md index 8044d99635..2d4cf6fe13 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes$charsequenceisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes$charsequenceisemptyrecipe.md index 7ed4545931..28c3889fd9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes$charsequenceisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes$charsequenceisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes.md index e5ee946d45..caeb613617 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/charsequencerulesrecipes.md @@ -55,7 +55,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes$classisinstancerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes$classisinstancerecipe.md index ab4df49f63..9c01b5d02b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes$classisinstancerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes$classisinstancerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes.md index 66220e1ad3..f629e1da05 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/classrulesrecipes.md @@ -55,7 +55,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionblockrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionblockrecipe.md index 344b92a147..a29bc32954 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionblockrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionblockrecipe.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionexpressionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionexpressionrecipe.md index 1bbcb7c2d9..5508dbf552 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionexpressionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionaddalltocollectionexpressionrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioncontainsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioncontainsrecipe.md index 5e68bfb425..108ea9547e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioncontainsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioncontainsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionforeachrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionforeachrecipe.md index b56cea5154..2c35fab587 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionforeachrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionforeachrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionisemptyrecipe.md index ad446c45a7..69256848b1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionisemptyrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioniteratorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioniteratorrecipe.md index a076c3bc5e..58bd748315 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioniteratorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectioniteratorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionblockrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionblockrecipe.md index 329d3e73c1..609ae2f23c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionblockrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionblockrecipe.md @@ -59,7 +59,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionexpressionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionexpressionrecipe.md index afc0e883ed..c3885865be 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionexpressionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionremoveallfromcollectionexpressionrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionsizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionsizerecipe.md index 734f470417..e1d0fd8eb9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionsizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectionsizerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectiontoarrayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectiontoarrayrecipe.md index 3ff0781324..b430fe2863 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectiontoarrayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$collectiontoarrayrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionaslistrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionaslistrecipe.md index caee730be1..22139446c1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionaslistrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionaslistrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectioncontainsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectioncontainsrecipe.md index cda6c38b3f..5e46d76e6d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectioncontainsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectioncontainsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionparallelstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionparallelstreamrecipe.md index fc80d7beb2..5dd7c0de9a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionparallelstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionparallelstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionstreamrecipe.md index d30588db10..335338382e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectionstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywitharrayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywitharrayrecipe.md index bec3ae5439..73fbf497e7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywitharrayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywitharrayrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywithgeneratorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywithgeneratorrecipe.md index 54863ea278..5c2dc37d02 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywithgeneratorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontoarraywithgeneratorrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontostringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontostringrecipe.md index c54674c03b..7781047107 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontostringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$immutablecollectiontostringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$newarraylistfromcollectionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$newarraylistfromcollectionrecipe.md index 502f123862..b9a7d3ce03 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$newarraylistfromcollectionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$newarraylistfromcollectionrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$optionalfirstcollectionelementrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$optionalfirstcollectionelementrecipe.md index 1d98c0a2f1..b92db4f90f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$optionalfirstcollectionelementrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$optionalfirstcollectionelementrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$removeoptionalfirstnavigablesetelementrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$removeoptionalfirstnavigablesetelementrecipe.md index ee3ae2e3d9..b52fdd7b5f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$removeoptionalfirstnavigablesetelementrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$removeoptionalfirstnavigablesetelementrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$setstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$setstreamrecipe.md index 4eb9a3eb3d..96d0d8e396 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$setstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes$setstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes.md index ea5d64fc65..161d3b7eb1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/collectionrulesrecipes.md @@ -99,7 +99,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxrecipe.md index 8ac989010b..5d2906cf56 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxwithcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxwithcomparatorrecipe.md index d38f79959c..cd9eef26b7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxwithcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsmaxwithcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminrecipe.md index 4b5a684a00..8d501863aa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminwithcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminwithcomparatorrecipe.md index 2ed2bba390..e7ea021bec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminwithcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionsminwithcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionssortrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionssortrecipe.md index 7cea413058..7b1cf6028d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionssortrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$collectionssortrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$comparetorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$comparetorecipe.md index 372a363627..9de6f8443b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$comparetorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$comparetorecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanorequaltorecipe.md index 7bdc448544..5fad62b745 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanorequaltorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanrecipe.md index b205293f6c..98ddeb6306 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$islessthanrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxbynaturalorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxbynaturalorderrecipe.md index c7d4bfc2ac..44f1f9fdf2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxbynaturalorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxbynaturalorderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxofarrayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxofarrayrecipe.md index 2a9c2e77f8..34c6b76d01 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxofarrayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$maxofarrayrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minbynaturalorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minbynaturalorderrecipe.md index 24448dac28..1a254d3087 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minbynaturalorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minbynaturalorderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minofarrayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minofarrayrecipe.md index 6486c71aff..e7b09bc94d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minofarrayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$minofarrayrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$reverseorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$reverseorderrecipe.md index 8c0a2a68dd..36592ba2d4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$reverseorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$reverseorderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomrecipe.md index 170e8a51a4..176f6f644d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomreversedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomreversedrecipe.md index 08e458ecce..9763765f57 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomreversedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingcustomreversedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingdoublerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingdoublerecipe.md index 259cd55961..00b77190a8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingdoublerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingdoublerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingintrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingintrecipe.md index 4679c34c59..95c43303ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingintrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingintrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparinglongrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparinglongrecipe.md index 4475ed3588..692a742eee 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparinglongrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparinglongrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingrecipe.md index a36f498f45..844a0d0973 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingreversedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingreversedrecipe.md index 8da15d2132..47c89324ff 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingreversedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes$thencomparingreversedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes.md index 6622816fff..772f9bf69c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/comparatorrulesrecipes.md @@ -97,7 +97,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md index a740f877dc..cf86f8da89 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md index f0773879d2..9b05b62619 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md index ac4b920594..d56761d3b5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md index 3e6832ce13..9ff5be770a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md index 717d903b0d..1b62463b5b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md index b6aac2a42f..3a3b1d9e62 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md index 66ae501a79..65e020730b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md index ec9c7c623f..6729c9ed61 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md index e3edaa3773..9a55588f97 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md index d7cdb3626a..37bff0eabe 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md index 5ec8d10428..1a6c2780b8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md index 865e134106..ba9b84754c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$enumreferenceequalityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$enumreferenceequalityrecipe.md index 92a47a74a8..fcbc3bf890 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$enumreferenceequalityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$enumreferenceequalityrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$equalsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$equalsrecipe.md index ada39f01ad..1e365b5911 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$equalsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$equalsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md index 980d6016f1..4003ff87bb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md index 42c1ab2855..682920d558 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$objectsequalsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$objectsequalsrecipe.md index e2b6d2200d..93762113ac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$objectsequalsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$objectsequalsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md index f2d1b04452..48d6d13d2b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filemkdirsfileexistsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filemkdirsfileexistsrecipe.md index cc5e1b3ba0..610658392f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filemkdirsfileexistsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filemkdirsfileexistsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md index ea7dde4343..2977f9013f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md index 17ac51856a..1bd77974a9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md index f48a63669a..f84070f624 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md index e878a48f6e..a4767483e4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md index 574a46a264..88b88ca568 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md index 6c8eec7b02..f962e26d71 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathtofilemkdirsfilesexistsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathtofilemkdirsfilesexistsrecipe.md index 49cb204941..843ea493ae 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathtofilemkdirsfilesexistsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathtofilemkdirsfilesexistsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md index 6abef33b01..799db365d1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset1recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset1recipe.md index 2bb8f93744..f3296e8c49 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset1recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset1recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset2recipe.md index 5f1b324aee..7d3647cedc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset2recipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset3recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset3recipe.md index f6bb412f34..dff7aed2b1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset3recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset3recipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset4recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset4recipe.md index 56ebdd528c..317821a79f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset4recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset4recipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset5recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset5recipe.md index 8187968f4f..278f77fafd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset5recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset5recipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset6recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset6recipe.md index f39bf689ba..e04d261ced 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset6recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumset6recipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetarraysaslistrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetarraysaslistrecipe.md index a6ce379824..d209b7a110 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetarraysaslistrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetarraysaslistrecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetiterablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetiterablerecipe.md index 54e5f3096a..bab409f954 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetiterablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$setsimmutableenumsetiterablerecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$streamtoimmutableenumsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$streamtoimmutableenumsetrecipe.md index 120364bd18..362eec78d0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$streamtoimmutableenumsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes$streamtoimmutableenumsetrecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes.md index 8b08a32845..2969455450 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutableenumsetrulesrecipes.md @@ -75,7 +75,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$emptyimmutablelistmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$emptyimmutablelistmultimaprecipe.md index c666accb06..75fd1d9604 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$emptyimmutablelistmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$emptyimmutablelistmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$entrytoimmutablelistmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$entrytoimmutablelistmultimaprecipe.md index ac7d0464ec..9612281d4b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$entrytoimmutablelistmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$entrytoimmutablelistmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$immutablelistmultimapbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$immutablelistmultimapbuilderrecipe.md index 467b82c612..1090c36f7b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$immutablelistmultimapbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$immutablelistmultimapbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$iterabletoimmutablelistmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$iterabletoimmutablelistmultimaprecipe.md index 0e14bc300d..9393fe5486 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$iterabletoimmutablelistmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$iterabletoimmutablelistmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$pairtoimmutablelistmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$pairtoimmutablelistmultimaprecipe.md index 0837135e54..90b129d594 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$pairtoimmutablelistmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$pairtoimmutablelistmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$transformmultimapvaluestoimmutablelistmultimap2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$transformmultimapvaluestoimmutablelistmultimap2recipe.md index b66ef85cf1..96db7175df 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$transformmultimapvaluestoimmutablelistmultimap2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes$transformmultimapvaluestoimmutablelistmultimap2recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes.md index f660cfbcf0..3f4276604e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistmultimaprulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistbuilderrecipe.md index a7aaca92f7..c9316898f2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof1recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof1recipe.md index 82428e60c4..1460f89701 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof1recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof1recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof2recipe.md index b70105fd2a..0a3181afba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof2recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof3recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof3recipe.md index 54be579110..2dc5ccc51c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof3recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof3recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof4recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof4recipe.md index 9960de2932..202393a2f3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof4recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof4recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof5recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof5recipe.md index b7e5fd0b4d..c81ff45ab3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof5recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistof5recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistofrecipe.md index 989e32caf2..0bd532b0cb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistofrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofrecipe.md index 56b8c8621d..9aa309042b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofwithcustomcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofwithcustomcomparatorrecipe.md index 96959a9453..5c84c6b09a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofwithcustomcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$immutablelistsortedcopyofwithcustomcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$iterabletoimmutablelistrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$iterabletoimmutablelistrecipe.md index d365200a12..04d59d955f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$iterabletoimmutablelistrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$iterabletoimmutablelistrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtodistinctimmutablelistrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtodistinctimmutablelistrecipe.md index 6719041b35..bd0db35f37 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtodistinctimmutablelistrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtodistinctimmutablelistrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtoimmutablelistrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtoimmutablelistrecipe.md index d0328ea6a0..1384f9ebeb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtoimmutablelistrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes$streamtoimmutablelistrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes.md index e1335d9086..c59518944c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablelistrulesrecipes.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entryiterabletoimmutablemaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entryiterabletoimmutablemaprecipe.md index c6595d5276..306376e56c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entryiterabletoimmutablemaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entryiterabletoimmutablemaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entrytoimmutablemaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entrytoimmutablemaprecipe.md index 6892dfba14..6412c02f08 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entrytoimmutablemaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$entrytoimmutablemaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderbuildorthrowrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderbuildorthrowrecipe.md index 65c1b8f38a..627b743b57 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderbuildorthrowrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderbuildorthrowrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderrecipe.md index 97d8510fb8..ec0d4c8b5d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof1recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof1recipe.md index c37f742f3d..c35756aff3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof1recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof1recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof2recipe.md index b30f4890b9..5c18099240 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof2recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof3recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof3recipe.md index 89c2ce456c..e03d984cc6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof3recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof3recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof4recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof4recipe.md index c58686c0ff..dd21319287 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof4recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof4recipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof5recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof5recipe.md index 1c71d3f424..8371eaee68 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof5recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapof5recipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapofrecipe.md index 11447783ca..8fba41b1e6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes$immutablemapofrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes.md index 15d9ffce58..97022f86fa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemaprulesrecipes.md @@ -77,7 +77,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$emptyimmutablemultisetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$emptyimmutablemultisetrecipe.md index c8bd018de4..45731a23a3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$emptyimmutablemultisetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$emptyimmutablemultisetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$immutablemultisetbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$immutablemultisetbuilderrecipe.md index c05269fd94..622e2e80dc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$immutablemultisetbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$immutablemultisetbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$iterabletoimmutablemultisetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$iterabletoimmutablemultisetrecipe.md index 50c06cd78e..f98e6d37e3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$iterabletoimmutablemultisetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$iterabletoimmutablemultisetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$streamtoimmutablemultisetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$streamtoimmutablemultisetrecipe.md index 84d784f933..2ee759e2ea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$streamtoimmutablemultisetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes$streamtoimmutablemultisetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes.md index e49da1edaa..a8b5d57700 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablemultisetrulesrecipes.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$emptyimmutablesetmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$emptyimmutablesetmultimaprecipe.md index 0164695e9d..fa1affebd3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$emptyimmutablesetmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$emptyimmutablesetmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$entrytoimmutablesetmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$entrytoimmutablesetmultimaprecipe.md index 6b5878a201..d784305a07 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$entrytoimmutablesetmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$entrytoimmutablesetmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$immutablesetmultimapbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$immutablesetmultimapbuilderrecipe.md index 9d764410ae..dd2d29f706 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$immutablesetmultimapbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$immutablesetmultimapbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$iterabletoimmutablesetmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$iterabletoimmutablesetmultimaprecipe.md index 29238b3757..d6ae1fed68 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$iterabletoimmutablesetmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$iterabletoimmutablesetmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$pairtoimmutablesetmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$pairtoimmutablesetmultimaprecipe.md index 9e55199e55..a2a892d903 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$pairtoimmutablesetmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$pairtoimmutablesetmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$transformmultimapvaluestoimmutablesetmultimap2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$transformmultimapvaluestoimmutablesetmultimap2recipe.md index 6d65a242c2..13d1506421 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$transformmultimapvaluestoimmutablesetmultimap2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes$transformmultimapvaluestoimmutablesetmultimap2recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes.md index 200fbf4ebe..9aac45f0ae 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetmultimaprulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetbuilderrecipe.md index cc660c10b5..09ac3a471f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetcopyofsetviewrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetcopyofsetviewrecipe.md index f350349cd8..a76e308610 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetcopyofsetviewrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetcopyofsetviewrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof1recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof1recipe.md index b9cbdb5f6b..38cded3be1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof1recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof1recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof2recipe.md index de99218e65..01a5f0c5ec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof2recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof3recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof3recipe.md index bc4aa7d74a..719a7d6a0f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof3recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof3recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof4recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof4recipe.md index 9ad4a6cce7..6d9703a3b8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof4recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof4recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof5recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof5recipe.md index 289daa46f7..a15f74b0e7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof5recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetof5recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetofrecipe.md index 11c9601c7e..9c2c3f8e75 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$immutablesetofrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$iterabletoimmutablesetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$iterabletoimmutablesetrecipe.md index b288558a3d..45365ecdb6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$iterabletoimmutablesetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$iterabletoimmutablesetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemaprecipe.md index dae7566c1e..9c679a96d2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemultimaprecipe.md index cf6841e9a7..2cd5e8967d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencemultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencerecipe.md index 3e45801584..42a1f78a1b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsdifferencerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmaprecipe.md index 385ca7b1c5..0b4ab94b4a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmultimaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmultimaprecipe.md index 15df29670e..02ed276071 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmultimaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionmultimaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionrecipe.md index 711365daef..3bc5573264 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsintersectionrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsunionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsunionrecipe.md index 8258832563..8e674e6ffa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsunionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$setsunionrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$streamtoimmutablesetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$streamtoimmutablesetrecipe.md index 50257b9103..b82bab2edf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$streamtoimmutablesetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes$streamtoimmutablesetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes.md index cef689289f..fd94efc7b7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesetrulesrecipes.md @@ -91,7 +91,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$emptyimmutablesortedmaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$emptyimmutablesortedmaprecipe.md index 1de4352c00..d5bd77a6eb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$emptyimmutablesortedmaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$emptyimmutablesortedmaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$entrytoimmutablesortedmaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$entrytoimmutablesortedmaprecipe.md index a384cdf443..49633d4c2c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$entrytoimmutablesortedmaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$entrytoimmutablesortedmaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapbuilderrecipe.md index 9e4d59d737..0fade61b32 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapnaturalorderbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapnaturalorderbuilderrecipe.md index 3542ac60cb..4ef5971e1a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapnaturalorderbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapnaturalorderbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapreverseorderbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapreverseorderbuilderrecipe.md index 3459962c40..c9233cdd79 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapreverseorderbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$immutablesortedmapreverseorderbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$iterabletoimmutablesortedmaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$iterabletoimmutablesortedmaprecipe.md index e9d13fdc85..a306447f14 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$iterabletoimmutablesortedmaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$iterabletoimmutablesortedmaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$pairtoimmutablesortedmaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$pairtoimmutablesortedmaprecipe.md index f10c6efbd3..6f55a2804a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$pairtoimmutablesortedmaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes$pairtoimmutablesortedmaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes.md index 8caa60cf3a..68aef18e09 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmaprulesrecipes.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$emptyimmutablesortedmultisetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$emptyimmutablesortedmultisetrecipe.md index 2b355128d8..50038c20a0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$emptyimmutablesortedmultisetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$emptyimmutablesortedmultisetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetbuilderrecipe.md index 189642a25e..4578975366 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetnaturalorderbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetnaturalorderbuilderrecipe.md index 452929971a..94908b40c5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetnaturalorderbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetnaturalorderbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetreverseorderbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetreverseorderbuilderrecipe.md index c2b461216b..c7a051aaed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetreverseorderbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$immutablesortedmultisetreverseorderbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$iterabletoimmutablesortedmultisetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$iterabletoimmutablesortedmultisetrecipe.md index 07fbd7213f..5bdabc32e6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$iterabletoimmutablesortedmultisetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$iterabletoimmutablesortedmultisetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$streamtoimmutablesortedmultisetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$streamtoimmutablesortedmultisetrecipe.md index 55de41a369..823ee76693 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$streamtoimmutablesortedmultisetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes$streamtoimmutablesortedmultisetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes.md index 41301ad54b..1fa85b492a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedmultisetrulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$emptyimmutablesortedsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$emptyimmutablesortedsetrecipe.md index 2b7240e3d2..678841aa9a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$emptyimmutablesortedsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$emptyimmutablesortedsetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetbuilderrecipe.md index b699e73509..1ebab8e69c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetnaturalorderbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetnaturalorderbuilderrecipe.md index 140198d459..29c3910693 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetnaturalorderbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetnaturalorderbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetreverseorderbuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetreverseorderbuilderrecipe.md index fe6d1002d0..c48d0253e2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetreverseorderbuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$immutablesortedsetreverseorderbuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$iterabletoimmutablesortedsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$iterabletoimmutablesortedsetrecipe.md index 830786c3cf..e34bf666fd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$iterabletoimmutablesortedsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$iterabletoimmutablesortedsetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$streamtoimmutablesortedsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$streamtoimmutablesortedsetrecipe.md index a38a895f31..a7a056aee7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$streamtoimmutablesortedsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes$streamtoimmutablesortedsetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes.md index dd6cac9db1..1debb3ff60 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutablesortedsetrulesrecipes.md @@ -69,7 +69,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$celltoimmutabletablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$celltoimmutabletablerecipe.md index 4897f3a99f..a7a4ab9e24 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$celltoimmutabletablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$celltoimmutabletablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderbuildorthrowrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderbuildorthrowrecipe.md index 7ff02e2a9d..de2f748aa8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderbuildorthrowrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderbuildorthrowrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderrecipe.md index 5256364404..6a7ee70144 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletablebuilderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletableofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletableofrecipe.md index 08f8ea3ee0..9dd4c678ba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletableofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes$immutabletableofrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes.md index 289a18c2dd..d89ebcb481 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/immutabletablerulesrecipes.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md index 5674a65194..c2b5f0fecb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md index eec2864c45..93aa2757db 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md index ea8d34668f..7d24939405 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md index 83e4fbc9b1..8be45b0ebd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md index b01539c65a..12aa71f9c1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md index fbd4d71bef..0b51c5374c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md index 335c2c3798..14fad01bd3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md index 92864db27c..8b326e77be 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md index aa3ebb9a55..17d669489c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md index bbd1e32a9d..c3b5b3b7ba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md index 7de9b8ecee..59e0eb91aa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md index d0c38098fa..6ecaaf6cb5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md index 27506aadb7..9113ad2e76 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md index d1ebebe97d..26f7d4a12f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md index 5e5356b16a..3672568fe8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md index 478f98c7cc..88ee8cc0e6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md index 02046d9bf7..b548b25e20 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraycontainsexactlyrecipe.md index f76f205864..e75c221c7c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagecontainsexactlyrecipe.md index 35c25607d5..33ab735e88 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagesuppliercontainsexactlyrecipe.md index b90d9a0eed..0356b7c9af 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbooleanarraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraycontainsexactlyrecipe.md index d9966e82ce..a51caa806e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagecontainsexactlyrecipe.md index 194ff0d54d..e0ec19ff95 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagesuppliercontainsexactlyrecipe.md index 429167c5fe..90484e8e2a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatbytearraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraycontainsexactlyrecipe.md index a708943956..7da7aec7b5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagecontainsexactlyrecipe.md index bbba8ec9a2..aa8a36e3c0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagesuppliercontainsexactlyrecipe.md index edae146246..82a63c39fc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatchararraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md index 08551911d3..cbf45a9f68 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md index baba871eca..461ea44899 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md index 19e8897c0f..30644f62a4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlyrecipe.md index 8f6a4f0ef9..e087ed2c39 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlywithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlywithoffsetrecipe.md index 9d2fd57a4d..103c25a1cb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlywithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraycontainsexactlywithoffsetrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlyrecipe.md index ce50682dca..55db7b824b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlywithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlywithoffsetrecipe.md index 893d54302b..7f583c5f76 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlywithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagecontainsexactlywithoffsetrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlyrecipe.md index 7fb956604b..778c7f7452 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md index 301317697c..5d4c392f8c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatdoublearraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlyrecipe.md index b4c37812b8..f7ff2715d2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlywithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlywithoffsetrecipe.md index 2b0be7db69..1cbd803ce2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlywithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraycontainsexactlywithoffsetrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlyrecipe.md index d541bfbeba..588938ce27 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlywithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlywithoffsetrecipe.md index 71b7231c85..ec19121382 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlywithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagecontainsexactlywithoffsetrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlyrecipe.md index 9e33960a69..272c0c6987 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md index 5a1a41174e..ecca485910 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatfloatarraywithfailmessagesuppliercontainsexactlywithoffsetrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraycontainsexactlyrecipe.md index 2cf7049d81..f841962412 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagecontainsexactlyrecipe.md index 424aebf7c9..734a496a49 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagesuppliercontainsexactlyrecipe.md index 6ecbc55949..b3736c0915 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatintarraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md index ac364d508d..7cffe89c3b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisinstanceofrecipe.md index 118fcf4051..3368bab919 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md index bd8f84c484..68616577a5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md index b164d5f230..1a27edfc80 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md index 0c259ff2c1..b199bb719a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md index 3cfc98eacc..112d9ccd25 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md index 6bf0739978..a9ebc0e2f2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraycontainsexactlyrecipe.md index ba29996047..5e4994e42e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagecontainsexactlyrecipe.md index 8bcce5fa88..81b95f3a3e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagesuppliercontainsexactlyrecipe.md index ba290e0fa3..c29dbd1e19 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatlongarraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraycontainsexactlyrecipe.md index 0d0d74f011..fc0f45f772 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagecontainsexactlyrecipe.md index 6d30a40f53..53a589acf9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagesuppliercontainsexactlyrecipe.md index 2902817aff..7e6662bb6b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatobjectarraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraycontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraycontainsexactlyrecipe.md index a9374865c4..a570a0602d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraycontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraycontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagecontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagecontainsexactlyrecipe.md index 6c363bf26a..ae45d0a851 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagecontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagecontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagesuppliercontainsexactlyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagesuppliercontainsexactlyrecipe.md index 1c57796bc3..c34a7fde9c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagesuppliercontainsexactlyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatshortarraywithfailmessagesuppliercontainsexactlyrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisexactlyinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisexactlyinstanceofrecipe.md index 2c0581975d..eb783d45a0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisexactlyinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisexactlyinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisinstanceofrecipe.md index 05f829b61a..80068fa3ae 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbyisinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisexactlyinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisexactlyinstanceofrecipe.md index 463f18adcf..a89dbe712a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisexactlyinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisexactlyinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisinstanceofrecipe.md index ddd8e77b8c..cdf2b38f20 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagestringisinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisexactlyinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisexactlyinstanceofrecipe.md index e16beae0a8..dca1fd611e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisexactlyinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisexactlyinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisinstanceofrecipe.md index 1693282cbc..83cad9c0bf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatthrownbywithfailmessagesupplierisinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md index a5420a0a44..40011998d0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisinstanceofrecipe.md index 81aabd8e25..ee3fe6c22c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md index fd6ee58a6d..80dcf767bf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md index 1d6473820f..792ff94c34 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md index ffa2c9554b..0a58cdeef6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md index dd9771728d..f61a766a39 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md index 496a902595..7a0940df1a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md index 9b623470d3..f0db0e0acb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisinstanceofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisinstanceofrecipe.md index d464aff165..d219af2663 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisinstanceofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisinstanceofrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md index e9c6edb959..dbbf917d2a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md index 40357d51df..7fafe87354 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md index 582d223472..362f076d3a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md index 17156bf846..c79af4c880 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md index ad1ac2ab70..57dea8f66e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failrecipe.md index 4873426a2d..4d82dd9c11 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessageandthrowablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessageandthrowablerecipe.md index a10cf8f8a9..662506c143 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessageandthrowablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessageandthrowablerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessagerecipe.md index 60ad06fc0d..f38c66210c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwithmessagerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwiththrowablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwiththrowablerecipe.md index 144f8e7bcc..c64c2a1d42 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwiththrowablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$failwiththrowablerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md index 791598b051..a274fb911c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md @@ -192,7 +192,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md index b839031401..3e0dd175dd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md index f0c014276c..9cb039f467 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md index d0d7ebda88..9a2d99924c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md index 2f45ce90c9..d13aad2633 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md index ce37c7dcec..4a73f1e3e6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md index 67b53bb309..718cbada14 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md index 6636071e09..a872e28554 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md index 25f35d3573..86f96dbe60 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md index fef8b3a376..5698ef076b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md index fc4da8d9f0..ace885ef6b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md index b2d1243f4b..29886c725f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md index 8858780161..9bff3704f6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeyrecipe.md index c02f77e779..e79e7a4cc9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeywithcustomcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeywithcustomcomparatorrecipe.md index f728d26501..6b44cbd88a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeywithcustomcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbykeywithcustomcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluerecipe.md index c07c77c63c..1cbd55d892 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluewithcustomcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluewithcustomcomparatorrecipe.md index 61c1994b54..29ae840c78 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluewithcustomcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentrycomparingbyvaluewithcustomcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentryrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentryrecipe.md index 297f2f11d8..3abff39b95 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentryrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes$mapentryrecipe.md @@ -36,7 +36,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes.md index 83085d440e..190ea6c4e5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mapentryrulesrecipes.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainskeyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainskeyrecipe.md index b41011bc2e..335feb9a57 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainskeyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainskeyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainsvaluerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainsvaluerecipe.md index 705ad96e82..b994a1d25f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainsvaluerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapcontainsvaluerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetordefaultrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetordefaultrecipe.md index ec4868272c..d6df091c4f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetordefaultrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetordefaultrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetornullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetornullrecipe.md index 8157e492de..42f9c555a4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetornullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapgetornullrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapisemptyrecipe.md index 2b337ebb58..5a902e5123 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapkeystreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapkeystreamrecipe.md index e13b41bcab..105590c51e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapkeystreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapkeystreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapsizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapsizerecipe.md index 4c594d780c..6585273bad 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapsizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapsizerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapvaluestreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapvaluestreamrecipe.md index d4b230000c..8cce9c251b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapvaluestreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes$mapvaluestreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes.md index 69d4a06ae9..efe83a43ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/maprulesrecipes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md index 81bc83aada..94521af397 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md index 0570d1d8f7..1940bebd53 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md index 49f6bece03..26a0ae79ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md index f7cb1b4dfc..d3a4c2e40e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md index 3b4ffd750a..ab9e8500a3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md index ae714b2148..814b3e9a73 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md @@ -67,7 +67,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md index 89a23580ff..79000c9ee4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md index ce7031a00c..4e41a10770 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$verifyoncerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$verifyoncerecipe.md index 28ae55b4a2..d8b248df85 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$verifyoncerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$verifyoncerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md index 0d32a26025..2b6cd150f0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md @@ -63,7 +63,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainskeyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainskeyrecipe.md index 9e461c7bf9..e011ff8142 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainskeyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainskeyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainsvaluerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainsvaluerecipe.md index d386313b65..11bcce5e4c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainsvaluerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapcontainsvaluerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapgetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapgetrecipe.md index 6bd0e5d5ed..8ce6839063 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapgetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapgetrecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapisemptyrecipe.md index 1a53557e11..853ac149b3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysetrecipe.md index d60189b9ac..c2cd8a66ba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysstreamrecipe.md index 52cb0a5c30..4bc4d6375d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapkeysstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapsizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapsizerecipe.md index 297a826030..219c11ed88 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapsizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapsizerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapvaluesstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapvaluesstreamrecipe.md index 0d9b8de2f6..20c163c46e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapvaluesstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes$multimapvaluesstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes.md index c1b45a53f2..bc3a5991da 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/multimaprulesrecipes.md @@ -73,7 +73,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md index 822c06a03b..9d4528c4ad 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md index a783446e05..e09ea9b3c9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelsegetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelsegetrecipe.md index e5c02cbd9a..088911a48e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelsegetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelsegetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelserecipe.md index c6b3d36304..e6b8799c7f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$requirenonnullelserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md index fc7e50fd72..e3c6108e15 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md @@ -65,7 +65,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$mapoptionaltobooleanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$mapoptionaltobooleanrecipe.md index 46088fe2c5..ab48cc54bd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$mapoptionaltobooleanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$mapoptionaltobooleanrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalemptyrecipe.md index 04d2569a41..604336d5fc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalequalsoptionalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalequalsoptionalrecipe.md index 9a2866d2f6..b9a3dee99d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalequalsoptionalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalequalsoptionalrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfilterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfilterrecipe.md index b8580fd3af..0fa3814a39 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfilterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfilterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfirstiteratorelementrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfirstiteratorelementrecipe.md index c1d3681113..c1702f182f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfirstiteratorelementrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalfirstiteratorelementrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalisemptyrecipe.md index 10ee7c596d..192f7ed584 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalispresentrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalispresentrecipe.md index 7b2e22da7b..35692e354a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalispresentrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalispresentrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalmaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalmaprecipe.md index 8580f4a1fd..45b77b1de1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalmaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalmaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalofnullablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalofnullablerecipe.md index 888a27b300..6859c25456 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalofnullablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalofnullablerecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorelsethrowrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorelsethrowrecipe.md index 284e646c84..f9bdda58da 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorelsethrowrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorelsethrowrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorotheroptionalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorotheroptionalrecipe.md index 863795cb94..6ecbd52e77 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorotheroptionalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalorotheroptionalrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalstreamrecipe.md index 555e7c9312..0414fbef84 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$optionalstreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$ororelsethrowrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$ororelsethrowrecipe.md index 1343ca90e0..0ea7a11f4a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$ororelsethrowrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$ororelsethrowrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$streamflatmapoptionalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$streamflatmapoptionalrecipe.md index 422ec04b15..4aa843c042 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$streamflatmapoptionalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes$streamflatmapoptionalrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes.md index 6a0d1a955c..ac967784a6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/optionalrulesrecipes.md @@ -85,7 +85,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md index 608fe6f6ac..113f63ed15 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md index b3facf1d31..b8c869596f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md index d79202d828..3c0729cf06 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullrecipe.md index a65defca3b..3155606c4b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullwithmessagerecipe.md index 7228fe8ba1..ca17d7db42 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes$requirenonnullwithmessagerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes.md index fa8974efa1..266132c7d5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/preconditionsrulesrecipes.md @@ -61,7 +61,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md index d97eb7ebea..5a282fcbe8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md index 48b8168721..a0384bbd9f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md index 4cf33cb0d5..da46e67b1b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md index 538482186f..82df43ccb7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md index d3aa047aa9..b2a104d13a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md index ecb1446d71..071f57eb52 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md index ffd7a28fe6..9894b9e918 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md index 44ed07513f..6a20123585 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md index dd812c2000..423b90451f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md index 0a05f33689..6658308697 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md index cbf73813b5..402db4615b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md index ea724f9844..6f16c99677 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md index c1c4a5e228..16df1cb514 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md index 989c8b4f88..53fc526760 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md index 47df87048c..4be2637840 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md index 09b48fe9bc..27b4c0ea3d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md index beebb3849c..e0cecf7117 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md index 474532df29..2c5f23cbe7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md index fb61eec922..0d6d58d22e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md index 0dc56442bb..0d6a8eb7b7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md index b8110ac9df..2dbcff2dc2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md index 05b58e1ccf..e1391c4337 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md index 6187f544cc..23cf0aa080 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md index 7f14fa62ab..a6f0e549d5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md index 86979086ab..4229359b8e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md index 22e5ef4596..f11cab5508 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md index 21e70cd716..dfc2dcc62d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md index e84b0928d7..1aa442323a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md index 8a4a9c0c30..1f9bd01beb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md index a91be3fc73..cb26fe59f6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md index c8c937d538..da41bc2a2a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md index 5826c9761a..711e665477 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md index 53e47be5be..78b5c311fc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md index 33d0bd9ef1..c8dcc8260e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md index 079655c0ce..9e4643706b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md index a30f454003..1400f4d661 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md index b60e41347f..29eef4ead6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md index 870ec5ca7a..8bb226571b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md index 8bd261f611..efc1cf1f21 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md index 53144ed4f5..aa64a13599 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md @@ -135,7 +135,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentityrecipe.md index cbaf61307a..2b7c2dac72 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentityrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentitywithprefetchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentitywithprefetchrecipe.md index 4ca71b12d0..89283d9c36 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentitywithprefetchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$concatmapiterableidentitywithprefetchrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxasstepverifierexpectnextrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxasstepverifierexpectnextrecipe.md index 3c1c3e2171..59ff315049 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxasstepverifierexpectnextrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxasstepverifierexpectnextrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablelistrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablelistrecipe.md index 2e911b1780..5ab0b9cbaa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablelistrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablelistrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablesetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablesetrecipe.md index a87f04e625..5f6c933056 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablesetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxcollecttoimmutablesetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdefaultifemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdefaultifemptyrecipe.md index 48f33da6a3..3746421113 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdefaultifemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdefaultifemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdeferrederrorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdeferrederrorrecipe.md index 471b60b086..a69bf47d9a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdeferrederrorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdeferrederrorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdoonerrorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdoonerrorrecipe.md index 5c193853e2..b2b0422d70 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdoonerrorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxdoonerrorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxemptyrecipe.md index 9b5d0b4646..c20efe1c79 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxerrorsupplierrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxerrorsupplierrecipe.md index 1f20e35009..9fb5982af0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxerrorsupplierrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxerrorsupplierrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortrecipe.md index a25fcebfd8..498c44db1e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortwithcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortwithcomparatorrecipe.md index 846f1da48e..c2527dff6a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortwithcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfiltersortwithcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromiterablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromiterablerecipe.md index d837e3ba4d..4c2a9d837d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromiterablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromiterablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromstreamsupplierrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromstreamsupplierrecipe.md index 1c6e8a1db2..548a3a0d2c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromstreamsupplierrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxfromstreamsupplierrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxjustrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxjustrecipe.md index 2175443f3e..38c8015797 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxjustrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxjustrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxmapnotnullorelserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxmapnotnullorelserecipe.md index c3dbf3749b..851289e0ed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxmapnotnullorelserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxmapnotnullorelserecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxoftyperecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxoftyperecipe.md index 3fbb1bdcef..d8f1beae75 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxoftyperecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxoftyperecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompletepredicaterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompletepredicaterecipe.md index 7dd7a8ef99..3b1b02aba1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompletepredicaterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompletepredicaterecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompleterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompleterecipe.md index 85d80e5432..6a4fb8ed18 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompleterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcompleterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcontinuerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcontinuerecipe.md index b84aee018f..bdcc5404b7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcontinuerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorcontinuerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrormaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrormaprecipe.md index 36ecd1ab4e..784cbcb929 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrormaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrormaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorresumerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorresumerecipe.md index 7ec09a6c34..14b0fca3a2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorresumerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorresumerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorreturnrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorreturnrecipe.md index a02e4c3559..470e2b7100 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorreturnrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxonerrorreturnrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxsortrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxsortrecipe.md index 5c3c957929..d5c6884526 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxsortrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxsortrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxswitchifemptyofemptypublisherrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxswitchifemptyofemptypublisherrecipe.md index 93be331bf5..0c2bc8e22f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxswitchifemptyofemptypublisherrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxswitchifemptyofemptypublisherrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakerecipe.md index 7f453c02e6..84183e280a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakewhilerecipe.md index a8c6f33dad..dadac20fd8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtakewhilerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenemptyrecipe.md index cf227fdab2..d0eecbbd79 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenemptyrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmanyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmanyrecipe.md index 1e18cdf761..3e9aecdcfb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmanyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmanyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmonorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmonorecipe.md index c8713bcc5a..ca50b8fe6b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmonorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenmonorecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenrecipe.md index 01696611e8..bb375a8189 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxthenrecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxrecipe.md index cc4037193e..5d22d4e0ec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxwithcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxwithcomparatorrecipe.md index e5f7ec1eb9..8aaebe7b46 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxwithcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformmaxwithcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminrecipe.md index eee66ea109..717317fd8e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminwithcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminwithcomparatorrecipe.md index 4bf09902db..712675ffda 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminwithcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxtransformminwithcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxziprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxziprecipe.md index 2304eb51f5..58a0885d99 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxziprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxziprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithcombinatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithcombinatorrecipe.md index 3f3b1bafa4..1ba1cec137 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithcombinatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithcombinatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablebifunctionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablebifunctionrecipe.md index 6464f0f940..5f1bc42b87 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablebifunctionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablebifunctionrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablemapfunctionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablemapfunctionrecipe.md index fd167c19a9..870a94b1d8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablemapfunctionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablemapfunctionrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablerecipe.md index 45f3465385..49ca9a7b04 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$fluxzipwithiterablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxmaxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxmaxrecipe.md index a440297012..026b88b161 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxmaxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxmaxrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxminrecipe.md index 9f73662af4..5d93edee1e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$mathfluxminrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefaultifemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefaultifemptyrecipe.md index d70a628fcd..faef4eccf8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefaultifemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefaultifemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefermonojustoremptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefermonojustoremptyrecipe.md index 1cd136a0b8..319a3e4635 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefermonojustoremptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodefermonojustoremptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodeferrederrorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodeferrederrorrecipe.md index c8a5c55e06..52eae9cdcc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodeferrederrorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodeferrederrorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodoonerrorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodoonerrorrecipe.md index 4c83a833ac..e479f68e61 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodoonerrorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monodoonerrorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoemptyrecipe.md index f84301d6ea..6b6ddf2664 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoerrorsupplierrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoerrorsupplierrecipe.md index 3147f62935..57552e8d09 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoerrorsupplierrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoerrorsupplierrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoflatmapiterableidentityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoflatmapiterableidentityrecipe.md index 119a3d9568..d62020375e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoflatmapiterableidentityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoflatmapiterableidentityrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofluxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofluxrecipe.md index 832dd3e672..2b6ae728b3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofluxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofluxrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetallrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetallrecipe.md index 48a6f8b5d3..a4cbc6dc3f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetallrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetallrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetrecipe.md index bd0e5b7a14..eb71a9af94 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfutureasyncloadingcachegetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierbooleanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierbooleanrecipe.md index b3efd21692..118b4bfa8b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierbooleanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierbooleanrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierrecipe.md index 65eb0b1256..088e45976d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromfuturesupplierrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromoptionalswitchifemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromoptionalswitchifemptyrecipe.md index c3c47c1300..eadf6af9ed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromoptionalswitchifemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monofromoptionalswitchifemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoidentityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoidentityrecipe.md index a22059a8b5..f95dcb51ee 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoidentityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoidentityrecipe.md @@ -35,7 +35,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyobjectrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyobjectrecipe.md index f927ab94c2..d765a25ca5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyobjectrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyobjectrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyoptionalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyoptionalrecipe.md index 4f3508e2b0..2fc7208429 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyoptionalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustoremptyoptionalrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustrecipe.md index 09a10fe24c..537f6090a9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monojustrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monooftyperecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monooftyperecipe.md index b119753348..665c9b32ec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monooftyperecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monooftyperecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleteclassrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleteclassrecipe.md index 803cbd25a8..d47393fed2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleteclassrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleteclassrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompletepredicaterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompletepredicaterecipe.md index dec811fe09..74852a6c4b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompletepredicaterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompletepredicaterecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleterecipe.md index 8c7d0f01aa..99c3f9cf8c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcompleterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcontinuerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcontinuerecipe.md index f572f38460..e1f8e2fb6f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcontinuerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorcontinuerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrormaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrormaprecipe.md index 6231735900..01297bced8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrormaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrormaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorresumerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorresumerecipe.md index 6f9da3e961..428987179c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorresumerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorresumerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorreturnrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorreturnrecipe.md index 5707ad91d9..3e21c211c7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorreturnrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoonerrorreturnrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosingleoptionalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosingleoptionalrecipe.md index fc4e8be369..fb3b07a6c4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosingleoptionalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosingleoptionalrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosinglerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosinglerecipe.md index f855a8a462..e622d66109 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosinglerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monosinglerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenemptyrecipe.md index 154e8d8933..29405f5606 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenemptyrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmanyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmanyrecipe.md index f01708372d..39516265d4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmanyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmanyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonofluxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonofluxrecipe.md index 3631a3e39e..1006dd3c5f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonofluxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonofluxrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonorecipe.md index 0483984b7d..0268ad000e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenmonorecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenrecipe.md index eea8a92bab..5241a73fee 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenrecipe.md @@ -37,7 +37,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenreturnrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenreturnrecipe.md index 084f29e105..b55964621e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenreturnrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monothenreturnrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoziprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoziprecipe.md index 05c9b0bffc..d2647854e0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoziprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monoziprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monozipwithcombinatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monozipwithcombinatorrecipe.md index a17050ffd0..0b72085f5a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monozipwithcombinatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$monozipwithcombinatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$optionalmapmonojustrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$optionalmapmonojustrecipe.md index 84539c22a0..154fad3501 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$optionalmapmonojustrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$optionalmapmonojustrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwascancelledrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwascancelledrecipe.md index 8842c6410b..9c29530c7c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwascancelledrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwascancelledrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotcancelledrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotcancelledrecipe.md index a2b1404b43..f1dac1d605 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotcancelledrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotcancelledrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotrequestedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotrequestedrecipe.md index f74261cfaf..54490a0c41 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotrequestedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotrequestedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotsubscribedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotsubscribedrecipe.md index ef2f022c8c..36a604c710 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotsubscribedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasnotsubscribedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasrequestedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasrequestedrecipe.md index d698ce83fb..8af9208531 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasrequestedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwasrequestedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwassubscribedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwassubscribedrecipe.md index c9b099be9c..f3e3a877ce 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwassubscribedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeassertwassubscribedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeemptyrecipe.md index 60ceedc52a..b1f7e6681d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$publisherprobeemptyrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfromfluxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfromfluxrecipe.md index 7a346da48a..56c3eb3276 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfromfluxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfromfluxrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfrommonorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfrommonorecipe.md index aadcc95aa0..4603ba43b4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfrommonorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierfrommonorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md index 14b0bdcb10..d71aad275f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorclassrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorclassrecipe.md index 0dd12fc728..a692163c97 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorclassrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorclassrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md index f0a697827b..07218912ac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md index 88b551dc5c..5592cb89c9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md index 33c465bddf..9d1d96fb7e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesassertjrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesassertjrecipe.md index f2910405f1..307c334987 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesassertjrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesassertjrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md index 7d817c7c71..a0763639e0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md index 23c37d6fb0..f4ce23be1d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierstepexpectnextrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierstepexpectnextrecipe.md index 880ae3afcc..57a3013678 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierstepexpectnextrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierstepexpectnextrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifydurationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifydurationrecipe.md index ea0287d9c8..ee297b19c6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifydurationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifydurationrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifylaterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifylaterrecipe.md index c3751290b5..e3ddeb4abf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifylaterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifylaterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifyrecipe.md index 735ee0676c..7dfdece3b8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierverifyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md index d913ce39d0..5cf4eab184 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md @@ -255,7 +255,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md index cfe3ebe1a5..a95bbedce3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$flowabletofluxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$flowabletofluxrecipe.md index 37641835c3..e55577bc0b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$flowabletofluxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$flowabletofluxrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoflowablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoflowablerecipe.md index 90d0dac814..d65801d99f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoflowablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoflowablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoobservablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoobservablerecipe.md index dc44ca1676..f1a5dd9cd9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoobservablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$fluxtoobservablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$maybetomonorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$maybetomonorecipe.md index 751ea48319..a3652ea1f0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$maybetomonorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$maybetomonorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotocompletablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotocompletablerecipe.md index dd750c0573..cfa4f41ef9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotocompletablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotocompletablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotoflowablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotoflowablerecipe.md index a9c4736f62..9aff9c867b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotoflowablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotoflowablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotomayberecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotomayberecipe.md index 58cfdd3b63..b7aedcf1ed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotomayberecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotomayberecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotosinglerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotosinglerecipe.md index f4d20658c8..380f66e61a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotosinglerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$monotosinglerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$observabletofluxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$observabletofluxrecipe.md index d87456de40..3b6a38f659 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$observabletofluxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$observabletofluxrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$singletomonorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$singletomonorecipe.md index 06bebf2969..33ecb34634 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$singletomonorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$singletomonorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md index ed705e6841..743bc0b01c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md @@ -79,7 +79,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concatonestreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concatonestreamrecipe.md index 53b0eeee82..e2244d3b83 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concatonestreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concatonestreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concattwostreamsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concattwostreamsrecipe.md index 4b777dee80..4079079519 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concattwostreamsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$concattwostreamsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$emptystreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$emptystreamrecipe.md index ad5269b7d9..8b7bffc73e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$emptystreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$emptystreamrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md index 96b8f1a0ea..a0f11c57f2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamcountrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamcountrecipe.md index 0098ea686a..ba8562a90e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamcountrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamcountrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltercollectrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltercollectrecipe.md index a69500e2c7..36eee808b1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltercollectrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltercollectrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedrecipe.md index a6b0441dc4..021c50ef41 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedwithcomparatorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedwithcomparatorrecipe.md index 88eff753f0..de64e1509d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedwithcomparatorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfiltersortedwithcomparatorrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyisemptyrecipe.md index 763678f456..3e6d73d41d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyispresentrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyispresentrecipe.md index 84f6c22153..f253827c7c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyispresentrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamfindanyispresentrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamflatmapcollectrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamflatmapcollectrecipe.md index d389e22037..7d7c6f19a8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamflatmapcollectrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamflatmapcollectrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamiteraterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamiteraterecipe.md index 0c2b687e1c..4b4ad9e91d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamiteraterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamiteraterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapcollectrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapcollectrecipe.md index fb23cdcb58..9ce4ee6de2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapcollectrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapcollectrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfilterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfilterrecipe.md index b37a701dc1..496569b7b3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfilterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfilterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfirstrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfirstrecipe.md index 57f806f30b..f1e2298355 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfirstrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammapfirstrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptodoublesummarystatisticsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptodoublesummarystatisticsrecipe.md index 0feff5a231..1c9c193377 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptodoublesummarystatisticsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptodoublesummarystatisticsrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptointsummarystatisticsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptointsummarystatisticsrecipe.md index 4bfb38b32c..e7747e4bdd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptointsummarystatisticsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptointsummarystatisticsrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptolongsummarystatisticsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptolongsummarystatisticsrecipe.md index ab0ddc5871..fe985640e0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptolongsummarystatisticsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaptolongsummarystatisticsrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxnaturalorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxnaturalorderrecipe.md index fa58c6d221..8ed12f21bd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxnaturalorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxnaturalorderrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxrecipe.md index 7055a79fc5..e83f3716ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streammaxrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminnaturalorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminnaturalorderrecipe.md index ee4b9df0ee..e20f9cb9fe 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminnaturalorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminnaturalorderrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminrecipe.md index 8c45adcf26..bd105ff7fe 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamminrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof1recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof1recipe.md index aaef18d2fd..6f1e432aba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof1recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof1recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof2recipe.md index d329497276..33c52fed80 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof2recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof3recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof3recipe.md index e5473a3206..6c73c69e2e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof3recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof3recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof4recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof4recipe.md index 7154e59a5d..ae15b31d6b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof4recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof4recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof5recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof5recipe.md index 3708500c02..82ce482f70 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof5recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamof5recipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamofnullablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamofnullablerecipe.md index 42ab977d53..490dc92c39 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamofnullablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamofnullablerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducerecipe.md index 328f15fc99..9739efa029 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducerecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducewithidentityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducewithidentityrecipe.md index 6365ae0240..22afca4b47 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducewithidentityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamreducewithidentityrecipe.md @@ -50,7 +50,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamtakewhilerecipe.md index 1a819bf98d..9bdbc3b338 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$streamtakewhilerecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md index 728c0f7d3e..4687d49776 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md @@ -119,7 +119,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md index 8d227c3816..c4b1aa9a72 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md index da521e0354..4c77524680 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md index 85d92a6da5..4435d77b8a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md index 79cd6b1a7c..33f1c9dfd4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md index 1979d934ff..563e853209 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md index fd9624eec7..3961ee020f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md index 526274c58e..7f75aa3cbf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md index f8289b61c5..38812efb2f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md index adf9007c1d..d78e6a8b75 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md index 4c3a012fb2..b027d923c0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md index e248efeae1..32392594ee 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md index e12b234e60..b5e1663290 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md index 3d91e98b1d..18e823190b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md index 1670a6818a..d8a90d510b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md @@ -34,7 +34,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md index 4625f0f235..ae2750e7c8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md index 77e9c89f3c..73b25bd3cb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md index bdd2ef9cc1..bea1d174f1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md index b63ce22667..9528249ce5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md @@ -134,7 +134,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md index b28e474fdc..78f6bf8444 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md index 0598ee7079..d0436034a6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md index 2af456c094..033bcf1b77 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md index 729d638e7d..aebc39cad4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md index c62e9d4d25..ff3379b6e4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md index 2777684c32..913b15ddd0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md index 5a295d7911..72b01a0192 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md index 169c5c43b6..d9aaa478f8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md index 69d168f32c..366e39fbb1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md index 3c62a265a0..164601ff40 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md @@ -86,7 +86,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md index 21b9d4b1a3..bf3f3bb255 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md index 9f0426be0d..c711fa721f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltarecipe.md index 87da6f26d5..e5799cb77e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltarecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltawithmessagerecipe.md index 7f6c42005d..55f3d86b8b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoublearrayswithdeltawithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md index bff1cbcdfa..8ef8925e2d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md index 8a729d4d73..d792d80def 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltarecipe.md index 9abd62fff9..ee817f10ea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltarecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltawithmessagerecipe.md index 7d3194d3a6..4070450b18 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatarrayswithdeltawithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md index 1cd3b8dd5b..260137436d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md index b14461feb2..fcf9be4be9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderrecipe.md index 95d0da14f9..f4e8d3c11e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderrecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderwithmessagerecipe.md index 588eef1cba..e43566b5c7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliterableiterationorderwithmessagerecipe.md @@ -51,7 +51,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderrecipe.md index d9ce8df6d7..06035a830e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderwithmessagerecipe.md index 826d4f3808..91dc559890 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaliteratoriterationorderwithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md index e1ed167d4d..076c6db21a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md @@ -221,7 +221,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetsrecipe.md index b75aed0b95..8ea8c19e5a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetsrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetswithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetswithmessagerecipe.md index 7d642b3c12..12f4f697f9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetswithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalsetswithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md index 4bc441e12d..b50edb3e7a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md @@ -221,7 +221,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md index abe6e1487d..a80e22cd34 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md index e42cdbda23..78ec69ce8b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md index 452030e78c..806b915187 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md index 76ce2ebc9e..0d65dd5fb9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md index 10a8310d93..dc15ee2ff6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md index 8c5d4da54b..8aeb94c8a2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md index 3dc2428611..4ff4a136a3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md index 80a549372c..fbca10d88d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md index 9d8aec3f67..7688b9dee6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md index eeff1fdc95..3fe5a1532a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md index 1df7c081b7..52b7f5fc68 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowswithtyperecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowswithtyperecipe.md index 4a50c6b731..672e74b8d9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowswithtyperecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowswithtyperecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md index ff45d5c7bb..4a3a2f2ecb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md index 8e5649138f..622b572af3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md index 6a339e5b23..4edad68a3e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md index 07c5addd17..f0bfe15f23 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md index eef72a047b..1b847708f6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md index ebffb272d5..d085fa7cec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md index 699550e4c4..597817fffb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md @@ -101,7 +101,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md index 23e88d8d6e..6bf1cc8c2e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md @@ -101,7 +101,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md index 4f24fd260d..69f9f649a0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md @@ -47,7 +47,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md index ff7809768a..41f135dce1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md index bf04a78b63..7c59ea5c30 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md @@ -46,7 +46,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md index 2c0fd184ad..9dd25f751d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md @@ -174,7 +174,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md index bd6efe96f2..fc6d89e570 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md index ad54eb2346..27af2c4978 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md index 5a3db46168..5605f9d3c9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md index 26019a1736..42e77dc922 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md index dea6db2738..62168bb553 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md index d3295f008f..36270d2e10 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md index c596f1f3f0..e60fa4cc42 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md index 4b20b220a8..041fe406e3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md index ef81eaec87..7a4773318d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md @@ -33,7 +33,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md index 2a45c195d6..1c48ab8f19 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md index 5b1bf0d089..4256e89fd4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md index 39077ae77d..093b54567b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md index d10ce964ae..8aed20e700 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md index 6e22f23096..113132cd2f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md index 57fc2c117b..11a2ed6e7f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md index 1b1fa47c23..3b338c3136 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md index cf78663b81..2d5dc156d1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md index 335cc7b8ac..bb10ecadf7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md index 4845ded1df..fef08ab117 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantidentityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantidentityrecipe.md index f73aa7e834..c942fdc7f3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantidentityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantidentityrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md index 075a42543c..6f1942ee71 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md index bf40c4e8b6..01ccd61756 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtomillisecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtomillisecondsrecipe.md index 5012c2618f..3eaf58a83e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtomillisecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtomillisecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtosecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtosecondsrecipe.md index 07ed248da0..3fafccb27e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtosecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instanttruncatedtosecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md index bbdf7131e1..0c73fd6ea0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md index ed1c8c703b..334b6228d9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md index 556f8d8e17..a54500ff9f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md index 750579c72d..26dcdb076e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md index 8d6e8cbfa7..93551b9238 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md index 4401769586..457b53bbd5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md index 97914fd9ff..aea251b513 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md index 83d5fc07bb..c41c89dd61 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md index 5c74cc8427..fc38caa887 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md index 1a853a6d3f..ec818d5228 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md index 4aa94bb4aa..54bac3c294 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md index a5ed300292..43c6cd42ea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md index bc2b535588..5fd6c0cd16 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md index 30bc0d4a95..c627bd7e7f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md index 83c30c984e..2b8bef3ca3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md index d6a6ac623f..e0804d4751 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md index f1dcf84ffc..275c62acab 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md index 16191f449b..d694750665 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md index 7d43612ce0..f73f97e5e5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md index a235ff0c94..42749aef90 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md index 50bf503e21..1ec77010ed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md index a920e67259..1fa3f8f453 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md index bec59f1528..30b138236b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md index 61d79f3a3c..943aa7cfb3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md index db3fa38a82..76f1fb3381 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md index 49b75e9c6d..f1aaa9e547 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md index 6ba2244f60..7e73330213 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md index a45b42941b..9de68825b7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md index 02ad21b673..17637e335c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md index d32cf3134e..45175d3034 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md index c3fe4edae2..4bbfa96aa7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md index 3b5642451d..b727164f62 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md index cd2c79be1c..ce6f62f888 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md index 0090b6d92a..a2f3eebb0b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md index 5bdde85fcf..d235ac4955 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md index f134403656..bd5dae93a0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md index d6eb09eb12..610ab49f16 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md index e90587583a..56c766fa3d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md index 58e27ed1e0..36f0429eb4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md index d97e2fa357..52dce53467 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md index 6815ebc542..05d6383051 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md index 0a40370e23..aba3ab97a6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md index 7a9d2bf7f0..fbb8c5a4ea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md index ae8aa32a69..aac719e14e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md index f9a1c60a6d..9014f962af 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md index 294a8874b6..38212dba44 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md index 8b54c59385..fc332d2d22 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md index cf07e45432..168aa38327 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md index 49798512ea..e6704586df 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md index 5c04b893f1..601e24b883 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md index c07388794e..e8039ce3b3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md index 910b89bf2d..8ef5ebcb75 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md index 4582b47b05..edff49a8c1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md index b6010b42bb..cf0662c406 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md index 57c2a25ade..af3fa0febb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md index a7b32217fb..a0d8924144 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md index 3d99b83c20..3fac759355 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md index 725395f8c2..a2577392bc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md index a955226e62..b5d018b6e9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md index 5862adede1..9eaae0d9f0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md index e6e1b3ee30..1779c9f5f8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md index 8307fb5dda..a85817a8e5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md index c79d64598a..de605891b3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md index ea663fc2af..ddcf1b7576 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md index ac99980ca9..63d55ace22 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md index d239b6ef2e..4418af843d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md index faa169ff0c..74afaf1ab9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md index 479374ba01..20adb8ecda 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md index 4fa113b02c..2af0ff8eb5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md @@ -45,7 +45,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md index 33ee56a884..2d631b3945 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md index d926208f84..89ade0da4d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md index 2a64389de0..76ea8a4a88 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md index 7997f00b20..9f758a1e3c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md index 9674029e8e..60b13e29b3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md index 666ee219d8..3c0be253f2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md index 7f1c1a14ed..3b91ea9b30 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md index 1918602164..32c10265c3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md index ec7ebec46e..14ddf12b90 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md index 47d123a17a..d7b5802419 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md index 9845a84544..364f8ad05b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md index 9194e23602..ff4cb2a644 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md index d6de6d4924..db1210f4de 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md index 381d5cd7c9..9028f7200c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md index b86f0c2210..5ae16774ae 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md index 20c3bd464e..25349abcba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md index 9c9d8249cd..8285692ad1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md @@ -275,7 +275,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$bodyvaluerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$bodyvaluerecipe.md index 7ce748c876..abcfa0682a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$bodyvaluerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$bodyvaluerecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md index 674b299aa5..c962bd80be 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md index 76b3bcd20b..0e5b520148 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md index b60bbf9411..8e647531fb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md index dde4b881ce..540a6c978e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md index b7189a979d..6a523ac3fe 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md index cec9577068..a1dcffcdac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md @@ -30,7 +30,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md index 0df390d87d..779bfab8df 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md @@ -71,7 +71,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/text/README.md b/docs/recipes/text/README.md index a6efbcc11c..629b844088 100644 --- a/docs/recipes/text/README.md +++ b/docs/recipes/text/README.md @@ -2,12 +2,6 @@ _Recipes for text operations._ -## Composite Recipes - -_Recipes that include further recipes, often including the individual recipes below._ - -* [Find hard-coded private IPv4 addresses](./findhardcodedprivateipaddresses.md) - ## Recipes * [Append to text file](./appendtotextfile.md) @@ -16,6 +10,7 @@ _Recipes that include further recipes, often including the individual recipes be * [End of Line @ End of File (EOL @ EOF)](./endoflineatendoffile.md) * [Experimental find text with multiselect](./findmultiselect.md) * [Find and replace](./findandreplace.md) +* [Find hard-coded private IPv4 addresses](./findhardcodedprivateipaddresses.md) * [Find text](./find.md) diff --git a/docs/recipes/text/appendtotextfile.md b/docs/recipes/text/appendtotextfile.md index 3c9e20b58e..a6026b4884 100644 --- a/docs/recipes/text/appendtotextfile.md +++ b/docs/recipes/text/appendtotextfile.md @@ -60,7 +60,7 @@ Now that `com.yourorg.AppendToTextFileExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/text/changetext.md b/docs/recipes/text/changetext.md index a3a91804fa..a36f296a13 100644 --- a/docs/recipes/text/changetext.md +++ b/docs/recipes/text/changetext.md @@ -51,7 +51,7 @@ Now that `com.yourorg.ChangeTextExample` has been defined, activate it in your b 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/text/createtextfile.md b/docs/recipes/text/createtextfile.md index e6e5b6b9df..67add46f2f 100644 --- a/docs/recipes/text/createtextfile.md +++ b/docs/recipes/text/createtextfile.md @@ -50,7 +50,7 @@ Now that `com.yourorg.CreateTextFileExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/text/endoflineatendoffile.md b/docs/recipes/text/endoflineatendoffile.md index 5df508db23..66bc49e8e2 100644 --- a/docs/recipes/text/endoflineatendoffile.md +++ b/docs/recipes/text/endoflineatendoffile.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/text/find.md b/docs/recipes/text/find.md index e56152264c..6cee255357 100644 --- a/docs/recipes/text/find.md +++ b/docs/recipes/text/find.md @@ -56,7 +56,7 @@ Now that `com.yourorg.FindExample` has been defined, activate it in your build f 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/text/findandreplace.md b/docs/recipes/text/findandreplace.md index 9acf61cd1a..18c5bb77d0 100644 --- a/docs/recipes/text/findandreplace.md +++ b/docs/recipes/text/findandreplace.md @@ -56,7 +56,7 @@ Now that `com.yourorg.FindAndReplaceExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -179,4 +179,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Tim te Beek](mailto:tim@moderne.io), Ryan Hudson, [Jonathan Schneider](mailto:jkschneider@gmail.com) +[Sam Snyder](mailto:sam@moderne.io), [Nick McKinney](mailto:mckinneynicholas@gmail.com), [Knut Wannheden](mailto:knut@moderne.io), Ryan Hudson, [Tim te Beek](mailto:tim@moderne.io), [Jonathan Schneider](mailto:jkschneider@gmail.com) diff --git a/docs/recipes/text/findhardcodedprivateipaddresses.md b/docs/recipes/text/findhardcodedprivateipaddresses.md index c6df3d8e81..817f98598a 100644 --- a/docs/recipes/text/findhardcodedprivateipaddresses.md +++ b/docs/recipes/text/findhardcodedprivateipaddresses.md @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; **org.openrewrite.text.FindHardcodedPrivateIPAddresses** -_Locates mentions of hard-coded IPv4 addresses from private IP ranges._ +_Locates mentions of hard-coded IPv4 addresses from private IP ranges. Private IP ranges include: * `192.168.0.0` to `192.168.255.255` * `10.0.0.0` to `10.255.255.255` * `172.16.0.0` to `172.31.255.255` It is not detecting the localhost subnet `127.0.0.0` to `127.255.255.255`._ ## Recipe source @@ -18,87 +18,7 @@ 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). -## Examples -##### Example 1 - - - - - - -###### Before -```java -class Test { - void ipTest() { - String privateAddress1 = "10.10.20.20"; - String privateAddress2 = "192.168.20.20"; - String privateAddress3 = "172.16.20.20"; - String wordBoundaries = "1000000192.168.1.1aaa"; - String nonPrivate = "1.1.1.1"; - String nonAddress = "256.0.0.0"; - String springVersion = "5.2.2"; - String adding = "4.3+4.5"; - // address in a comment: 10.1.2.3 - // address in a comment: 192.168.2.3 - // address in a comment: 172.16.2.3 - String date = "30.11.2017"; - String ikeaProduct = "805.721.99"; - } -} -``` - -###### After -```java -class Test { - void ipTest() { - String privateAddress1 = "~~>10.10.20.20"; - String privateAddress2 = "~~>192.168.20.20"; - String privateAddress3 = "~~>172.16.20.20"; - String wordBoundaries = "1000000192.168.1.1aaa"; - String nonPrivate = "1.1.1.1"; - String nonAddress = "256.0.0.0"; - String springVersion = "5.2.2"; - String adding = "4.3+4.5"; - // address in a comment: ~~>10.1.2.3 - // address in a comment: ~~>192.168.2.3 - // address in a comment: ~~>172.16.2.3 - String date = "30.11.2017"; - String ikeaProduct = "805.721.99"; - } -} -``` - - - - -```diff -@@ -3,3 +3,3 @@ -class Test { - void ipTest() { -- String privateAddress1 = "10.10.20.20"; -- String privateAddress2 = "192.168.20.20"; -- String privateAddress3 = "172.16.20.20"; -+ String privateAddress1 = "~~>10.10.20.20"; -+ String privateAddress2 = "~~>192.168.20.20"; -+ String privateAddress3 = "~~>172.16.20.20"; - String wordBoundaries = "1000000192.168.1.1aaa"; -@@ -11,3 +11,3 @@ - String springVersion = "5.2.2"; - String adding = "4.3+4.5"; -- // address in a comment: 10.1.2.3 -- // address in a comment: 192.168.2.3 -- // address in a comment: 172.16.2.3 -+ // address in a comment: ~~>10.1.2.3 -+ // address in a comment: ~~>192.168.2.3 -+ // address in a comment: ~~>172.16.2.3 - String date = "30.11.2017"; -``` - - - ---- - -##### Example 2 +## Example @@ -209,6 +129,21 @@ Please [contact Moderne](https://moderne.io/product) for more information about ## Data Tables + + +### Hardcoded private IP addresses +**org.openrewrite.text.table.HardcodedPrivateIPAddresses** + +_This table lists locations of hardcoded private IPv4 addresses and their value found in source files._ + +| Column Name | Description | +| ----------- | ----------- | +| Source Path | The path to the source file containing the hard-coded IP address. | +| IP Address | The hard-coded private IPv4 address found in the source file. | +| Line Number | The line number in the source file where the hard-coded IP address is found. | + + + ### Source files that had results @@ -264,3 +199,6 @@ _Statistics used in analyzing the performance of recipes._ + +## Contributors +[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) diff --git a/docs/recipes/text/findmultiselect.md b/docs/recipes/text/findmultiselect.md index c22628b3fe..8027a385df 100644 --- a/docs/recipes/text/findmultiselect.md +++ b/docs/recipes/text/findmultiselect.md @@ -52,7 +52,7 @@ Now that `com.yourorg.FindMultiselectExample` has been defined, activate it in y 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/vulncheck/README.md b/docs/recipes/vulncheck/README.md index f77ec07c14..eb334bdd64 100644 --- a/docs/recipes/vulncheck/README.md +++ b/docs/recipes/vulncheck/README.md @@ -2,6 +2,6 @@ ## Recipes -* [Use [VulnCheck Exploit Intelligence](https://docs.vulncheck.com/products/exploit-and-vulnerability-intelligence/exploit-intelligence) to fix vulnerabilities](./fixvulncheckvulnerabilities.md) +* [Use VulnCheck Exploit Intelligence to fix vulnerabilities](./fixvulncheckvulnerabilities.md) diff --git a/docs/recipes/vulncheck/fixvulncheckvulnerabilities.md b/docs/recipes/vulncheck/fixvulncheckvulnerabilities.md index 6a44aa3f66..cb6c5110e7 100644 --- a/docs/recipes/vulncheck/fixvulncheckvulnerabilities.md +++ b/docs/recipes/vulncheck/fixvulncheckvulnerabilities.md @@ -1,5 +1,5 @@ --- -sidebar_label: "Use [VulnCheck Exploit Intelligence](https://docs.vulncheck.com/products/exploit-and-vulnerability-intelligence/exploit-intelligence) to fix vulnerabilities" +sidebar_label: "Use VulnCheck Exploit Intelligence to fix vulnerabilities" --- import Tabs from '@theme/Tabs'; diff --git a/docs/recipes/xml/addcommenttoxmltag.md b/docs/recipes/xml/addcommenttoxmltag.md index 214874f56a..6a2e322ca8 100644 --- a/docs/recipes/xml/addcommenttoxmltag.md +++ b/docs/recipes/xml/addcommenttoxmltag.md @@ -122,7 +122,7 @@ Now that `com.yourorg.AddCommentToXmlTagExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/addorupdatechildtag.md b/docs/recipes/xml/addorupdatechildtag.md index a0433e35d4..cc1a693d2c 100644 --- a/docs/recipes/xml/addorupdatechildtag.md +++ b/docs/recipes/xml/addorupdatechildtag.md @@ -50,7 +50,7 @@ Now that `com.yourorg.AddOrUpdateChildTagExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/changenamespacevalue.md b/docs/recipes/xml/changenamespacevalue.md index 67635de656..a068138127 100644 --- a/docs/recipes/xml/changenamespacevalue.md +++ b/docs/recipes/xml/changenamespacevalue.md @@ -109,7 +109,7 @@ Now that `com.yourorg.ChangeNamespaceValueExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/changetagattribute.md b/docs/recipes/xml/changetagattribute.md index 069d544b88..b7a19aef07 100644 --- a/docs/recipes/xml/changetagattribute.md +++ b/docs/recipes/xml/changetagattribute.md @@ -99,7 +99,7 @@ Now that `com.yourorg.ChangeTagAttributeExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/changetagname.md b/docs/recipes/xml/changetagname.md index aab1499a4a..09fee1d989 100644 --- a/docs/recipes/xml/changetagname.md +++ b/docs/recipes/xml/changetagname.md @@ -94,7 +94,7 @@ Now that `com.yourorg.ChangeTagNameExample` has been defined, activate it in you 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/changetagvalue.md b/docs/recipes/xml/changetagvalue.md index a99f0e4c82..c3ce5225f9 100644 --- a/docs/recipes/xml/changetagvalue.md +++ b/docs/recipes/xml/changetagvalue.md @@ -94,7 +94,7 @@ Now that `com.yourorg.ChangeTagValueExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/createxmlfile.md b/docs/recipes/xml/createxmlfile.md index b77fedad57..bf89dbfc1b 100644 --- a/docs/recipes/xml/createxmlfile.md +++ b/docs/recipes/xml/createxmlfile.md @@ -69,7 +69,7 @@ Now that `com.yourorg.CreateXmlFileExample` has been defined, activate it in you 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/format/autoformat.md b/docs/recipes/xml/format/autoformat.md index e784901268..25cc1604bd 100644 --- a/docs/recipes/xml/format/autoformat.md +++ b/docs/recipes/xml/format/autoformat.md @@ -93,7 +93,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/format/linebreaks.md b/docs/recipes/xml/format/linebreaks.md index 08a55c1f2c..070810ced2 100644 --- a/docs/recipes/xml/format/linebreaks.md +++ b/docs/recipes/xml/format/linebreaks.md @@ -70,7 +70,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/format/normalizeformat.md b/docs/recipes/xml/format/normalizeformat.md index c88d9478f2..47064d05fb 100644 --- a/docs/recipes/xml/format/normalizeformat.md +++ b/docs/recipes/xml/format/normalizeformat.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/format/normalizelinebreaks.md b/docs/recipes/xml/format/normalizelinebreaks.md index 1401100639..afd2bfd881 100644 --- a/docs/recipes/xml/format/normalizelinebreaks.md +++ b/docs/recipes/xml/format/normalizelinebreaks.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/format/normalizetabsorspaces.md b/docs/recipes/xml/format/normalizetabsorspaces.md index effa1cd8a2..aae23d957b 100644 --- a/docs/recipes/xml/format/normalizetabsorspaces.md +++ b/docs/recipes/xml/format/normalizetabsorspaces.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/format/tabsandindents.md b/docs/recipes/xml/format/tabsandindents.md index 1994a8e9fc..ca6d6c8223 100644 --- a/docs/recipes/xml/format/tabsandindents.md +++ b/docs/recipes/xml/format/tabsandindents.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/liberty/appddnamespacerule.md b/docs/recipes/xml/liberty/appddnamespacerule.md index 3f2ba8da09..71ce8ee98d 100644 --- a/docs/recipes/xml/liberty/appddnamespacerule.md +++ b/docs/recipes/xml/liberty/appddnamespacerule.md @@ -219,7 +219,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/liberty/connectorddnamespacerule.md b/docs/recipes/xml/liberty/connectorddnamespacerule.md index 5155236360..baa97ebc98 100644 --- a/docs/recipes/xml/liberty/connectorddnamespacerule.md +++ b/docs/recipes/xml/liberty/connectorddnamespacerule.md @@ -235,7 +235,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/liberty/ejbddnamespacerule.md b/docs/recipes/xml/liberty/ejbddnamespacerule.md index a8412cfa12..2c7102412e 100644 --- a/docs/recipes/xml/liberty/ejbddnamespacerule.md +++ b/docs/recipes/xml/liberty/ejbddnamespacerule.md @@ -203,7 +203,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/liberty/persistencexmllocationrule.md b/docs/recipes/xml/liberty/persistencexmllocationrule.md index 8c44016b0a..4bfab729b2 100644 --- a/docs/recipes/xml/liberty/persistencexmllocationrule.md +++ b/docs/recipes/xml/liberty/persistencexmllocationrule.md @@ -40,7 +40,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/liberty/webbeansxmlrule.md b/docs/recipes/xml/liberty/webbeansxmlrule.md index c2bf596f87..8cd5d4ab8f 100644 --- a/docs/recipes/xml/liberty/webbeansxmlrule.md +++ b/docs/recipes/xml/liberty/webbeansxmlrule.md @@ -81,7 +81,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/liberty/webddnamespacerule.md b/docs/recipes/xml/liberty/webddnamespacerule.md index 1aaf0d1786..79dfb80f1c 100644 --- a/docs/recipes/xml/liberty/webddnamespacerule.md +++ b/docs/recipes/xml/liberty/webddnamespacerule.md @@ -155,7 +155,7 @@ This recipe has no required configuration options. It can be activated by adding ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/removeemptyxmltags.md b/docs/recipes/xml/removeemptyxmltags.md index dc3ffaea03..ce6d0a39c6 100644 --- a/docs/recipes/xml/removeemptyxmltags.md +++ b/docs/recipes/xml/removeemptyxmltags.md @@ -73,7 +73,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/removetrailingwhitespace.md b/docs/recipes/xml/removetrailingwhitespace.md index cd7564fa75..bb043aaf18 100644 --- a/docs/recipes/xml/removetrailingwhitespace.md +++ b/docs/recipes/xml/removetrailingwhitespace.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/removexmltag.md b/docs/recipes/xml/removexmltag.md index 5c5e5b2a67..111fdcc6e6 100644 --- a/docs/recipes/xml/removexmltag.md +++ b/docs/recipes/xml/removexmltag.md @@ -89,7 +89,7 @@ Now that `com.yourorg.RemoveXmlTagExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/search/doesnotusenamespaceuri.md b/docs/recipes/xml/search/doesnotusenamespaceuri.md index 45bc43bbb3..8fcbae420f 100644 --- a/docs/recipes/xml/search/doesnotusenamespaceuri.md +++ b/docs/recipes/xml/search/doesnotusenamespaceuri.md @@ -25,6 +25,32 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | -- | -- | -- | -- | | `String` | namespaceUri | The Namespace URI to check. | `http://www.w3.org/2001/XMLSchema-instance` | +## Example + +###### Parameters +| Parameter | Value | +| -- | -- | +|namespaceUri|`http://example.com/dummy`| + + + +###### New file +```xml + + + + + + + + +``` + + ## Usage @@ -47,7 +73,7 @@ Now that `com.yourorg.DoesNotUseNamespaceUriExample` has been defined, activate 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -170,4 +196,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de) +[Merlin Bögershausen](mailto:merlin.boegershausen@rwth-aachen.de), [Tim te Beek](mailto:tim@moderne.io) diff --git a/docs/recipes/xml/search/findnamespaceprefix.md b/docs/recipes/xml/search/findnamespaceprefix.md index 58e7690d20..84b6179b10 100644 --- a/docs/recipes/xml/search/findnamespaceprefix.md +++ b/docs/recipes/xml/search/findnamespaceprefix.md @@ -76,7 +76,7 @@ Now that `com.yourorg.FindNamespacePrefixExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/search/findtags.md b/docs/recipes/xml/search/findtags.md index 929a177137..4bf046d6db 100644 --- a/docs/recipes/xml/search/findtags.md +++ b/docs/recipes/xml/search/findtags.md @@ -90,7 +90,7 @@ Now that `com.yourorg.FindTagsExample` has been defined, activate it in your bui 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/search/hasnamespaceuri.md b/docs/recipes/xml/search/hasnamespaceuri.md index 5f9b6f6870..3b2f63b87f 100644 --- a/docs/recipes/xml/search/hasnamespaceuri.md +++ b/docs/recipes/xml/search/hasnamespaceuri.md @@ -76,7 +76,7 @@ Now that `com.yourorg.HasNamespaceUriExample` has been defined, activate it in y 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/security/addowaspdateboundsuppressions.md b/docs/recipes/xml/security/addowaspdateboundsuppressions.md index 3b1e33f494..4ee45136d2 100644 --- a/docs/recipes/xml/security/addowaspdateboundsuppressions.md +++ b/docs/recipes/xml/security/addowaspdateboundsuppressions.md @@ -84,7 +84,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/security/isowaspsuppressionsfile.md b/docs/recipes/xml/security/isowaspsuppressionsfile.md index b213f9e411..871350a6b7 100644 --- a/docs/recipes/xml/security/isowaspsuppressionsfile.md +++ b/docs/recipes/xml/security/isowaspsuppressionsfile.md @@ -76,7 +76,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/security/removeowaspsuppressions.md b/docs/recipes/xml/security/removeowaspsuppressions.md index f62ca321e5..20a1d993e4 100644 --- a/docs/recipes/xml/security/removeowaspsuppressions.md +++ b/docs/recipes/xml/security/removeowaspsuppressions.md @@ -82,7 +82,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/security/updateowaspsuppressiondate.md b/docs/recipes/xml/security/updateowaspsuppressiondate.md index 739e69de6c..1dfbf01d90 100644 --- a/docs/recipes/xml/security/updateowaspsuppressiondate.md +++ b/docs/recipes/xml/security/updateowaspsuppressiondate.md @@ -102,7 +102,7 @@ Now that `com.yourorg.UpdateOwaspSuppressionDateExample` has been defined, activ 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/style/autodetectdebug.md b/docs/recipes/xml/style/autodetectdebug.md index 2fd8d0ad97..22d2e141c4 100644 --- a/docs/recipes/xml/style/autodetectdebug.md +++ b/docs/recipes/xml/style/autodetectdebug.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/xml/xslttransformation.md b/docs/recipes/xml/xslttransformation.md index 79ea07d3dd..7849c8507b 100644 --- a/docs/recipes/xml/xslttransformation.md +++ b/docs/recipes/xml/xslttransformation.md @@ -97,7 +97,7 @@ Now that `com.yourorg.XsltTransformationExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/appendtosequence.md b/docs/recipes/yaml/appendtosequence.md index 5a3402023b..f04e534d2d 100644 --- a/docs/recipes/yaml/appendtosequence.md +++ b/docs/recipes/yaml/appendtosequence.md @@ -98,7 +98,7 @@ Now that `com.yourorg.AppendToSequenceExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/changekey.md b/docs/recipes/yaml/changekey.md index b83cc22fc3..fb5769a01a 100644 --- a/docs/recipes/yaml/changekey.md +++ b/docs/recipes/yaml/changekey.md @@ -92,7 +92,7 @@ Now that `com.yourorg.ChangeKeyExample` has been defined, activate it in your bu 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/changepropertykey.md b/docs/recipes/yaml/changepropertykey.md index 678007785a..36697034e9 100644 --- a/docs/recipes/yaml/changepropertykey.md +++ b/docs/recipes/yaml/changepropertykey.md @@ -231,7 +231,7 @@ Now that `com.yourorg.ChangePropertyKeyExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/changepropertyvalue.md b/docs/recipes/yaml/changepropertyvalue.md index fc150d1a8c..d670406a3c 100644 --- a/docs/recipes/yaml/changepropertyvalue.md +++ b/docs/recipes/yaml/changepropertyvalue.md @@ -94,7 +94,7 @@ Now that `com.yourorg.ChangePropertyValueExample` has been defined, activate it 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/changevalue.md b/docs/recipes/yaml/changevalue.md index 66e51bd3f9..31fe3166b5 100644 --- a/docs/recipes/yaml/changevalue.md +++ b/docs/recipes/yaml/changevalue.md @@ -95,7 +95,7 @@ Now that `com.yourorg.ChangeValueExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/cleanup/removeunused.md b/docs/recipes/yaml/cleanup/removeunused.md index d1718de2c5..97956706c3 100644 --- a/docs/recipes/yaml/cleanup/removeunused.md +++ b/docs/recipes/yaml/cleanup/removeunused.md @@ -64,7 +64,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/coalesceproperties.md b/docs/recipes/yaml/coalesceproperties.md index 519e9c81bc..205c91264b 100644 --- a/docs/recipes/yaml/coalesceproperties.md +++ b/docs/recipes/yaml/coalesceproperties.md @@ -78,7 +78,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/commentoutproperty.md b/docs/recipes/yaml/commentoutproperty.md index b82f6f1ba0..780f758723 100644 --- a/docs/recipes/yaml/commentoutproperty.md +++ b/docs/recipes/yaml/commentoutproperty.md @@ -325,7 +325,7 @@ Now that `com.yourorg.CommentOutPropertyExample` has been defined, activate it i 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/copyvalue.md b/docs/recipes/yaml/copyvalue.md index 90da0128dd..c42f59a8ac 100644 --- a/docs/recipes/yaml/copyvalue.md +++ b/docs/recipes/yaml/copyvalue.md @@ -93,7 +93,7 @@ Now that `com.yourorg.CopyValueExample` has been defined, activate it in your bu 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/createyamlfile.md b/docs/recipes/yaml/createyamlfile.md index ca01f89015..bef29e30d3 100644 --- a/docs/recipes/yaml/createyamlfile.md +++ b/docs/recipes/yaml/createyamlfile.md @@ -92,7 +92,7 @@ Now that `com.yourorg.CreateYamlFileExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/deletekey.md b/docs/recipes/yaml/deletekey.md index a843a6b415..6aee9da7e1 100644 --- a/docs/recipes/yaml/deletekey.md +++ b/docs/recipes/yaml/deletekey.md @@ -90,7 +90,7 @@ Now that `com.yourorg.DeleteKeyExample` has been defined, activate it in your bu 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { @@ -213,4 +213,4 @@ _Statistics used in analyzing the performance of recipes._ ## Contributors -[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com) +[Jonathan Schneider](mailto:jkschneider@gmail.com), [Sam Snyder](mailto:sam@moderne.io), [Aaron Gershman](mailto:aegershman@gmail.com), [Niels de Bruin](mailto:nielsdebruin@gmail.com), [Tim te Beek](mailto:tim@moderne.io), [Maurice Zeijen](mailto:maurice@zeijen.net), [Tracey Yoshima](mailto:tracey.yoshima@gmail.com) diff --git a/docs/recipes/yaml/deleteproperty.md b/docs/recipes/yaml/deleteproperty.md index af4a786d67..cc90de14ab 100644 --- a/docs/recipes/yaml/deleteproperty.md +++ b/docs/recipes/yaml/deleteproperty.md @@ -67,7 +67,7 @@ Now that `com.yourorg.DeletePropertyExample` has been defined, activate it in yo 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/format/indents.md b/docs/recipes/yaml/format/indents.md index 95f13c2905..e41321e3ce 100644 --- a/docs/recipes/yaml/format/indents.md +++ b/docs/recipes/yaml/format/indents.md @@ -30,7 +30,7 @@ This recipe has no required configuration parameters and comes from a rewrite co ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/mergeyaml.md b/docs/recipes/yaml/mergeyaml.md index a8e621cf40..5b9891d477 100644 --- a/docs/recipes/yaml/mergeyaml.md +++ b/docs/recipes/yaml/mergeyaml.md @@ -121,7 +121,7 @@ Now that `com.yourorg.MergeYamlExample` has been defined, activate it in your bu 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/search/findkey.md b/docs/recipes/yaml/search/findkey.md index fd947d594d..5ba1acc098 100644 --- a/docs/recipes/yaml/search/findkey.md +++ b/docs/recipes/yaml/search/findkey.md @@ -89,7 +89,7 @@ Now that `com.yourorg.FindKeyExample` has been defined, activate it in your buil 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/search/findproperty.md b/docs/recipes/yaml/search/findproperty.md index 51aceabf0b..ad72b2da22 100644 --- a/docs/recipes/yaml/search/findproperty.md +++ b/docs/recipes/yaml/search/findproperty.md @@ -85,7 +85,7 @@ Now that `com.yourorg.FindPropertyExample` has been defined, activate it in your 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/recipes/yaml/unfoldproperties.md b/docs/recipes/yaml/unfoldproperties.md index cf3f731aee..dce981667b 100644 --- a/docs/recipes/yaml/unfoldproperties.md +++ b/docs/recipes/yaml/unfoldproperties.md @@ -32,7 +32,7 @@ This recipe is available under the [Apache License Version 2.0](https://www.apac | Parameter | Value | | -- | -- | |exclusions|`List.of("$..[logging.level][?(@property.match(/.*/))]", "$..[enable.process.files]")`| -|applyTo|| +|applyTo|`null`| @@ -128,7 +128,7 @@ Now that `com.yourorg.UnfoldPropertiesExample` has been defined, activate it in 1. Add the following to your `build.gradle` file: ```groovy title="build.gradle" plugins { - id("org.openrewrite.rewrite") version("{{VERSION_REWRITE_GRADLE_PLUGIN}}") + id("org.openrewrite.rewrite") version("latest.release") } rewrite { diff --git a/docs/reference/latest-versions-of-every-openrewrite-module.md b/docs/reference/latest-versions-of-every-openrewrite-module.md index fe98db3985..cc0e85ebc9 100644 --- a/docs/reference/latest-versions-of-every-openrewrite-module.md +++ b/docs/reference/latest-versions-of-every-openrewrite-module.md @@ -14,86 +14,87 @@ 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.55.3](https://github.com/openrewrite/rewrite/releases/tag/v8.55.3)** | [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.11.0](https://github.com/openrewrite/rewrite-maven-plugin/releases/tag/v6.11.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.8.0](https://github.com/openrewrite/rewrite-gradle-plugin/releases/tag/v7.8.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.9.0](https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.9.0)** | [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.13.1](https://github.com/moderneinc/rewrite-recipe-bom/releases/tag/v0.13.1)** | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-cryptography](https://github.com/moderneinc/rewrite-cryptography/blob/main/) | [0.2.2](https://github.com/moderneinc/rewrite-cryptography/blob/main//releases/tag/v0.2.2) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-devcenter](https://github.com/moderneinc/rewrite-devcenter/blob/main/) | [1.4.1](https://github.com/moderneinc/rewrite-devcenter/blob/main//releases/tag/v1.4.1) | [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.5.1](https://github.com/moderneinc/rewrite-hibernate/blob/main//releases/tag/v0.5.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-spring](https://github.com/moderneinc/rewrite-spring/blob/main/) | [0.7.2](https://github.com/moderneinc/rewrite-spring/blob/main//releases/tag/v0.7.2) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [io.moderne.recipe:rewrite-vulncheck](https://github.com/moderneinc/rewrite-vulncheck/blob/main/) | [0.2.0](https://github.com/moderneinc/rewrite-vulncheck/blob/main//releases/tag/v0.2.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [**org.openrewrite:rewrite-bom**](https://github.com/openrewrite/rewrite) | **[8.56.0](https://github.com/openrewrite/rewrite/releases/tag/v8.56.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.12.0](https://github.com/openrewrite/rewrite-maven-plugin/releases/tag/v6.12.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.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.0](https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v3.10.0)** | [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.0](https://github.com/moderneinc/rewrite-recipe-bom/releases/tag/v0.14.0)** | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [io.moderne.recipe:rewrite-cryptography](https://github.com/moderneinc/rewrite-cryptography/blob/main/) | [0.3.0](https://github.com/moderneinc/rewrite-cryptography/blob/main//releases/tag/v0.3.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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/releases/tag/v8.55.3) | [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.26.1](https://github.com/openrewrite/rewrite-csharp/blob/main/rewrite-csharp/releases/tag/v0.26.1) | [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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/releases/tag/v8.55.3) | [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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/releases/tag/v8.55.3) | [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.54.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/releases/tag/v8.54.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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/releases/tag/v8.55.3) | [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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-javascript/releases/tag/v8.55.3) | [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.54.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/releases/tag/v8.54.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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-kotlin/releases/tag/v8.55.3) | [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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/releases/tag/v8.55.3) | [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.3.0](https://github.com/openrewrite/rewrite-polyglot/blob/main//releases/tag/v2.3.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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/releases/tag/v8.55.3) | [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.54.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-protobuf/releases/tag/v8.54.0) | [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.38.0](https://github.com/openrewrite/rewrite-python/blob/main/rewrite-python/releases/tag/v1.38.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.0](https://github.com/openrewrite/rewrite-templating/blob/main//releases/tag/v1.29.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.54.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-toml/releases/tag/v8.54.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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/releases/tag/v8.55.3) | [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.55.3](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/releases/tag/v8.55.3) | [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.22.0](https://github.com/openrewrite/rewrite-analysis/blob/main//releases/tag/v2.22.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.27.1](https://github.com/moderneinc/rewrite-ai-search/blob/main//releases/tag/v0.27.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-all](https://github.com/openrewrite/rewrite-all/blob/main/) | [1.17.0](https://github.com/openrewrite/rewrite-all/blob/main//releases/tag/v1.17.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.9.1](https://github.com/moderneinc/rewrite-android/blob/main//releases/tag/v0.9.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-apache](https://github.com/openrewrite/rewrite-apache/blob/main/) | [2.10.0](https://github.com/openrewrite/rewrite-apache/blob/main//releases/tag/v2.10.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.2.0](https://github.com/moderneinc/rewrite-azul/blob/main//releases/tag/v0.2.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-circleci](https://github.com/moderneinc/rewrite-circleci/blob/main/) | [3.5.1](https://github.com/moderneinc/rewrite-circleci/blob/main//releases/tag/v3.5.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-codemods](https://github.com/moderneinc/rewrite-codemods/blob/main/) | [0.14.0](https://github.com/moderneinc/rewrite-codemods/blob/main//releases/tag/v0.14.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.10.0](https://github.com/moderneinc/rewrite-codemods-ng/blob/main//releases/tag/v0.10.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.6.0](https://github.com/moderneinc/rewrite-compiled-analysis/blob/main//releases/tag/v0.6.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-comprehension](https://github.com/moderneinc/rewrite-comprehension/blob/main/) | [0.6.1](https://github.com/moderneinc/rewrite-comprehension/blob/main//releases/tag/v0.6.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-concourse](https://github.com/moderneinc/rewrite-concourse/blob/main/) | [3.4.1](https://github.com/moderneinc/rewrite-concourse/blob/main//releases/tag/v3.4.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.7.0](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main//releases/tag/v2.7.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.7.0](https://github.com/openrewrite/rewrite-docker/blob/main//releases/tag/v2.7.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.10.1](https://github.com/moderneinc/rewrite-dotnet/blob/main//releases/tag/v0.10.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-dropwizard](https://github.com/openrewrite/rewrite-dropwizard/blob/main/) | [0.1.0](https://github.com/openrewrite/rewrite-dropwizard/blob/main//releases/tag/v0.1.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.8.0](https://github.com/openrewrite/rewrite-feature-flags/blob/main//releases/tag/v1.8.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.7.0](https://github.com/openrewrite/rewrite-github-actions/blob/main//releases/tag/v3.7.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.13.0](https://github.com/openrewrite/rewrite-gitlab/blob/main//releases/tag/v0.13.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.8.0](https://github.com/openrewrite/rewrite-hibernate/blob/main//releases/tag/v2.8.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.19.0](https://github.com/moderneinc/rewrite-jackson/blob/main//releases/tag/v0.19.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.35.2](https://github.com/openrewrite/rewrite-java-dependencies/blob/main//releases/tag/v1.35.2) | [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.12.0](https://github.com/moderneinc/rewrite-java-security/blob/main//releases/tag/v3.12.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-jenkins](https://github.com/openrewrite/rewrite-jenkins/blob/main/) | [0.26.0](https://github.com/openrewrite/rewrite-jenkins/blob/main//releases/tag/v0.26.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.5.0](https://github.com/moderneinc/rewrite-kubernetes/blob/main//releases/tag/v3.5.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-liberty](https://github.com/openrewrite/rewrite-liberty/blob/main/) | [1.17.0](https://github.com/openrewrite/rewrite-liberty/blob/main//releases/tag/v1.17.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.9.0](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main//releases/tag/v3.9.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.21.0](https://github.com/openrewrite/rewrite-micrometer/blob/main//releases/tag/v0.21.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.23.0](https://github.com/openrewrite/rewrite-micronaut/blob/main//releases/tag/v2.23.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.11.0](https://github.com/openrewrite/rewrite-migrate-java/blob/main//releases/tag/v3.11.0) | [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license) | +| [org.openrewrite:rewrite-core](https://github.com/openrewrite/rewrite/blob/main/rewrite-core) | [8.57.0-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/releases/tag/v8.57.0-SNAPSHOT) | [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.57.0-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/releases/tag/v8.57.0-SNAPSHOT) | [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-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/releases/tag/v8.57.0-SNAPSHOT) | [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.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/releases/tag/v8.56.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-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/releases/tag/v8.57.0-SNAPSHOT) | [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.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-javascript/releases/tag/v8.56.0) | [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.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/releases/tag/v8.56.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-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-kotlin/releases/tag/v8.57.0-SNAPSHOT) | [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-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/releases/tag/v8.57.0-SNAPSHOT) | [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.57.0-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/releases/tag/v8.57.0-SNAPSHOT) | [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.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-protobuf/releases/tag/v8.56.0) | [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.0](https://github.com/openrewrite/rewrite/blob/main/rewrite-toml/releases/tag/v8.56.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-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/releases/tag/v8.57.0-SNAPSHOT) | [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-SNAPSHOT](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/releases/tag/v8.57.0-SNAPSHOT) | [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-diffblue](https://github.com/moderneinc/rewrite-diffblue/blob/main/) | [0.1.0-SNAPSHOT](https://github.com/moderneinc/rewrite-diffblue/blob/main//releases/tag/v0.1.0-SNAPSHOT) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | +| [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.0](https://github.com/openrewrite/rewrite-netty/blob/main//releases/tag/v0.1.0) | [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.24.0](https://github.com/moderneinc/rewrite-nodejs/blob/main//releases/tag/v0.24.0) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-okhttp](https://github.com/openrewrite/rewrite-okhttp/blob/main/) | [0.15.0](https://github.com/openrewrite/rewrite-okhttp/blob/main//releases/tag/v0.15.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.20.0](https://github.com/openrewrite/rewrite-openapi/blob/main//releases/tag/v0.20.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.20.0](https://github.com/openrewrite/rewrite-quarkus/blob/main//releases/tag/v2.20.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.13.1](https://github.com/moderneinc/rewrite-reactive-streams/blob/main//releases/tag/v0.13.1) | [Moderne Proprietary License](https://docs.moderne.io/licensing/overview) | -| [org.openrewrite.recipe:rewrite-rewrite](https://github.com/openrewrite/rewrite-rewrite/blob/main/) | [0.7.0](https://github.com/openrewrite/rewrite-rewrite/blob/main//releases/tag/v0.7.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.8.2](https://github.com/openrewrite/rewrite-spring/blob/main//releases/tag/v6.8.2) | [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.0](https://github.com/moderneinc/rewrite-sql/blob/main//releases/tag/v2.4.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.10.0](https://github.com/openrewrite/rewrite-static-analysis/blob/main//releases/tag/v2.10.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.16.0](https://github.com/openrewrite/rewrite-struts/blob/main//releases/tag/v0.16.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.4.0](https://github.com/moderneinc/rewrite-terraform/blob/main//releases/tag/v3.4.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.10.0](https://github.com/openrewrite/rewrite-testing-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-third-party](https://github.com/openrewrite/rewrite-third-party/blob/main/) | [0.22.0](https://github.com/openrewrite/rewrite-third-party/blob/main//releases/tag/v0.22.0) | [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) | ## 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-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-diffblue:{{VERSION_ORG_OPENREWRITE_RECIPE_REWRITE_DIFFBLUE}} 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 @@ -367,6 +368,13 @@ mutation seedOpenRewriteArtifacts { ) { id } + load_org_openrewrite_recipe_rewrite_diffblue: loadRecipesAsync( + groupId: "org.openrewrite.recipe" + artifactId: "rewrite-diffblue" + version: "LATEST" + ) { + id + } load_org_openrewrite_recipe_rewrite_docker: loadRecipesAsync( groupId: "org.openrewrite.recipe" artifactId: "rewrite-docker" diff --git a/docs/reference/moderne-recipes.md b/docs/reference/moderne-recipes.md index b2b9d3cb7b..530b736ee1 100644 --- a/docs/reference/moderne-recipes.md +++ b/docs/reference/moderne-recipes.md @@ -77,9 +77,25 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full * [Find resource](../recipes/concourse/findresource.md) * [Update git resource `source.uri` references](../recipes/concourse/updategitresourceuri.md) -## rewrite-diffblue - -* [Generate unit tests](../recipes/diffblue/generateunittests.md) +## rewrite-cryptography + +* [Find SSL configuration](../recipes/cryptography/findsslconfiguration.md) +* [Find `Security.setProperty(..)` calls for certain properties](../recipes/cryptography/findsecuritysetproperties.md) +* [Find hardcoded PEM certificates](../recipes/cryptography/findhardcodedcertificate.md) +* [Find hardcoded PEM private keys](../recipes/cryptography/findhardcodedprivatekey.md) +* [Find hardcoded algorithms in `KeyPairGenerator`](../recipes/cryptography/findhardcodedkeypairgenerator.md) +* [Find hardcoded algorithms in `SecretKeySpec`](../recipes/cryptography/findhardcodedsecretkeyspec.md) +* [Find hardcoded cipher suites on SSL sockets](../recipes/cryptography/findhardcodedciphersuitesonsslsocket.md) +* [Find hardcoded numbers passed into `RSAKeyGenParameterSpec`](../recipes/cryptography/findhardcodedrsakeygenparameterspec.md) +* [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 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) +* [Hardcoded algorithm specific parameters](../recipes/cryptography/findhardcodedalgorithmspecificparameters.md) +* [Hardcoded ciphersuite choice](../recipes/cryptography/findhardcodedciphersuitechoice.md) +* [Post quantum cryptography](../recipes/cryptography/postquantumcryptography.md) ## rewrite-dotnet @@ -95,6 +111,7 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full * [Find JPQL definitions](../recipes/hibernate/search/findjpqldefinitions.md) * [Fix conflicting class type annotation Hibernate 6.6](../recipes/hibernate/update66/fixconflictingclasstypeannotations.md) * [Migrate to Hibernate 6.6.x](../recipes/hibernate/migratetohibernate66.md) +* [Migrate to Hibernate 7.0.x](../recipes/hibernate/migratetohibernate70.md) * [Remove table from single table inherited entity](../recipes/hibernate/update66/removetablefrominheritedentity.md) ## rewrite-jackson @@ -270,11 +287,18 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full ## rewrite-spring * [Add `@Valid` annotation to fields](../recipes/java/spring/boot3/addvalidtoconfigurationpropertiesfields.md) +* [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) * [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) +* [Migrate Spring Cloud properties to 2020](../recipes/java/spring/cloud2020/springcloudproperties_2020.md) +* [Migrate Spring Cloud properties to 2021](../recipes/java/spring/cloud2021/springcloudproperties_2021.md) +* [Migrate Spring Cloud properties to 2022](../recipes/java/spring/cloud2022/springcloudproperties_2022.md) +* [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 `@Endpoint`s `defaultAccess` value](../recipes/java/spring/boot3/migrateendpointannotationaccessvaluespring34.md) * [Migrate `ConditionalOnAvailableEndpoint` for Spring Boot 3.4](../recipes/java/spring/boot3/conditionalonavailableendpointmigrationspring34.md) * [Migrate management endpoint access value](../recipes/java/spring/boot3/migrateendpointaccessvaluespring34.md) @@ -424,5 +448,5 @@ This doc includes every recipe that is exclusive to users of Moderne. For a full ## rewrite-vulncheck -* [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](../recipes/vulncheck/fixvulncheckvulnerabilities.md) diff --git a/docs/reference/recipes-with-data-tables.md b/docs/reference/recipes-with-data-tables.md index fe97da52ea..4c7b287574 100644 --- a/docs/reference/recipes-with-data-tables.md +++ b/docs/reference/recipes-with-data-tables.md @@ -6,6 +6,148 @@ 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) + +_io.moderne.cryptography.FindSslConfiguration_ + +The configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS) is a key aspect of making a secure application. This recipe detects and enumerates these configurations. + +#### Data tables: + + * **io.moderne.cryptography.table.SslConfiguration**: *Records configuration of Secure Socket Layer (SSL) and Transport Layer Security (TLS).* + + +### [Post quantum cryptography](../recipes/cryptography/postquantumcryptography.md) + +_io.moderne.cryptography.PostQuantumCryptography_ + +Locate cryptographic configuration which may need to be updated for a brave new post-quantum-supremacy world. + +#### Data tables: + + * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* + * **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) + +_io.moderne.cryptography.FindSslContextDefault_ + +This includes anywhere where `SSLContext.setDefault` is called. + +#### Data tables: + + * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* + + +### [Find programmatic edits of `Security` provider list](../recipes/cryptography/findsecurityproviderediting.md) + +_io.moderne.cryptography.FindSecurityProviderEditing_ + +Locate programmatic edits of the `Security` provider list. + +#### Data tables: + + * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* + + +### [Move to JUnit 5](../recipes/devcenter/junitjupiterupgrade.md) + +_io.moderne.devcenter.JUnitJupiterUpgrade_ + +Move to JUnit Jupiter. + +#### Data tables: + + * **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) + +_io.moderne.devcenter.JavaVersionUpgrade_ + +Determine the current state of a repository relative to a desired Java version upgrade. + +#### Data tables: + + * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* + + +### [Library upgrade](../recipes/devcenter/libraryupgrade.md) + +_io.moderne.devcenter.LibraryUpgrade_ + +Determine the current state of a repository relative to a desired library upgrade. + +#### Data tables: + + * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* + + +### [Parent POM upgrade](../recipes/devcenter/parentpomupgrade.md) + +_io.moderne.devcenter.ParentPomUpgrade_ + +Determine the current state of a repository relative to a desired parent POM upgrade. + +#### Data tables: + + * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* + + +### [Report as security issues](../recipes/devcenter/reportassecurityissues.md) + +_io.moderne.devcenter.ReportAsSecurityIssues_ + +Look for results produced by recipes in the same recipe list that this recipe is part of, and report them as security issues in DevCenter. + +#### Data tables: + + * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* + + +### [DevCenter](../recipes/devcenter/devcenterstarter.md) + +_io.moderne.devcenter.DevCenterStarter_ + +This is a default DevCenter configuration that can be used as a starting point for your own DevCenter configuration. It includes a combination of upgrades, migrations, and security fixes. You can customize this configuration to suit your needs. +For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/). + +#### Data tables: + + * **io.moderne.devcenter.table.UpgradesAndMigrations**: *Progress towards organizational objectives on library or language migrations and upgrades.* + * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* + * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* + + +### [OWASP top ten](../recipes/devcenter/securitystarter.md) + +_io.moderne.devcenter.SecurityStarter_ + +This recipe is a starter card to reveal common OWASP Top 10 issues in your source code. You can customize this configuration to suit your needs. +For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/user-documentation/moderne-platform/getting-started/dev-center/). + +#### Data tables: + + * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* + * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* + + +### [Original DevCenter security card](../recipes/devcenter/securityoriginalstarter.md) + +_io.moderne.devcenter.SecurityOriginalStarter_ + +This is the same set of recipes as the original DevCenter security card. + +#### Data tables: + + * **org.openrewrite.java.table.MethodCalls**: *The text of matching method invocations.* + * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* + * **org.openrewrite.java.dependencies.table.VulnerabilityReport**: *A vulnerability report that includes detailed information about the affected artifact and the corresponding CVEs.* + * **io.moderne.devcenter.table.SecurityIssues**: *Security issues in the repository.* + + ### [Find JPQL definitions](../recipes/hibernate/search/findjpqldefinitions.md) _io.moderne.hibernate.search.FindJPQLDefinitions_ @@ -17,22 +159,22 @@ Find Java Persistence Query Language definitions in the codebase. * **io.moderne.hibernate.search.JPQLQueries**: *Shows matching JPQL queries.* -### [Migrate to Spring Boot 3.5](../recipes/java/spring/boot3/upgradespringboot_3_5.md) +### [Migrate to Spring Boot 3.4](../recipes/java/spring/boot3/upgradespringboot_3_4.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.* -### [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) -_io.moderne.java.spring.boot3.UpgradeSpringBoot_3_4_ +_io.moderne.java.spring.boot3.UpgradeSpringBoot_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. +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: @@ -274,6 +416,17 @@ 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) + +_org.openrewrite.gradle.AddPlatformDependency_ + +Add a gradle platform dependency to a `build.gradle` file in the correct configuration based on where it is used. + +#### Data tables: + + * **org.openrewrite.maven.table.MavenMetadataFailures**: *Attempts to resolve maven metadata that failed.* + + ### [Upgrade Gradle dependency versions](../recipes/gradle/upgradedependencyversion.md) _org.openrewrite.gradle.UpgradeDependencyVersion_ @@ -501,7 +654,7 @@ Change the groupId, artifactId and optionally the version of a specified Maven m _org.openrewrite.maven.ChangeParentPom_ -Change the parent pom of a Maven pom.xml. Identifies the parent pom to be changed by its groupId and artifactId. +Change the parent pom of a Maven pom.xml by matching the existing parent via groupId and artifactId, and updating it to a new groupId, artifactId, version, and optional relativePath. Also updates the project to retain dependency management and properties previously inherited from the old parent that are no longer provided by the new parent. Removes redundant dependency versions already managed by the new parent. #### Data tables: @@ -825,12 +978,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.* -### [Forbid empty named import](../recipes/codemods/cleanup/javascript/noemptynamedblocks.md) +### [Lint TypeScript code using ESLint](../recipes/codemods/ecmascript/eslinttypescriptdefaults.md) -_org.openrewrite.codemods.cleanup.javascript.NoEmptyNamedBlocks_ +_org.openrewrite.codemods.ecmascript.ESLintTypeScriptDefaults_ -Forbid empty named import -See rule details for [import/no-empty-named-blocks](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-empty-named-blocks.md) +The default config includes the `@typescript-eslint` plugin and the corresponding `plugin:@typescript-eslint/recommended` extend. #### Data tables: @@ -838,12 +990,11 @@ See rule details for [import/no-empty-named-blocks](https://github.com/import-js * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Forbid import statements with CommonJS module.exports](../recipes/codemods/cleanup/javascript/noimportmoduleexports.md) +### [Format TypeScript using ESLint Prettier plugin](../recipes/codemods/ecmascript/eslinttypescriptprettier.md) -_org.openrewrite.codemods.cleanup.javascript.NoImportModuleExports_ +_org.openrewrite.codemods.ecmascript.ESLintTypeScriptPrettier_ -Forbid import statements with CommonJS module.exports -See rule details for [import/no-import-module-exports](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-import-module-exports.md) +Formats all TypeScript source code using the ESLint Prettier plugin. #### Data tables: @@ -851,12 +1002,12 @@ See rule details for [import/no-import-module-exports](https://github.com/import * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Forbid import of modules using absolute paths](../recipes/codemods/cleanup/javascript/noabsolutepath.md) +### [Require braces around arrow function bodies](../recipes/codemods/cleanup/javascript/arrowbodystyle.md) -_org.openrewrite.codemods.cleanup.javascript.NoAbsolutePath_ +_org.openrewrite.codemods.cleanup.javascript.ArrowBodyStyle_ -Forbid import of modules using absolute paths -See rule details for [import/no-absolute-path](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-absolute-path.md) +Require braces around arrow function bodies +See [rule details](https://eslint.org/docs/latest/rules/arrow-body-style) #### Data tables: @@ -864,12 +1015,12 @@ See rule details for [import/no-absolute-path](https://github.com/import-js/esli * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Forbid importing packages through relative paths](../recipes/codemods/cleanup/javascript/norelativepackages.md) +### [Enforce or disallow capitalization of the first letter of a comment](../recipes/codemods/cleanup/javascript/capitalizedcomments.md) -_org.openrewrite.codemods.cleanup.javascript.NoRelativePackages_ +_org.openrewrite.codemods.cleanup.javascript.CapitalizedComments_ -Forbid importing packages through relative paths -See rule details for [import/no-relative-packages](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-relative-packages.md) +Enforce or disallow capitalization of the first letter of a comment +See [rule details](https://eslint.org/docs/latest/rules/capitalized-comments) #### Data tables: @@ -877,12 +1028,12 @@ See rule details for [import/no-relative-packages](https://github.com/import-js/ * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Forbid unnecessary path segments in import and require statements](../recipes/codemods/cleanup/javascript/nouselesspathsegments.md) +### [Enforce consistent brace style for all control statements](../recipes/codemods/cleanup/javascript/curly.md) -_org.openrewrite.codemods.cleanup.javascript.NoUselessPathSegments_ +_org.openrewrite.codemods.cleanup.javascript.Curly_ -Forbid unnecessary path segments in import and require statements -See rule details for [import/no-useless-path-segments](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-useless-path-segments.md) +Enforce consistent brace style for all control statements +See [rule details](https://eslint.org/docs/latest/rules/curly) #### Data tables: @@ -890,12 +1041,12 @@ See rule details for [import/no-useless-path-segments](https://github.com/import * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce or ban the use of inline type-only markers for named imports](../recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md) +### [Enforce dot notation whenever possible](../recipes/codemods/cleanup/javascript/dotnotation.md) -_org.openrewrite.codemods.cleanup.javascript.ConsistentTypeSpecifierStyle_ +_org.openrewrite.codemods.cleanup.javascript.DotNotation_ -Enforce or ban the use of inline type-only markers for named imports -See rule details for [import/consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/consistent-type-specifier-style.md) +Enforce dot notation whenever possible +See [rule details](https://eslint.org/docs/latest/rules/dot-notation) #### Data tables: @@ -903,12 +1054,12 @@ See rule details for [import/consistent-type-specifier-style](https://github.com * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Ensure all imports appear before other statements](../recipes/codemods/cleanup/javascript/first.md) +### [Require the use of `===` and `!==`](../recipes/codemods/cleanup/javascript/eqeqeq.md) -_org.openrewrite.codemods.cleanup.javascript.First_ +_org.openrewrite.codemods.cleanup.javascript.Eqeqeq_ -Ensure all imports appear before other statements -See rule details for [import/first](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/first.md) +Require the use of `===` and `!==` +See [rule details](https://eslint.org/docs/latest/rules/eqeqeq) #### Data tables: @@ -916,12 +1067,12 @@ See rule details for [import/first](https://github.com/import-js/eslint-plugin-i * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce a newline after import statements](../recipes/codemods/cleanup/javascript/newlineafterimport.md) +### [Require or disallow logical assignment operator shorthand](../recipes/codemods/cleanup/javascript/logicalassignmentoperators.md) -_org.openrewrite.codemods.cleanup.javascript.NewlineAfterImport_ +_org.openrewrite.codemods.cleanup.javascript.LogicalAssignmentOperators_ -Enforce a newline after import statements -See rule details for [import/newline-after-import](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/newline-after-import.md) +Require or disallow logical assignment operator shorthand +See [rule details](https://eslint.org/docs/latest/rules/logical-assignment-operators) #### Data tables: @@ -929,12 +1080,12 @@ See rule details for [import/newline-after-import](https://github.com/import-js/ * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Forbid repeated import of the same module in multiple places](../recipes/codemods/cleanup/javascript/noduplicates.md) +### [Enforce a particular style for multiline comments](../recipes/codemods/cleanup/javascript/multilinecommentstyle.md) -_org.openrewrite.codemods.cleanup.javascript.NoDuplicates_ +_org.openrewrite.codemods.cleanup.javascript.MultilineCommentStyle_ -Forbid repeated import of the same module in multiple places -See rule details for [import/no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-duplicates.md) +Enforce a particular style for multiline comments +See [rule details](https://eslint.org/docs/latest/rules/multiline-comment-style) #### Data tables: @@ -942,12 +1093,12 @@ See rule details for [import/no-duplicates](https://github.com/import-js/eslint- * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Forbid namespace (a.k.a. "wildcard" `*`) imports.](../recipes/codemods/cleanup/javascript/nonamespace.md) +### [Disallow equal signs explicitly at the beginning of regular expressions](../recipes/codemods/cleanup/javascript/nodivregex.md) -_org.openrewrite.codemods.cleanup.javascript.NoNamespace_ +_org.openrewrite.codemods.cleanup.javascript.NoDivRegex_ -Forbid namespace (a.k.a. "wildcard" `*`) imports. -See rule details for [import/no-namespace](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/no-namespace.md) +Disallow equal signs explicitly at the beginning of regular expressions +See [rule details](https://eslint.org/docs/latest/rules/no-div-regex) #### Data tables: @@ -955,12 +1106,12 @@ See rule details for [import/no-namespace](https://github.com/import-js/eslint-p * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce a convention in module import order](../recipes/codemods/cleanup/javascript/order.md) +### [Disallow else blocks after return statements in if statements](../recipes/codemods/cleanup/javascript/noelsereturn.md) -_org.openrewrite.codemods.cleanup.javascript.Order_ +_org.openrewrite.codemods.cleanup.javascript.NoElseReturn_ -Enforce a convention in module import order -See rule details for [import/order](https://github.com/import-js/eslint-plugin-import/blob/HEAD/docs/rules/order.md) +Disallow else blocks after return statements in if statements +See [rule details](https://eslint.org/docs/latest/rules/no-else-return) #### Data tables: @@ -968,11 +1119,12 @@ See rule details for [import/order](https://github.com/import-js/eslint-plugin-i * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Recommended svelte code cleanup](../recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md) +### [Disallow unnecessary calls to `.bind()`](../recipes/codemods/cleanup/javascript/noextrabind.md) -_org.openrewrite.codemods.cleanup.svelte.RecommendedsvelteCodeCleanup_ +_org.openrewrite.codemods.cleanup.javascript.NoExtraBind_ -Collection of cleanup ESLint rules from [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte). +Disallow unnecessary calls to `.bind()` +See [rule details](https://eslint.org/docs/latest/rules/no-extra-bind) #### Data tables: @@ -980,12 +1132,12 @@ Collection of cleanup ESLint rules from [eslint-plugin-svelte](https://github.co * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [disallow dynamic slot name](../recipes/codemods/cleanup/svelte/nodynamicslotname.md) +### [Disallow unnecessary labels](../recipes/codemods/cleanup/javascript/noextralabel.md) -_org.openrewrite.codemods.cleanup.svelte.NoDynamicSlotName_ +_org.openrewrite.codemods.cleanup.javascript.NoExtraLabel_ -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/) +Disallow unnecessary labels +See [rule details](https://eslint.org/docs/latest/rules/no-extra-label) #### Data tables: @@ -993,12 +1145,12 @@ See rule details for [svelte/no-dynamic-slot-name](https://sveltejs.github.io/es * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [disallow to use of the store itself as an operand. Need to use $ prefix or get function.](../recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md) +### [Disallow shorthand type conversions](../recipes/codemods/cleanup/javascript/noimplicitcoercion.md) -_org.openrewrite.codemods.cleanup.svelte.RequireStoreReactiveAccess_ +_org.openrewrite.codemods.cleanup.javascript.NoImplicitCoercion_ -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/) +Disallow shorthand type conversions +See [rule details](https://eslint.org/docs/latest/rules/no-implicit-coercion) #### Data tables: @@ -1006,12 +1158,12 @@ See rule details for [svelte/require-store-reactive-access](https://sveltejs.git * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [disallow unnecessary mustache interpolations](../recipes/codemods/cleanup/svelte/nouselessmustaches.md) +### [Disallow if statements as the only statement in else blocks](../recipes/codemods/cleanup/javascript/nolonelyif.md) -_org.openrewrite.codemods.cleanup.svelte.NoUselessMustaches_ +_org.openrewrite.codemods.cleanup.javascript.NoLonelyIf_ -disallow unnecessary mustache interpolations -See rule details for [svelte/no-useless-mustaches](https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-mustaches/) +Disallow if statements as the only statement in else blocks +See [rule details](https://eslint.org/docs/latest/rules/no-lonely-if) #### Data tables: @@ -1019,12 +1171,12 @@ See rule details for [svelte/no-useless-mustaches](https://sveltejs.github.io/es * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce the location of first attribute](../recipes/codemods/cleanup/svelte/firstattributelinebreak.md) +### [Disallow initializing variables to undefined](../recipes/codemods/cleanup/javascript/noundefinit.md) -_org.openrewrite.codemods.cleanup.svelte.FirstAttributeLinebreak_ +_org.openrewrite.codemods.cleanup.javascript.NoUndefInit_ -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/) +Disallow initializing variables to undefined +See [rule details](https://eslint.org/docs/latest/rules/no-undef-init) #### Data tables: @@ -1032,12 +1184,12 @@ See rule details for [svelte/first-attribute-linebreak](https://sveltejs.github. * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [require or disallow a space before tag's closing brackets](../recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md) +### [Disallow ternary operators when simpler alternatives exist](../recipes/codemods/cleanup/javascript/nounneededternary.md) -_org.openrewrite.codemods.cleanup.svelte.HtmlClosingBracketSpacing_ +_org.openrewrite.codemods.cleanup.javascript.NoUnneededTernary_ -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/) +Disallow ternary operators when simpler alternatives exist +See [rule details](https://eslint.org/docs/latest/rules/no-unneeded-ternary) #### Data tables: @@ -1045,12 +1197,12 @@ See rule details for [svelte/html-closing-bracket-spacing](https://sveltejs.gith * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce quotes style of HTML attributes](../recipes/codemods/cleanup/svelte/htmlquotes.md) +### [Disallow unnecessary computed property keys in objects and classes](../recipes/codemods/cleanup/javascript/nouselesscomputedkey.md) -_org.openrewrite.codemods.cleanup.svelte.HtmlQuotes_ +_org.openrewrite.codemods.cleanup.javascript.NoUselessComputedKey_ -enforce quotes style of HTML attributes -See rule details for [svelte/html-quotes](https://sveltejs.github.io/eslint-plugin-svelte/rules/html-quotes/) +Disallow unnecessary computed property keys in objects and classes +See [rule details](https://eslint.org/docs/latest/rules/no-useless-computed-key) #### Data tables: @@ -1058,12 +1210,12 @@ See rule details for [svelte/html-quotes](https://sveltejs.github.io/eslint-plug * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce self-closing style](../recipes/codemods/cleanup/svelte/htmlselfclosing.md) +### [Disallow renaming import, export, and destructured assignments to the same name](../recipes/codemods/cleanup/javascript/nouselessrename.md) -_org.openrewrite.codemods.cleanup.svelte.HtmlSelfClosing_ +_org.openrewrite.codemods.cleanup.javascript.NoUselessRename_ -enforce self-closing style -See rule details for [svelte/html-self-closing](https://sveltejs.github.io/eslint-plugin-svelte/rules/html-self-closing/) +Disallow renaming import, export, and destructured assignments to the same name +See [rule details](https://eslint.org/docs/latest/rules/no-useless-rename) #### Data tables: @@ -1071,12 +1223,12 @@ See rule details for [svelte/html-self-closing](https://sveltejs.github.io/eslin * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce consistent indentation](../recipes/codemods/cleanup/svelte/indent.md) +### [Disallow redundant return statements](../recipes/codemods/cleanup/javascript/nouselessreturn.md) -_org.openrewrite.codemods.cleanup.svelte.Indent_ +_org.openrewrite.codemods.cleanup.javascript.NoUselessReturn_ -enforce consistent indentation -See rule details for [svelte/indent](https://sveltejs.github.io/eslint-plugin-svelte/rules/indent/) +Disallow redundant return statements +See [rule details](https://eslint.org/docs/latest/rules/no-useless-return) #### Data tables: @@ -1084,12 +1236,12 @@ See rule details for [svelte/indent](https://sveltejs.github.io/eslint-plugin-sv * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce the maximum number of attributes per line](../recipes/codemods/cleanup/svelte/maxattributesperline.md) +### [Require `let` or `const` instead of `var`](../recipes/codemods/cleanup/javascript/novar.md) -_org.openrewrite.codemods.cleanup.svelte.MaxAttributesPerLine_ +_org.openrewrite.codemods.cleanup.javascript.NoVar_ -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/) +Require `let` or `const` instead of `var` +See [rule details](https://eslint.org/docs/latest/rules/no-var) #### Data tables: @@ -1097,12 +1249,12 @@ See rule details for [svelte/max-attributes-per-line](https://sveltejs.github.io * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce unified spacing in mustache](../recipes/codemods/cleanup/svelte/mustachespacing.md) +### [Require or disallow method and property shorthand syntax for object literals](../recipes/codemods/cleanup/javascript/objectshorthand.md) -_org.openrewrite.codemods.cleanup.svelte.MustacheSpacing_ +_org.openrewrite.codemods.cleanup.javascript.ObjectShorthand_ -enforce unified spacing in mustache -See rule details for [svelte/mustache-spacing](https://sveltejs.github.io/eslint-plugin-svelte/rules/mustache-spacing/) +Require or disallow method and property shorthand syntax for object literals +See [rule details](https://eslint.org/docs/latest/rules/object-shorthand) #### Data tables: @@ -1110,12 +1262,12 @@ See rule details for [svelte/mustache-spacing](https://sveltejs.github.io/eslint * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [disallow spaces around equal signs in attribute](../recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md) +### [Enforce variables to be declared either together or separately in functions](../recipes/codemods/cleanup/javascript/onevar.md) -_org.openrewrite.codemods.cleanup.svelte.NoSpacesAroundEqualSignsInAttribute_ +_org.openrewrite.codemods.cleanup.javascript.OneVar_ -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/) +Enforce variables to be declared either together or separately in functions +See [rule details](https://eslint.org/docs/latest/rules/one-var) #### Data tables: @@ -1123,12 +1275,12 @@ See rule details for [svelte/no-spaces-around-equal-signs-in-attribute](https:// * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [require class directives instead of ternary expressions](../recipes/codemods/cleanup/svelte/preferclassdirective.md) +### [Require or disallow assignment operator shorthand where possible](../recipes/codemods/cleanup/javascript/operatorassignment.md) -_org.openrewrite.codemods.cleanup.svelte.PreferClassDirective_ +_org.openrewrite.codemods.cleanup.javascript.OperatorAssignment_ -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/) +Require or disallow assignment operator shorthand where possible +See [rule details](https://eslint.org/docs/latest/rules/operator-assignment) #### Data tables: @@ -1136,12 +1288,12 @@ See rule details for [svelte/prefer-class-directive](https://sveltejs.github.io/ * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [require style directives instead of style attribute](../recipes/codemods/cleanup/svelte/preferstyledirective.md) +### [Require using arrow functions for callbacks](../recipes/codemods/cleanup/javascript/preferarrowcallback.md) -_org.openrewrite.codemods.cleanup.svelte.PreferStyleDirective_ +_org.openrewrite.codemods.cleanup.javascript.PreferArrowCallback_ -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/) +Require using arrow functions for callbacks +See [rule details](https://eslint.org/docs/latest/rules/prefer-arrow-callback) #### Data tables: @@ -1149,12 +1301,12 @@ See rule details for [svelte/prefer-style-directive](https://sveltejs.github.io/ * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce use of shorthand syntax in attribute](../recipes/codemods/cleanup/svelte/shorthandattribute.md) +### [Require const declarations for variables that are never reassigned after declared](../recipes/codemods/cleanup/javascript/preferconst.md) -_org.openrewrite.codemods.cleanup.svelte.ShorthandAttribute_ +_org.openrewrite.codemods.cleanup.javascript.PreferConst_ -enforce use of shorthand syntax in attribute -See rule details for [svelte/shorthand-attribute](https://sveltejs.github.io/eslint-plugin-svelte/rules/shorthand-attribute/) +Require const declarations for variables that are never reassigned after declared +See [rule details](https://eslint.org/docs/latest/rules/prefer-const) #### Data tables: @@ -1162,12 +1314,12 @@ See rule details for [svelte/shorthand-attribute](https://sveltejs.github.io/esl * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce use of shorthand syntax in directives](../recipes/codemods/cleanup/svelte/shorthanddirective.md) +### [Require destructuring from arrays and/or objects](../recipes/codemods/cleanup/javascript/preferdestructuring.md) -_org.openrewrite.codemods.cleanup.svelte.ShorthandDirective_ +_org.openrewrite.codemods.cleanup.javascript.PreferDestructuring_ -enforce use of shorthand syntax in directives -See rule details for [svelte/shorthand-directive](https://sveltejs.github.io/eslint-plugin-svelte/rules/shorthand-directive/) +Require destructuring from arrays and/or objects +See [rule details](https://eslint.org/docs/latest/rules/prefer-destructuring) #### Data tables: @@ -1175,12 +1327,12 @@ See rule details for [svelte/shorthand-directive](https://sveltejs.github.io/esl * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce order of attributes](../recipes/codemods/cleanup/svelte/sortattributes.md) +### [Disallow the use of `Math.pow` in favor of the ** operator](../recipes/codemods/cleanup/javascript/preferexponentiationoperator.md) -_org.openrewrite.codemods.cleanup.svelte.SortAttributes_ +_org.openrewrite.codemods.cleanup.javascript.PreferExponentiationOperator_ -enforce order of attributes -See rule details for [svelte/sort-attributes](https://sveltejs.github.io/eslint-plugin-svelte/rules/sort-attributes/) +Disallow the use of `Math.pow` in favor of the ** operator +See [rule details](https://eslint.org/docs/latest/rules/prefer-exponentiation-operator) #### Data tables: @@ -1188,12 +1340,12 @@ See rule details for [svelte/sort-attributes](https://sveltejs.github.io/eslint- * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [enforce consistent spacing after the in a HTML comment](../recipes/codemods/cleanup/svelte/spacedhtmlcomment.md) +### [Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals](../recipes/codemods/cleanup/javascript/prefernumericliterals.md) -_org.openrewrite.codemods.cleanup.svelte.SpacedHtmlComment_ +_org.openrewrite.codemods.cleanup.javascript.PreferNumericLiterals_ -enforce consistent spacing after the in a HTML comment -See rule details for [svelte/spaced-html-comment](https://sveltejs.github.io/eslint-plugin-svelte/rules/spaced-html-comment/) +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) #### Data tables: @@ -1201,11 +1353,12 @@ See rule details for [svelte/spaced-html-comment](https://sveltejs.github.io/esl * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Recommended Storybook code cleanup](../recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md) +### [Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn(`)](../recipes/codemods/cleanup/javascript/preferobjecthasown.md) -_org.openrewrite.codemods.cleanup.storybook.RecommendedStorybookCodeCleanup_ +_org.openrewrite.codemods.cleanup.javascript.PreferObjectHasOwn_ -Collection of cleanup ESLint rules from [eslint-plugin-storybook](https://github.com/storybookjs/eslint-plugin-storybook#readme). +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) #### Data tables: @@ -1213,12 +1366,12 @@ Collection of cleanup ESLint rules from [eslint-plugin-storybook](https://github * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Interactions should be awaited](../recipes/codemods/cleanup/storybook/awaitinteractions.md) +### [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) -_org.openrewrite.codemods.cleanup.storybook.AwaitInteractions_ +_org.openrewrite.codemods.cleanup.javascript.PreferObjectSpread_ -Interactions should be awaited -See rule details for [storybook/await-interactions](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/await-interactions.md) +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) #### Data tables: @@ -1226,12 +1379,12 @@ See rule details for [storybook/await-interactions](https://github.com/storybook * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Story files should have a default export](../recipes/codemods/cleanup/storybook/defaultexports.md) +### [Require template literals instead of string concatenation](../recipes/codemods/cleanup/javascript/prefertemplate.md) -_org.openrewrite.codemods.cleanup.storybook.DefaultExports_ +_org.openrewrite.codemods.cleanup.javascript.PreferTemplate_ -Story files should have a default export -See rule details for [storybook/default-exports](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/default-exports.md) +Require template literals instead of string concatenation +See [rule details](https://eslint.org/docs/latest/rules/prefer-template) #### Data tables: @@ -1239,12 +1392,12 @@ See rule details for [storybook/default-exports](https://github.com/storybookjs/ * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Deprecated hierarchy separator in title property](../recipes/codemods/cleanup/storybook/hierarchyseparator.md) +### [Enforce sorted import declarations within modules](../recipes/codemods/cleanup/javascript/sortimports.md) -_org.openrewrite.codemods.cleanup.storybook.HierarchySeparator_ +_org.openrewrite.codemods.cleanup.javascript.SortImports_ -Deprecated hierarchy separator in title property -See rule details for [storybook/hierarchy-separator](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/hierarchy-separator.md) +Enforce sorted import declarations within modules +See [rule details](https://eslint.org/docs/latest/rules/sort-imports) #### Data tables: @@ -1252,12 +1405,12 @@ See rule details for [storybook/hierarchy-separator](https://github.com/storyboo * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [A story should not have a redundant name property](../recipes/codemods/cleanup/storybook/noredundantstoryname.md) +### [Require variables within the same declaration block to be sorted](../recipes/codemods/cleanup/javascript/sortvars.md) -_org.openrewrite.codemods.cleanup.storybook.NoRedundantStoryName_ +_org.openrewrite.codemods.cleanup.javascript.SortVars_ -A story should not have a redundant name property -See rule details for [storybook/no-redundant-story-name](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md) +Require variables within the same declaration block to be sorted +See [rule details](https://eslint.org/docs/latest/rules/sort-vars) #### Data tables: @@ -1265,12 +1418,12 @@ See rule details for [storybook/no-redundant-story-name](https://github.com/stor * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Do not define a title in meta](../recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md) +### [Require or disallow strict mode directives](../recipes/codemods/cleanup/javascript/strict.md) -_org.openrewrite.codemods.cleanup.storybook.NoTitlePropertyInMeta_ +_org.openrewrite.codemods.cleanup.javascript.Strict_ -Do not define a title in meta -See rule details for [storybook/no-title-property-in-meta](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-title-property-in-meta.md) +Require or disallow strict mode directives +See [rule details](https://eslint.org/docs/latest/rules/strict) #### Data tables: @@ -1278,12 +1431,12 @@ See rule details for [storybook/no-title-property-in-meta](https://github.com/st * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Stories should use PascalCase](../recipes/codemods/cleanup/storybook/preferpascalcase.md) +### [Require or disallow "Yoda" conditions](../recipes/codemods/cleanup/javascript/yoda.md) -_org.openrewrite.codemods.cleanup.storybook.PreferPascalCase_ +_org.openrewrite.codemods.cleanup.javascript.Yoda_ -Stories should use PascalCase -See rule details for [storybook/prefer-pascal-case](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/prefer-pascal-case.md) +Require or disallow "Yoda" conditions +See [rule details](https://eslint.org/docs/latest/rules/yoda) #### Data tables: @@ -1291,12 +1444,12 @@ See rule details for [storybook/prefer-pascal-case](https://github.com/storybook * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Use expect from @storybook/jest](../recipes/codemods/cleanup/storybook/usestorybookexpect.md) +### [Require or disallow Unicode byte order mark (BOM)](../recipes/codemods/cleanup/javascript/unicodebom.md) -_org.openrewrite.codemods.cleanup.storybook.UseStorybookExpect_ +_org.openrewrite.codemods.cleanup.javascript.UnicodeBom_ -Use expect from @storybook/jest -See rule details for [storybook/use-storybook-expect](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-expect.md) +Require or disallow Unicode byte order mark (BOM) +See [rule details](https://eslint.org/docs/latest/rules/unicode-bom) #### Data tables: @@ -1304,12 +1457,11 @@ See rule details for [storybook/use-storybook-expect](https://github.com/storybo * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Do not use testing-library directly on stories](../recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md) +### [Recommended vue code cleanup](../recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md) -_org.openrewrite.codemods.cleanup.storybook.UseStorybookTestingLibrary_ +_org.openrewrite.codemods.cleanup.vue.RecommendedVueCodeCleanup_ -Do not use testing-library directly on stories -See rule details for [storybook/use-storybook-testing-library](https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-testing-library.md) +Collection of cleanup ESLint rules from [eslint-plugin-vue](https://eslint.vuejs.org/). #### Data tables: @@ -1317,12 +1469,12 @@ See rule details for [storybook/use-storybook-testing-library](https://github.co * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Improve regexes by making them shorter, consistent, and safer.](../recipes/codemods/cleanup/javascript/betterregex.md) +### [Enforce order of attributes](../recipes/codemods/cleanup/vue/attributesorder.md) -_org.openrewrite.codemods.cleanup.javascript.BetterRegex_ +_org.openrewrite.codemods.cleanup.vue.AttributesOrder_ -Improve regexes by making them shorter, consistent, and safer. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/better-regex.md) +Enforce order of attributes +See rule details for [vue/attributes-order](https://eslint.vuejs.org/rules/attributes-order.html) #### Data tables: @@ -1330,12 +1482,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce a specific parameter name in catch clauses.](../recipes/codemods/cleanup/javascript/catcherrorname.md) +### [Enforce order of component top-level elements](../recipes/codemods/cleanup/vue/componenttagsorder.md) -_org.openrewrite.codemods.cleanup.javascript.CatchErrorName_ +_org.openrewrite.codemods.cleanup.vue.ComponentTagsOrder_ -Enforce a specific parameter name in catch clauses. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/catch-error-name.md) +Enforce order of component top-level elements +See rule details for [vue/component-tags-order](https://eslint.vuejs.org/rules/component-tags-order.html) #### Data tables: @@ -1343,12 +1495,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Use destructured variables over properties.](../recipes/codemods/cleanup/javascript/consistentdestructuring.md) +### [Enforce order of properties in components](../recipes/codemods/cleanup/vue/orderincomponents.md) -_org.openrewrite.codemods.cleanup.javascript.ConsistentDestructuring_ +_org.openrewrite.codemods.cleanup.vue.OrderInComponents_ -Use destructured variables over properties. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-destructuring.md) +Enforce order of properties in components +See rule details for [vue/order-in-components](https://eslint.vuejs.org/rules/order-in-components.html) #### Data tables: @@ -1356,12 +1508,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce correct `Error` subclassing.](../recipes/codemods/cleanup/javascript/customerrordefinition.md) +### [Disallow usage of this in template](../recipes/codemods/cleanup/vue/thisintemplate.md) -_org.openrewrite.codemods.cleanup.javascript.CustomErrorDefinition_ +_org.openrewrite.codemods.cleanup.vue.ThisInTemplate_ -Enforce correct `Error` subclassing. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/custom-error-definition.md) +Disallow usage of this in template +See rule details for [vue/this-in-template](https://eslint.vuejs.org/rules/this-in-template.html) #### Data tables: @@ -1369,12 +1521,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce no spaces between braces.](../recipes/codemods/cleanup/javascript/emptybracespaces.md) +### [Enforce order of component top-level elements](../recipes/codemods/cleanup/vue/blockorder.md) -_org.openrewrite.codemods.cleanup.javascript.EmptyBraceSpaces_ +_org.openrewrite.codemods.cleanup.vue.BlockOrder_ -Enforce no spaces between braces. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/empty-brace-spaces.md) +Enforce order of component top-level elements +See rule details for [vue/block-order](https://eslint.vuejs.org/rules/block-order.html) #### Data tables: @@ -1382,12 +1534,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require escape sequences to use uppercase values.](../recipes/codemods/cleanup/javascript/escapecase.md) +### [Enforce line breaks after opening and before closing block-level tags](../recipes/codemods/cleanup/vue/blocktagnewline.md) -_org.openrewrite.codemods.cleanup.javascript.EscapeCase_ +_org.openrewrite.codemods.cleanup.vue.BlockTagNewline_ -Require escape sequences to use uppercase values. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/escape-case.md) +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) #### Data tables: @@ -1395,12 +1547,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce explicitly comparing the length or size property of a value.](../recipes/codemods/cleanup/javascript/explicitlengthcheck.md) +### [Enforce specific casing for the component naming style in template](../recipes/codemods/cleanup/vue/componentnameintemplatecasing.md) -_org.openrewrite.codemods.cleanup.javascript.ExplicitLengthCheck_ +_org.openrewrite.codemods.cleanup.vue.ComponentNameInTemplateCasing_ -Enforce explicitly comparing the length or size property of a value. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/explicit-length-check.md) +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) #### Data tables: @@ -1408,12 +1560,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol`, and `BigInt`.](../recipes/codemods/cleanup/javascript/newforbuiltins.md) +### [Enforce the casing of component name in components options](../recipes/codemods/cleanup/vue/componentoptionsnamecasing.md) -_org.openrewrite.codemods.cleanup.javascript.NewForBuiltins_ +_org.openrewrite.codemods.cleanup.vue.ComponentOptionsNameCasing_ -Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol`, and `BigInt`. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/new-for-builtins.md) +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) #### Data tables: @@ -1421,12 +1573,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Prefer `for…of` over the `forEach` method.](../recipes/codemods/cleanup/javascript/noarrayforeach.md) +### [Enforce order of defineEmits and defineProps compiler macros](../recipes/codemods/cleanup/vue/definemacrosorder.md) -_org.openrewrite.codemods.cleanup.javascript.NoArrayForEach_ +_org.openrewrite.codemods.cleanup.vue.DefineMacrosOrder_ -Prefer `for…of` over the `forEach` method. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-for-each.md) +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) #### Data tables: @@ -1434,12 +1586,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow using the `this` argument in array methods.](../recipes/codemods/cleanup/javascript/noarraymethodthisargument.md) +### [Enforce unified line brake in HTML comments](../recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md) -_org.openrewrite.codemods.cleanup.javascript.NoArrayMethodThisArgument_ +_org.openrewrite.codemods.cleanup.vue.HtmlCommentContentNewline_ -Disallow using the `this` argument in array methods. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-method-this-argument.md) +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) #### Data tables: @@ -1447,12 +1599,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce combining multiple `Array#push()` into one call.](../recipes/codemods/cleanup/javascript/noarraypushpush.md) +### [Enforce unified spacing in HTML comments](../recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md) -_org.openrewrite.codemods.cleanup.javascript.NoArrayPushPush_ +_org.openrewrite.codemods.cleanup.vue.HtmlCommentContentSpacing_ -Enforce combining multiple `Array#push()` into one call. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-push-push.md) +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) #### Data tables: @@ -1460,12 +1612,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow member access from `await` expression.](../recipes/codemods/cleanup/javascript/noawaitexpressionmember.md) +### [Enforce consistent indentation in HTML comments](../recipes/codemods/cleanup/vue/htmlcommentindent.md) -_org.openrewrite.codemods.cleanup.javascript.NoAwaitExpressionMember_ +_org.openrewrite.codemods.cleanup.vue.HtmlCommentIndent_ -Disallow member access from `await` expression. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-await-expression-member.md) +Enforce consistent indentation in HTML comments +See rule details for [vue/html-comment-indent](https://eslint.vuejs.org/rules/html-comment-indent.html) #### Data tables: @@ -1473,12 +1625,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Do not use leading/trailing space between `console.log` parameters.](../recipes/codemods/cleanup/javascript/noconsolespaces.md) +### [Enforce new lines between multi-line properties in Vue components](../recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md) -_org.openrewrite.codemods.cleanup.javascript.NoConsoleSpaces_ +_org.openrewrite.codemods.cleanup.vue.NewLineBetweenMultiLineProperty_ -Do not use leading/trailing space between `console.log` parameters. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-console-spaces.md) +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) #### Data tables: @@ -1486,12 +1638,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Do not use a `for` loop that can be replaced with a `for-of` loop.](../recipes/codemods/cleanup/javascript/noforloop.md) +### [Enforce Promise or callback style in nextTick](../recipes/codemods/cleanup/vue/nexttickstyle.md) -_org.openrewrite.codemods.cleanup.javascript.NoForLoop_ +_org.openrewrite.codemods.cleanup.vue.NextTickStyle_ -Do not use a `for` loop that can be replaced with a `for-of` loop. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-for-loop.md) +Enforce Promise or callback style in nextTick +See rule details for [vue/next-tick-style](https://eslint.vuejs.org/rules/next-tick-style.html) #### Data tables: @@ -1499,12 +1651,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce the use of Unicode escapes instead of hexadecimal escapes.](../recipes/codemods/cleanup/javascript/nohexescape.md) +### [Enforce props with default values to be optional](../recipes/codemods/cleanup/vue/norequiredpropwithdefault.md) -_org.openrewrite.codemods.cleanup.javascript.NoHexEscape_ +_org.openrewrite.codemods.cleanup.vue.NoRequiredPropWithDefault_ -Enforce the use of Unicode escapes instead of hexadecimal escapes. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-hex-escape.md) +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) #### Data tables: @@ -1512,12 +1664,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Require `Array.isArray()` instead of `instanceof Array`.](../recipes/codemods/cleanup/javascript/noinstanceofarray.md) +### [Disallow unsupported Vue.js syntax on the specified version](../recipes/codemods/cleanup/vue/nounsupportedfeatures.md) -_org.openrewrite.codemods.cleanup.javascript.NoInstanceofArray_ +_org.openrewrite.codemods.cleanup.vue.NoUnsupportedFeatures_ -Require `Array.isArray()` instead of `instanceof Array`. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-instanceof-array.md) +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) #### Data tables: @@ -1525,12 +1677,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow `if` statements as the only statement in `if` blocks without `else`.](../recipes/codemods/cleanup/javascript/nolonelyif.md) +### [Disallow unnecessary mustache interpolations](../recipes/codemods/cleanup/vue/nouselessmustaches.md) -_org.openrewrite.codemods.cleanup.javascript.NoLonelyIf_ +_org.openrewrite.codemods.cleanup.vue.NoUselessMustaches_ -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) +Disallow unnecessary mustache interpolations +See rule details for [vue/no-useless-mustaches](https://eslint.vuejs.org/rules/no-useless-mustaches.html) #### Data tables: @@ -1538,12 +1690,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow negated conditions.](../recipes/codemods/cleanup/javascript/nonegatedcondition.md) +### [Disallow unnecessary v-bind directives](../recipes/codemods/cleanup/vue/nouselessvbind.md) -_org.openrewrite.codemods.cleanup.javascript.NoNegatedCondition_ +_org.openrewrite.codemods.cleanup.vue.NoUselessVBind_ -Disallow negated conditions. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negated-condition.md) +Disallow unnecessary v-bind directives +See rule details for [vue/no-useless-v-bind](https://eslint.vuejs.org/rules/no-useless-v-bind.html) #### Data tables: @@ -1551,12 +1703,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow nested ternary expressions.](../recipes/codemods/cleanup/javascript/nonestedternary.md) +### [Require or disallow padding lines between blocks](../recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md) -_org.openrewrite.codemods.cleanup.javascript.NoNestedTernary_ +_org.openrewrite.codemods.cleanup.vue.PaddingLineBetweenBlocks_ -Disallow nested ternary expressions. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-nested-ternary.md) +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) #### Data tables: @@ -1564,12 +1716,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow `new Array()`.](../recipes/codemods/cleanup/javascript/nonewarray.md) +### [Require or disallow newlines between sibling tags in template](../recipes/codemods/cleanup/vue/paddinglinebetweentags.md) -_org.openrewrite.codemods.cleanup.javascript.NoNewArray_ +_org.openrewrite.codemods.cleanup.vue.PaddingLineBetweenTags_ -Disallow `new Array()`. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-new-array.md) +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) #### Data tables: @@ -1577,12 +1729,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.](../recipes/codemods/cleanup/javascript/nonewbuffer.md) +### [Require or disallow padding lines in component definition](../recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md) -_org.openrewrite.codemods.cleanup.javascript.NoNewBuffer_ +_org.openrewrite.codemods.cleanup.vue.PaddingLinesInComponentDefinition_ -Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-new-buffer.md) +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) #### Data tables: @@ -1590,12 +1742,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow the use of the `null` literal.](../recipes/codemods/cleanup/javascript/nonull.md) +### [Enforce use of defineOptions instead of default export.](../recipes/codemods/cleanup/vue/preferdefineoptions.md) -_org.openrewrite.codemods.cleanup.javascript.NoNull_ +_org.openrewrite.codemods.cleanup.vue.PreferDefineOptions_ -Disallow the use of the `null` literal. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-null.md) +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) #### Data tables: @@ -1603,12 +1755,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow classes that only have static members.](../recipes/codemods/cleanup/javascript/nostaticonlyclass.md) +### [Require static class names in template to be in a separate class attribute](../recipes/codemods/cleanup/vue/preferseparatestaticclass.md) -_org.openrewrite.codemods.cleanup.javascript.NoStaticOnlyClass_ +_org.openrewrite.codemods.cleanup.vue.PreferSeparateStaticClass_ -Disallow classes that only have static members. -See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-static-only-class.md) +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) #### Data tables: @@ -1616,12 +1768,12 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma * **org.openrewrite.codemods.ESLintMessages**: *Errors and warnings as reported by ESLint.* -### [Disallow comparing `undefined` using `typeof`.](../recipes/codemods/cleanup/javascript/notypeofundefined.md) +### [Enforce consistent indentation in `