META-INF.rewrite.rewrite-spring-boot2.yml Maven / Gradle / Ivy
Show all versions of rewrite-spring Show documentation
#
# Copyright 2020 the original author or authors.
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#
---
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.java.spring.boot2.SpringBootServletInitializerPackage
visitors:
- org.openrewrite.java.ChangeType:
type: org.springframework.boot.web.support.SpringBootServletInitializer
targetType: org.springframework.boot.web.servlet.support.SpringBootServletInitializer
---
type: specs.openrewrite.org/v1beta/visitor
name: org.openrewrite.java.spring.boot2.UpgradeDependencies
visitors:
- org.openrewrite.maven.UpgradeDependencyVersion:
groupId: org.springframework.boot
toVersion: 2.x
- org.openrewrite.maven.UpgradeParentVersion:
groupId: org.springframework.boot
artifactId: spring-boot-starter-parent
toVersion: 2.x
- org.openrewrite.maven.UpgradeDependencyVersion:
groupId: org.mockito
toVersion: 3.x
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.SpringBoot2Migration
include:
- org.openrewrite.java.spring.boot2.ConditionalOnBeanAnyNestedCondition
- org.openrewrite.java.spring.boot2.RestTemplateBuilderRequestFactory
- org.openrewrite.java.spring.boot2.UpgradeDependencies
- org.openrewrite.java.spring.boot2.SpringBootServletInitializerPackage
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationYaml.2_0
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationProperties.2_0
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationYaml.2_1
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationProperties.2_1
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationYaml.2_2
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationProperties.2_2
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationYaml.2_3
- org.openrewrite.java.spring.boot2.config.SpringBootConfigurationProperties.2_3