Skip to content

Commit

Permalink
Add version 1 DevCenter configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pstreef committed Sep 23, 2024
1 parent cb86089 commit 7515890
Showing 1 changed file with 143 additions and 0 deletions.
143 changes: 143 additions & 0 deletions src/main/resources/devcenter.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[
{
"devCenter": {
"version" : 1,
"upgradesAndMigrations": [
{
"title": "Spring boot",
Expand Down Expand Up @@ -64,6 +65,26 @@
}
]
}
},
{
"name": "Completed",
"recipe": {
"recipeId": "org.openrewrite.java.dependencies.search.FindMinimumDependencyVersion",
"options": [
{
"name": "groupIdPattern",
"value": "org.springframework.boot"
},
{
"name": "artifactIdPattern",
"value": "spring-boot"
},
{
"name": "version",
"value": "3.3.3-4.0.0"
}
]
}
}
],
"fix": {
Expand Down Expand Up @@ -108,6 +129,18 @@
}
]
}
},
{
"name": "Java 21+",
"recipe": {
"recipeId": "org.openrewrite.java.search.HasMinimumJavaVersion",
"options": [
{
"name": "version",
"value": "21-100"
}
]
}
}
],
"fix": {
Expand All @@ -128,6 +161,18 @@
}
]
}
},
{
"name": "JUnit 5",
"recipe": {
"recipeId": "org.openrewrite.java.search.FindAnnotations",
"options": [
{
"name": "annotationPattern",
"value": "@org.junit.jupiter.api.Test"
}
]
}
}
],
"fix": {
Expand Down Expand Up @@ -165,6 +210,7 @@
},
{
"devCenter": {
"version" : 1,
"upgradesAndMigrations": [
{
"title": "Spring boot",
Expand Down Expand Up @@ -228,6 +274,26 @@
}
]
}
},
{
"name": "Completed",
"recipe": {
"recipeId": "org.openrewrite.java.dependencies.search.FindMinimumDependencyVersion",
"options": [
{
"name": "groupIdPattern",
"value": "org.springframework.boot"
},
{
"name": "artifactIdPattern",
"value": "spring-boot"
},
{
"name": "version",
"value": "3.3.3-4.0.0"
}
]
}
}
],
"fix": {
Expand Down Expand Up @@ -272,6 +338,18 @@
}
]
}
},
{
"name": "Java 21+",
"recipe": {
"recipeId": "org.openrewrite.java.search.HasMinimumJavaVersion",
"options": [
{
"name": "version",
"value": "21-100"
}
]
}
}
],
"fix": {
Expand All @@ -292,6 +370,18 @@
}
]
}
},
{
"name": "JUnit 5",
"recipe": {
"recipeId": "org.openrewrite.java.search.FindAnnotations",
"options": [
{
"name": "annotationPattern",
"value": "@org.junit.jupiter.api.Test"
}
]
}
}
],
"fix": {
Expand Down Expand Up @@ -329,6 +419,7 @@
},
{
"devCenter": {
"version" : 1,
"upgradesAndMigrations": [
{
"title": "Maven shared components",
Expand Down Expand Up @@ -372,6 +463,26 @@
}
]
}
},
{
"name": "Version 41+",
"recipe": {
"recipeId": "org.openrewrite.maven.search.ParentPomInsight",
"options": [
{
"name": "groupIdPattern",
"value": "org.apache.maven.shared"
},
{
"name": "artifactIdPattern",
"value": "maven-shared-components"
},
{
"name": "version",
"value": "41-100"
}
]
}
}
],
"fix": {
Expand Down Expand Up @@ -438,6 +549,26 @@
}
]
}
},
{
"name": "Version 41+",
"recipe": {
"recipeId": "org.openrewrite.maven.search.ParentPomInsight",
"options": [
{
"name": "groupIdPattern",
"value": "org.apache.maven.plugins"
},
{
"name": "artifactIdPattern",
"value": "maven-plugins"
},
{
"name": "version",
"value": "41-100"
}
]
}
}
],
"fix": {
Expand Down Expand Up @@ -500,6 +631,18 @@
}
]
}
},
{
"name": "Java 21+",
"recipe": {
"recipeId": "org.openrewrite.java.search.HasMinimumJavaVersion",
"options": [
{
"name": "version",
"value": "21-100"
}
]
}
}
],
"fix": {
Expand Down

0 comments on commit 7515890

Please sign in to comment.