Upgrade Recipe wrapper with AddRepository
This commit is contained in:
@@ -52,7 +52,7 @@ public class PrefsInitializer extends AbstractPreferenceInitializer {
|
||||
"org.openrewrite.java.testing.junit5.JUnit5BestPractices",
|
||||
"org.openrewrite.java.testing.junit5.JUnit4to5Migration",
|
||||
"org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_6",
|
||||
"org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0",
|
||||
"org.springframework.sts.java.spring.boot3.UpgradeSpringBoot_3_0",
|
||||
"org.rewrite.java.security.*",
|
||||
"org.springframework.rewrite.test.*",
|
||||
"rewrite.test.*"
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# Copyright 2022 the original author or authors.
|
||||
# <p>
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
# <p>
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
# <p>
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
---
|
||||
########################################################################################################################
|
||||
# SpringBoot 3_0
|
||||
type: specs.openrewrite.org/v1beta/recipe
|
||||
name: org.springframework.sts.java.spring.boot3.UpgradeSpringBoot_3_0
|
||||
displayName: Upgrade to Spring Boot 3.0 from 2.7
|
||||
description: 'Upgrade to Spring Boot 3.0 from prior 2.x version.'
|
||||
recipeList:
|
||||
- org.openrewrite.maven.AddRepository:
|
||||
id: spring-snapshots
|
||||
url: https://repo.spring.io/snapshot
|
||||
snapshotsEnabled: true
|
||||
- org.openrewrite.maven.AddRepository:
|
||||
id: spring-milestones
|
||||
url: https://repo.spring.io/milestone
|
||||
snapshotsEnabled: false
|
||||
- org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0
|
||||
---
|
||||
@@ -218,7 +218,7 @@
|
||||
"org.openrewrite.java.testing.junit5.JUnit5BestPractices",
|
||||
"org.openrewrite.java.testing.junit5.JUnit4to5Migration",
|
||||
"org.openrewrite.java.spring.boot2.UpgradeSpringBoot_2_6",
|
||||
"org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0",
|
||||
"org.springframework.sts.java.spring.boot3.UpgradeSpringBoot_3_0",
|
||||
"org.rewrite.java.security.*",
|
||||
"org.springframework.rewrite.test.*",
|
||||
"rewrite.test.*"
|
||||
|
||||
Reference in New Issue
Block a user