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

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

There is a newer version: 3.0.1
Show newest version
#
# Copyright 2024 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.java.migrate.IBMSemeru displayName: Migrate to IBM Semeru Runtimes description: >- This recipe will apply changes commonly needed when upgrading Java versions. The solutions provided in this list are solutions only available in IBM Semeru Runtimes. tags: - java11 recipeList: - org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalWwwProtocolHttpsHandler - org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalWwwProtocol - org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalSslProvider - org.openrewrite.java.migrate.JREDoNotUseSunNetSslAPIs - org.openrewrite.java.migrate.RemovedJavaXMLWSModuleProvided - org.openrewrite.java.migrate.RemovedJaxBModuleProvided --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.IBMJDKtoOracleJDK displayName: Migrate from IBM Runtimes to Oracle Runtimes description: >- This recipe will apply changes commonly needed when upgrading Java versions. The solutions provided in this list are solutions necessary for migrating from IBM Runtimes to Oracle Runtimes. tags: - java11 recipeList: - org.openrewrite.java.migrate.Krb5LoginModuleClass --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalWwwProtocolHttpsHandler displayName: Use `com.ibm.net.ssl.www2.protocol.https.Handler` instead of `com.sun.net.ssl.internal.www.protocol.https.Handler` description: Do not use the `com.sun.net.ssl.internal.www.protocol.https.Handler` class. tags: - java11 recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: com.sun.net.ssl.internal.www.protocol.https.Handler newFullyQualifiedTypeName: com.ibm.net.ssl.www2.protocol.https.Handler ignoreDefinition: true --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalWwwProtocol displayName: Use `com.ibm.net.ssl.www2.protocol` instead of `com.sun.net.ssl.internal.www.protocol` description: Do not use the `com.sun.net.ssl.internal.www.protocol` package. tags: - java11 recipeList: - org.openrewrite.java.migrate.ReplaceStringLiteralValue: oldLiteralValue: com.sun.net.ssl.internal.www.protocol newLiteralValue: com.ibm.net.ssl.www2.protocol --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.JREDoNotUseSunNetSslInternalSslProvider displayName: Use `com.ibm.jsse2` instead of `com.sun.net.ssl.internal.ssl` description: Do not use the `com.sun.net.ssl.internal.ssl.Provider` class. tags: - java11 recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: com.sun.net.ssl.internal.ssl.Provider newFullyQualifiedTypeName: com.ibm.jsse2.IBMJSSEProvider2 ignoreDefinition: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: com.sun.net.ssl.internal.ssl.Debug newFullyQualifiedTypeName: com.ibm.jsse2.Debug ignoreDefinition: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: com.sun.net.ssl.internal.ssl.SSLServerSocketFactoryImpl newFullyQualifiedTypeName: com.ibm.jsse2.SSLServerSocketFactoryImpl ignoreDefinition: true - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl newFullyQualifiedTypeName: com.ibm.jsse2.SSLSocketFactoryImpl ignoreDefinition: true --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.JREDoNotUseSunNetSslAPIs displayName: Use `javax.net.ssl` instead of `com.sun.net.ssl` description: Do not use APIs from `com.sun.net.ssl` packages. tags: - java11 recipeList: - org.openrewrite.java.ChangePackage: oldPackageName: com.sun.net.ssl newPackageName: javax.net.ssl recursive: false --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.Krb5LoginModuleClass displayName: Use `com.sun.security.auth.module.Krb5LoginModule` instead of `com.ibm.security.auth.module.Krb5LoginModule` description: Do not use the `com.ibm.security.auth.module.Krb5LoginModule` class. tags: - java11 recipeList: - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: com.ibm.security.auth.module.Krb5LoginModule newFullyQualifiedTypeName: com.sun.security.auth.module.Krb5LoginModule ignoreDefinition: true --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.RemovedJavaXMLWSModuleProvided displayName: Do not use `java.xml.ws` module in WebSphere Liberty description: The `java.xml.ws` module was removed in Java11. Websphere Liberty provides its own implementation of the module, which can be used by specifying the `jaxws-2.2` feature in the server.xml file. This recipe removes the `javax.xml.ws` module from the application's build dependency in favor of the Websphere Liberty implementation to avoid class loading issues. tags: - java11 recipeList: - org.openrewrite.java.dependencies.RemoveDependency: groupId: javax.xml.ws artifactId: jaxws-api --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.RemovedJaxBModuleProvided displayName: Do not use `java.xml.bind` and `java.activation` modules in WebSphere Liberty description: The `java.xml.bind` and `java.activation` modules were removed in Java11. Websphere Liberty provides its own implementation of the modules, which can be used by specifying the `jaxb-2.2` feature in the server.xml file. This recipe removes the `javax.xml.bind` and `javax.activation` modules from the application's build dependency in favor of the Websphere Liberty implementation to avoid class loading issues. tags: - java11 recipeList: - org.openrewrite.java.dependencies.RemoveDependency: groupId: javax.xml.bind artifactId: jaxb-api - org.openrewrite.java.dependencies.RemoveDependency: groupId: javax.activation artifactId: activation





© 2015 - 2025 Weber Informatics LLC | Privacy Policy