diff --git a/pom.xml b/pom.xml index fee4e71969..6823069d5f 100644 --- a/pom.xml +++ b/pom.xml @@ -61,11 +61,11 @@ - 2.15.0 + 2.17.0 - 5.36.0 + 5.39.0 - 6.16.4 + 6.18.0 1.9.17 diff --git a/recipes-tests/src/test/java/io/quarkus/updates/core/CoreUpdate37Test.java b/recipes-tests/src/test/java/io/quarkus/updates/core/CoreUpdate37Test.java index b8844a772f..6abbbf2c0c 100644 --- a/recipes-tests/src/test/java/io/quarkus/updates/core/CoreUpdate37Test.java +++ b/recipes-tests/src/test/java/io/quarkus/updates/core/CoreUpdate37Test.java @@ -121,6 +121,7 @@ void testMavenPluginUpdates() { 3.12.1 + 17 UTF-8 UTF-8 quarkus-bom @@ -212,6 +213,7 @@ void testMavenPluginUpdatesDefaultGroupId() { 3.12.1 + 17 UTF-8 UTF-8 quarkus-bom @@ -266,6 +268,26 @@ void testJpaModelgenNoChanges() { + """, + """ + + 4.0.0 + io.quarkus.bot + release + 999-SNAPSHOT + + 17 + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.12.1 + + + + """)); } @@ -302,6 +324,9 @@ void testJpaModelgenOldDependency() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -357,6 +382,9 @@ void testJpaModelgenNewDependency() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -423,6 +451,9 @@ void testJpaModelgenNewDependencyManagedByQuarkusBom() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -492,6 +523,9 @@ void testJpaModelgenExistingConfig() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -556,6 +590,9 @@ void testJpaModelgenAnotherProcessor() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -623,6 +660,9 @@ void testJpaModelgenAnnotationProcessorAlreadyPresent() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -696,6 +736,9 @@ void testJpaModelgenOldJpaModelgenAnnotationProcessorAlreadyPresent() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -782,6 +825,9 @@ void testJpaModelgenOldJpaModelgenAnnotationProcessorAlreadyPresentWithOutdatedV io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -851,6 +897,9 @@ void testJpaModelgenNoBuildSection() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -927,6 +976,9 @@ void testJpaModelgenNoMavenCompilerPlugin() { io.quarkus.bot release 999-SNAPSHOT + + 17 + @@ -1013,6 +1065,7 @@ void testSyncVersion() { release 999-SNAPSHOT + 17 3.7.0.CR1 @@ -1102,6 +1155,7 @@ void testResteasyClientRenaming() { release 999-SNAPSHOT + 17 3.7.0.CR1 diff --git a/recipes/src/main/resources/quarkus-updates/core/3.0.yaml b/recipes/src/main/resources/quarkus-updates/core/3.0.yaml index 84a4c70aeb..f022b63856 100644 --- a/recipes/src/main/resources/quarkus-updates/core/3.0.yaml +++ b/recipes/src/main/resources/quarkus-updates/core/3.0.yaml @@ -768,32 +768,33 @@ type: specs.openrewrite.org/v1beta/recipe name: io.quarkus.updates.core.quarkus30.JavaxPersistenceXmlToJakartaPersistenceXml displayName: Migrate xmlns entries in `persistence.xml` files description: Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation. - +preconditions: + - org.openrewrite.FindSourceFiles: + filePattern: '**/persistence.xml' recipeList: - # TODO upgrade for JPA 3.1 - org.openrewrite.xml.ChangeTagAttribute: attributeName: name elementName: //property oldValue: javax.persistence newValue: jakarta.persistence - fileMatcher: "**/persistence.xml" - org.openrewrite.xml.ChangeTagAttribute: attributeName: version elementName: persistence newValue: 3.0 - fileMatcher: "**/persistence.xml" - org.openrewrite.xml.ChangeTagAttribute: attributeName: xmlns elementName: persistence oldValue: http://xmlns.jcp.org newValue: https://jakarta.ee - fileMatcher: "**/persistence.xml" + - org.openrewrite.xml.ChangeTagAttribute: + attributeName: xmlns + elementName: persistence + oldValue: http://java.sun.com/xml/ns/persistence + newValue: https://jakarta.ee/xml/ns/persistence - org.openrewrite.xml.ChangeTagAttribute: attributeName: xsi:schemaLocation elementName: persistence newValue: https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd - fileMatcher: "**/persistence.xml" - --- type: specs.openrewrite.org/v1beta/recipe name: io.quarkus.updates.core.quarkus30.JacksonJavaxToJakarta @@ -1105,7 +1106,7 @@ recipeList: oldGroupId: io.quarkus oldArtifactId: quarkus-bootstrap-maven-plugin newGroupId: io.quarkus - newArtifactId: quarkus-extension-maven-plugin + newArtifact: quarkus-extension-maven-plugin ##### # Additional recipes for Kotlin