Skip to content

Commit

Permalink
Update latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-solomon committed Oct 23, 2023
1 parent 5e96298 commit db25019
Show file tree
Hide file tree
Showing 24 changed files with 95 additions and 95 deletions.
8 changes: 4 additions & 4 deletions authoring-recipes/recipe-development-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ You can import the bill of materials into either Gradle or Maven and then includ
```groovy
dependencies {
// import Rewrite's bill of materials.
implementation(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.3.1"))
implementation(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.4.0"))
// rewrite-java dependencies only necessary for Java Recipe development
implementation("org.openrewrite:rewrite-java")
Expand Down Expand Up @@ -101,7 +101,7 @@ dependencies {
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-recipe-bom</artifactId>
<version>2.3.1</version>
<version>2.4.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -281,7 +281,7 @@ Once your recipe module is published, either locally for testing or to an extern
```groovy
plugins {
id("java")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}
repositories {
Expand Down Expand Up @@ -325,7 +325,7 @@ If you run into errors when trying to publish and read your recipe locally, try
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe> [your recipe name] </recipe>
Expand Down
4 changes: 2 additions & 2 deletions authoring-recipes/recipe-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ plugins {
// ...
dependencies {
implementation(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.3.1"))
implementation(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.4.0"))
testImplementation("org.openrewrite:rewrite-test")
testImplementation("org.junit.jupiter:junit-jupiter-api:latest.release")
Expand Down Expand Up @@ -63,7 +63,7 @@ dependencies {
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-recipe-bom</artifactId>
<version>2.3.1</version>
<version>2.4.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion concepts-and-explanations/tree-visiting-printer.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This guide assumes that you:

* Are familiar with writing Java
* Have already set up your [Recipe Development Environment](/authoring-recipes/recipe-development-environment.md)
* Are using at least [OpenRewrite](https://github.com/openrewrite/rewrite) version `7.35.0` or [Rewrite-Recipe-Bom](https://github.com/openrewrite/rewrite-recipe-bom) version `2.3.1`
* Are using at least [OpenRewrite](https://github.com/openrewrite/rewrite) version `7.35.0` or [Rewrite-Recipe-Bom](https://github.com/openrewrite/rewrite-recipe-bom) version `2.4.0`

## Using TreeVisitingPrinter.printTree

Expand Down
10 changes: 5 additions & 5 deletions reference/gradle-plugin-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Apply the org.openrewrite.rewrite plugin to your build.
```groovy
plugins {
id("java")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}
rewrite {
Expand Down Expand Up @@ -70,7 +70,7 @@ The `rewrite` DSL exposes a few configuration options:
```groovy
plugins {
id("java")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}
repositories {
Expand Down Expand Up @@ -105,7 +105,7 @@ No recipe is ever run on your codebase without being explicitly activated in the

```groovy
dependencies {
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.3.1"))
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.4.0"))
rewrite("org.openrewrite.recipe:rewrite-spring")
}
```
Expand All @@ -115,7 +115,7 @@ Once a pre-packaged recipe has been added to the `rewrite` dependency configurat
```groovy
plugins {
id("java")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}
repositories {
Expand All @@ -124,7 +124,7 @@ repositories {
dependencies {
testImplementation("junit:junit:4.13")
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.3.1"))
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.4.0"))
rewrite("org.openrewrite.recipe:rewrite-testing-frameworks")
}
Expand Down
38 changes: 19 additions & 19 deletions reference/latest-versions-of-every-openrewrite-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ It is highly recommended that developers use the [rewrite-recipe-bom](https://gi

| Module | Version |
| --------------------------------------------------------------------------------------------------------------------------------| ----------|
| [**org.openrewrite:rewrite-recipe-bom**](https://github.com/openrewrite/rewrite-recipe-bom) | **2.3.1** |
| [**org.openrewrite:rewrite-maven-plugin**](https://github.com/openrewrite/rewrite-maven-plugin) | **5.8.1** |
| [**org.openrewrite:rewrite-gradle-plugin**](https://github.com/openrewrite/rewrite-gradle-plugin) | **6.3.18** |
| org.openrewrite:rewrite-groovy | 8.7.4 |
| org.openrewrite:rewrite-gradle | 8.7.4 |
| org.openrewrite:rewrite-core | 8.7.4 |
| org.openrewrite:rewrite-hcl | 8.7.4 |
| org.openrewrite:rewrite-java | 8.7.4 |
| org.openrewrite:rewrite-java-8 | 8.7.4 |
| org.openrewrite:rewrite-java-11 | 8.7.4 |
| org.openrewrite:rewrite-java-17 | 8.7.4 |
| org.openrewrite:rewrite-json | 8.7.4 |
| org.openrewrite:rewrite-maven | 8.7.4 |
| org.openrewrite:rewrite-properties | 8.7.4 |
| org.openrewrite:rewrite-protobuf | 8.7.4 |
| org.openrewrite:rewrite-xml | 8.7.4 |
| org.openrewrite:rewrite-yaml | 8.7.4 |
| org.openrewrite:rewrite-test | 8.7.4 |
| [**org.openrewrite:rewrite-recipe-bom**](https://github.com/openrewrite/rewrite-recipe-bom) | **2.4.0** |
| [**org.openrewrite:rewrite-maven-plugin**](https://github.com/openrewrite/rewrite-maven-plugin) | **5.9.1** |
| [**org.openrewrite:rewrite-gradle-plugin**](https://github.com/openrewrite/rewrite-gradle-plugin) | **6.4.0** |
| org.openrewrite:rewrite-groovy | 8.8.0 |
| org.openrewrite:rewrite-gradle | 8.8.0 |
| org.openrewrite:rewrite-core | 8.8.0 |
| org.openrewrite:rewrite-hcl | 8.8.0 |
| org.openrewrite:rewrite-java | 8.8.0 |
| org.openrewrite:rewrite-java-8 | 8.8.0 |
| org.openrewrite:rewrite-java-11 | 8.8.0 |
| org.openrewrite:rewrite-java-17 | 8.8.0 |
| org.openrewrite:rewrite-json | 8.8.0 |
| org.openrewrite:rewrite-maven | 8.8.0 |
| org.openrewrite:rewrite-properties | 8.8.0 |
| org.openrewrite:rewrite-protobuf | 8.8.0 |
| org.openrewrite:rewrite-xml | 8.8.0 |
| org.openrewrite:rewrite-yaml | 8.8.0 |
| org.openrewrite:rewrite-test | 8.8.0 |
| [org.openrewrite.recipe:rewrite-circleci](https://github.com/openrewrite/rewrite-circleci) | 2.0.5 |
| [org.openrewrite.recipe:rewrite-cloud-suitability-analyzer](https://github.com/openrewrite/rewrite-cloud-suitability-analyzer) | 2.0.5 |
| [org.openrewrite.recipe:rewrite-concourse](https://github.com/openrewrite/rewrite-concourse) | 2.0.5 |
Expand All @@ -34,7 +34,7 @@ It is highly recommended that developers use the [rewrite-recipe-bom](https://gi
| [org.openrewrite.recipe:rewrite-java-security](https://github.com/openrewrite/rewrite-java-security) | 2.0.5 |
| [org.openrewrite.recipe:rewrite-jenkins](https://github.com/openrewrite/rewrite-jenkins) | 0.2.3 |
| [org.openrewrite.recipe:rewrite-jhipster](https://github.com/openrewrite/rewrite-jhipster) | 2.0.5 |
| [org.openrewrite.recipe:rewrite-kotlin](https://github.com/openrewrite/rewrite-kotlin) | 1.4.15 |
| [org.openrewrite.recipe:rewrite-kotlin](https://github.com/openrewrite/rewrite-kotlin) | 1.5.0 |
| [org.openrewrite.recipe:rewrite-kubernetes](https://github.com/openrewrite/rewrite-kubernetes) | 2.0.5 |
| [org.openrewrite.recipe:rewrite-liberty](https://github.com/openrewrite/rewrite-liberty) | 1.0.2 |
| [org.openrewrite.recipe:rewrite-logging-frameworks](https://github.com/openrewrite/rewrite-logging-frameworks) | 2.0.5 |
Expand Down
2 changes: 1 addition & 1 deletion reference/rewrite-maven-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Note. the plugin scans the `compile`, `provided`, and `test` scopes for visitors
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.Spring</recipe>
Expand Down
2 changes: 1 addition & 1 deletion reference/snapshot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To utilize snapshot versions in Maven projects, you'll need to make the followin
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1-SNAPSHOT</version>
<version>5.9.1-SNAPSHOT</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.github.SetupJavaUpgradeJavaVersion</recipe>
Expand Down
22 changes: 11 additions & 11 deletions running-recipes/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Add a new `<plugin>` in the `<plugins>` section of your `pom.xml` that looks lik
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
</plugin>
```
{% endcode %}
Expand All @@ -82,7 +82,7 @@ Your file should look similar to:
plugins {
id 'java'
id 'maven-publish'
id 'org.openrewrite.rewrite' version '6.3.18'
id 'org.openrewrite.rewrite' version '6.4.0'
}
repositories {
Expand Down Expand Up @@ -144,7 +144,7 @@ Before you can run any of the recipes, you will need to update the plugin config
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.OrderImports</recipe>
Expand All @@ -161,7 +161,7 @@ Before you can run any of the recipes, you will need to update the plugin config
plugins {
id 'java'
id 'maven-publish'
id 'org.openrewrite.rewrite' version '6.3.18'
id 'org.openrewrite.rewrite' version '6.4.0'
}
rewrite {
Expand Down Expand Up @@ -258,7 +258,7 @@ If the file was created correctly, you should see `com.yourorg.VetToVeterinary`
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.OrderImports</recipe>
Expand All @@ -278,7 +278,7 @@ If the file was created correctly, you should see `com.yourorg.VetToVeterinary`
plugins {
id 'java'
id 'maven-publish'
id 'org.openrewrite.rewrite' version '6.3.18'
id 'org.openrewrite.rewrite' version '6.4.0'
}
rewrite {
Expand Down Expand Up @@ -351,7 +351,7 @@ After doing that, your `pom.xml` file should look similar to this:
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.OrderImports</recipe>
Expand Down Expand Up @@ -398,7 +398,7 @@ Presuming you chose to use the `rewrite-recipe-bom`, your Gradle setup should lo
plugins {
id 'java'
id 'maven-publish'
id 'org.openrewrite.rewrite' version '6.3.18'
id 'org.openrewrite.rewrite' version '6.4.0'
}
rewrite {
Expand All @@ -410,7 +410,7 @@ rewrite {
}
dependencies {
rewrite platform('org.openrewrite.recipe:rewrite-recipe-bom:2.3.1')
rewrite platform('org.openrewrite.recipe:rewrite-recipe-bom:2.4.0')
rewrite('org.openrewrite.recipe:rewrite-spring')
// Other project dependencies
Expand All @@ -425,7 +425,7 @@ dependencies {
plugins {
`java-library`
`maven-publish`
id("org.openrewrite.rewrite") version "6.3.18"
id("org.openrewrite.rewrite") version "6.4.0"
}

rewrite {
Expand All @@ -437,7 +437,7 @@ rewrite {
}

dependencies {
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.3.1"))
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.4.0"))
rewrite("org.openrewrite.recipe:rewrite-spring")

// Other project dependencies
Expand Down
2 changes: 1 addition & 1 deletion running-recipes/multi-module-maven.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In the meantime, one way to work around this is to add a profile on the parent P
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.cleanup.Cleanup</recipe>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Now that a recipe named "com.yourorg.FooToBar" has been created set that recipe
```groovy
plugins {
id("java")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}

rewrite {
Expand All @@ -56,7 +56,7 @@ rewrite {
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>com.yourorg.FooToBar</recipe>
Expand Down Expand Up @@ -99,7 +99,7 @@ Now when the next version of A is published its jar will include this recipe. As
```groovy
plugins {
id("java")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}

dependencies {
Expand Down Expand Up @@ -129,7 +129,7 @@ rewrite {
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>com.yourorg.FooToBar</recipe>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If your build uses either the Gradle or Maven checkstyle plugins, then good news
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.staticanalysis.CodeCleanup</recipe>
Expand Down Expand Up @@ -55,7 +55,7 @@ If your build uses either the Gradle or Maven checkstyle plugins, then good news
plugins {
id("java")
id("checkstyle")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}
rewrite {
Expand Down Expand Up @@ -94,7 +94,7 @@ If your build does not use either of the Gradle or Maven Checkstyle plugins, you
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.staticanalysis.CodeCleanup</recipe>
Expand All @@ -121,7 +121,7 @@ If your build does not use either of the Gradle or Maven Checkstyle plugins, you
```groovy
plugins {
id("java")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}
rewrite {
Expand Down Expand Up @@ -162,7 +162,7 @@ In Gradle, [Task.dependsOn()](https://docs.gradle.org/current/javadoc/org/gradle
plugins {
id("java")
id("checkstyle")
id("org.openrewrite.rewrite") version("6.3.18")
id("org.openrewrite.rewrite") version("6.4.0")
}
rewrite {
Expand Down Expand Up @@ -204,7 +204,7 @@ In Maven, the ordering of goals depends first on which phase of the [Build Lifec
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.staticanalysis.CodeCleanup</recipe>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Add the rewrite-maven-plugin to the pom.xml:
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>com.yourorg.LogbackInsight</recipe>
Expand Down Expand Up @@ -104,7 +104,7 @@ And set the `com.yourorg.UseSlf4jSimple` recipe as active in your pom.xml:
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<configuration>
<activeRecipes>
<recipe>com.yourorg.UseSlf4jSimple</recipe>
Expand Down
Loading

0 comments on commit db25019

Please sign in to comment.