From d68e4ac6bab1ef88a433b13a3ece5b844f882463 Mon Sep 17 00:00:00 2001 From: Tyler Van Gorder Date: Fri, 2 Jul 2021 17:25:49 -0700 Subject: [PATCH] Cleaning up the java 8 to 11 composite recipe --- .../META-INF/rewrite/java8-to-java11.yml | 17 ++++++++++++----- ...avax.xml.stream.yml => javax-xml-stream.yml} | 0 2 files changed, 12 insertions(+), 5 deletions(-) rename src/main/resources/META-INF/rewrite/{javax.xml.stream.yml => javax-xml-stream.yml} (100%) diff --git a/src/main/resources/META-INF/rewrite/java8-to-java11.yml b/src/main/resources/META-INF/rewrite/java8-to-java11.yml index 363fa2072c..b68949d98e 100644 --- a/src/main/resources/META-INF/rewrite/java8-to-java11.yml +++ b/src/main/resources/META-INF/rewrite/java8-to-java11.yml @@ -26,13 +26,20 @@ tags: - jakarta recipeList: + # Add javax dependencies if they are used by a project. + - org.openrewrite.java.migrate.javax.AddJaxbDependencies + - org.openrewrite.java.migrate.javax.AddJaxwsDependencies + - org.openrewrite.java.migrate.javax.AddInjectDependencies + # Add jdeprscan plugin to a maven-based build. - org.openrewrite.java.migrate.AddJdeprscanPlugin - - org.openrewrite.java.migrate.AddJaxbDependencies + # Remediate deprecations + - org.openrewrite.java.cleanup.BigDecimalRoundingConstantsToEnums + - org.openrewrite.java.cleanup.PrimitiveWrapperClassConstructorToValueOf - org.openrewrite.java.migrate.concurrent.JavaConcurrentAPIs - - org.openrewrite.java.migrate.javax.JavaxLangModelUtil - - org.openrewrite.java.migrate.javax.JavaxManagementMonitorAPIs - - org.openrewrite.java.migrate.javax.JavaxXmlStreamAPIs - org.openrewrite.java.migrate.lang.JavaLangAPIs - org.openrewrite.java.migrate.logging.JavaLoggingAPIs - org.openrewrite.java.migrate.net.JavaNetAPIs - - org.openrewrite.java.migrate.sql.JavaSqlAPIs \ No newline at end of file + - org.openrewrite.java.migrate.sql.JavaSqlAPIs + - org.openrewrite.java.migrate.javax.JavaxLangModelUtil + - org.openrewrite.java.migrate.javax.JavaxManagementMonitorAPIs + - org.openrewrite.java.migrate.javax.JavaxXmlStreamAPIs diff --git a/src/main/resources/META-INF/rewrite/javax.xml.stream.yml b/src/main/resources/META-INF/rewrite/javax-xml-stream.yml similarity index 100% rename from src/main/resources/META-INF/rewrite/javax.xml.stream.yml rename to src/main/resources/META-INF/rewrite/javax-xml-stream.yml