All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.rewrite.java-8.yml Maven / Gradle / Ivy

There is a newer version: 0.19.0
Show newest version
#
# Copyright 2023 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/recipe name: org.openrewrite.jenkins.ModernizePluginForJava8 displayName: Modernize a Jenkins plugin to the latest versions supported by Java 8 description: >- This recipe is intended to break down the modernization of very old plugins into distinct steps. It allows modernizing all tooling up to the last versions that supported Java 8. This can then be followed by another recipe that makes the jump to Java 11. recipeList: - org.openrewrite.maven.security.UseHttpsForRepositories - org.openrewrite.jenkins.DisableLocalResolutionForParentPom - org.openrewrite.jenkins.AddPluginsBom - org.openrewrite.maven.ChangeParentPom: oldGroupId: org.jenkins-ci.plugins oldArtifactId: plugin newVersion: 4.51 allowVersionDowngrades: false - org.openrewrite.jenkins.UpgradeVersionProperty: key: jenkins.version minimumVersion: 2.346.3 - org.openrewrite.maven.RemoveRedundantDependencyVersions: onlyIfVersionsMatch: false - org.openrewrite.maven.RemoveProperty: propertyName: java.level # deprecated in 4.40 # TODO: run build and check for you-must-override-the-yarn.version-property to know if properties must be added





© 2015 - 2025 Weber Informatics LLC | Privacy Policy