From 0708865799629f18bc56b38b76a0fef5433cd20d Mon Sep 17 00:00:00 2001 From: Sandro Leuchter Date: Tue, 16 Jun 2026 23:58:17 +0200 Subject: [PATCH] Java 16 -> Java 25 --- 21-graphql-quarkus/.gitignore | 1 - 21-graphql-quarkus/election/README.md | 8 + 21-graphql-quarkus/election/justfile | 8 - 21-graphql-quarkus/election/mvnw.cmd | 0 21-graphql-quarkus/election/pom.xml | 238 ++++++++---------- .../election/src/main/java/vs/Service.java | 2 +- .../election_solution/README.md | 8 + 21-graphql-quarkus/election_solution/justfile | 8 - 21-graphql-quarkus/election_solution/mvnw.cmd | 0 21-graphql-quarkus/election_solution/pom.xml | 238 ++++++++---------- .../src/main/java/vs/BallotBox.java | 2 +- .../src/main/java/vs/Service.java | 2 +- 12 files changed, 231 insertions(+), 284 deletions(-) delete mode 100644 21-graphql-quarkus/.gitignore delete mode 100644 21-graphql-quarkus/election/justfile mode change 100644 => 100755 21-graphql-quarkus/election/mvnw.cmd delete mode 100644 21-graphql-quarkus/election_solution/justfile mode change 100644 => 100755 21-graphql-quarkus/election_solution/mvnw.cmd diff --git a/21-graphql-quarkus/.gitignore b/21-graphql-quarkus/.gitignore deleted file mode 100644 index 901b6e6..0000000 --- a/21-graphql-quarkus/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*/target/ diff --git a/21-graphql-quarkus/election/README.md b/21-graphql-quarkus/election/README.md index 52e543d..315c79f 100644 --- a/21-graphql-quarkus/election/README.md +++ b/21-graphql-quarkus/election/README.md @@ -56,3 +56,11 @@ If you want to learn more about building native executables, please consult - - 4.0.0 - vs - election - 1.0.0-SNAPSHOT - - 3.8.1 - 16 - UTF-8 - UTF-8 - quarkus-bom - io.quarkus.platform - 2.6.3.Final - 3.0.0-M5 - - + + + 4.0.0 + vs + election + 1.0.0-SNAPSHOT + quarkus + + + 3.15.0 + 25 + UTF-8 + UTF-8 + quarkus-bom + io.quarkus.platform + 3.36.2 + true + 3.5.6 + + + + + + ${quarkus.platform.group-id} + ${quarkus.platform.artifact-id} + ${quarkus.platform.version} + pom + import + + + + - - ${quarkus.platform.group-id} - ${quarkus.platform.artifact-id} - ${quarkus.platform.version} - pom - import - + + io.quarkus + quarkus-smallrye-graphql + + + io.quarkus + quarkus-arc + + + io.quarkus + quarkus-junit + test + - - - - io.quarkus - quarkus-undertow - - - io.quarkus - quarkus-resteasy-jsonb - - - io.quarkus - quarkus-websockets - - - io.quarkus - quarkus-resteasy - - - io.quarkus - quarkus-smallrye-graphql - - - io.quarkus - quarkus-arc - - - io.quarkus - quarkus-junit5 - test - - - io.rest-assured - rest-assured - test - - - - - - ${quarkus.platform.group-id} - quarkus-maven-plugin - ${quarkus.platform.version} - true - - - - build - generate-code - generate-code-tests - - - - - - maven-compiler-plugin - ${compiler-plugin.version} - - - -parameters - - - - - maven-surefire-plugin - ${surefire-plugin.version} - - - org.jboss.logmanager.LogManager - ${maven.home} - - - - - - - - native - - - native - - - + + - - maven-failsafe-plugin - ${surefire-plugin.version} - - - - integration-test - verify - + + ${quarkus.platform.group-id} + quarkus-maven-plugin + ${quarkus.platform.version} + true + + + maven-compiler-plugin + ${compiler-plugin.version} - - ${project.build.directory}/${project.build.finalName}-runner - org.jboss.logmanager.LogManager - ${maven.home} - + true - - - + + + maven-surefire-plugin + ${surefire-plugin.version} + + @{argLine} + + org.jboss.logmanager.LogManager + ${maven.home} + + + + + maven-failsafe-plugin + ${surefire-plugin.version} + + + + integration-test + verify + + + + + @{argLine} + + ${project.build.directory}/${project.build.finalName}-runner + org.jboss.logmanager.LogManager + ${maven.home} + + + - - - native - - - + + + + + native + + + native + + + + false + false + true + + + diff --git a/21-graphql-quarkus/election/src/main/java/vs/Service.java b/21-graphql-quarkus/election/src/main/java/vs/Service.java index 2c9532e..3eeb4e9 100644 --- a/21-graphql-quarkus/election/src/main/java/vs/Service.java +++ b/21-graphql-quarkus/election/src/main/java/vs/Service.java @@ -1,7 +1,7 @@ package vs; +import jakarta.inject.Inject; import java.util.List; -import javax.inject.Inject; import org.eclipse.microprofile.graphql.GraphQLApi; import org.eclipse.microprofile.graphql.Mutation; import org.eclipse.microprofile.graphql.Query; diff --git a/21-graphql-quarkus/election_solution/README.md b/21-graphql-quarkus/election_solution/README.md index 52e543d..315c79f 100644 --- a/21-graphql-quarkus/election_solution/README.md +++ b/21-graphql-quarkus/election_solution/README.md @@ -56,3 +56,11 @@ If you want to learn more about building native executables, please consult - - 4.0.0 - vs - election_solution - 1.0.0-SNAPSHOT - - 3.8.1 - 16 - UTF-8 - UTF-8 - quarkus-bom - io.quarkus.platform - 2.6.3.Final - 3.0.0-M5 - - + + + 4.0.0 + vs + election_solution + 1.0.0-SNAPSHOT + quarkus + + + 3.15.0 + 25 + UTF-8 + UTF-8 + quarkus-bom + io.quarkus.platform + 3.36.2 + true + 3.5.6 + + + + + + ${quarkus.platform.group-id} + ${quarkus.platform.artifact-id} + ${quarkus.platform.version} + pom + import + + + + - - ${quarkus.platform.group-id} - ${quarkus.platform.artifact-id} - ${quarkus.platform.version} - pom - import - + + io.quarkus + quarkus-smallrye-graphql + + + io.quarkus + quarkus-arc + + + io.quarkus + quarkus-junit + test + - - - - io.quarkus - quarkus-undertow - - - io.quarkus - quarkus-resteasy-jsonb - - - io.quarkus - quarkus-websockets - - - io.quarkus - quarkus-resteasy - - - io.quarkus - quarkus-smallrye-graphql - - - io.quarkus - quarkus-arc - - - io.quarkus - quarkus-junit5 - test - - - io.rest-assured - rest-assured - test - - - - - - ${quarkus.platform.group-id} - quarkus-maven-plugin - ${quarkus.platform.version} - true - - - - build - generate-code - generate-code-tests - - - - - - maven-compiler-plugin - ${compiler-plugin.version} - - - -parameters - - - - - maven-surefire-plugin - ${surefire-plugin.version} - - - org.jboss.logmanager.LogManager - ${maven.home} - - - - - - - - native - - - native - - - + + - - maven-failsafe-plugin - ${surefire-plugin.version} - - - - integration-test - verify - + + ${quarkus.platform.group-id} + quarkus-maven-plugin + ${quarkus.platform.version} + true + + + maven-compiler-plugin + ${compiler-plugin.version} - - ${project.build.directory}/${project.build.finalName}-runner - org.jboss.logmanager.LogManager - ${maven.home} - + true - - - + + + maven-surefire-plugin + ${surefire-plugin.version} + + @{argLine} + + org.jboss.logmanager.LogManager + ${maven.home} + + + + + maven-failsafe-plugin + ${surefire-plugin.version} + + + + integration-test + verify + + + + + @{argLine} + + ${project.build.directory}/${project.build.finalName}-runner + org.jboss.logmanager.LogManager + ${maven.home} + + + - - - native - - - + + + + + native + + + native + + + + false + false + true + + + diff --git a/21-graphql-quarkus/election_solution/src/main/java/vs/BallotBox.java b/21-graphql-quarkus/election_solution/src/main/java/vs/BallotBox.java index d76ed6c..5848408 100755 --- a/21-graphql-quarkus/election_solution/src/main/java/vs/BallotBox.java +++ b/21-graphql-quarkus/election_solution/src/main/java/vs/BallotBox.java @@ -1,12 +1,12 @@ package vs; +import jakarta.enterprise.context.ApplicationScoped; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; -import javax.enterprise.context.ApplicationScoped; @ApplicationScoped public class BallotBox { diff --git a/21-graphql-quarkus/election_solution/src/main/java/vs/Service.java b/21-graphql-quarkus/election_solution/src/main/java/vs/Service.java index 713831b..cf35f90 100644 --- a/21-graphql-quarkus/election_solution/src/main/java/vs/Service.java +++ b/21-graphql-quarkus/election_solution/src/main/java/vs/Service.java @@ -1,7 +1,7 @@ package vs; +import jakarta.inject.Inject; import java.util.List; -import javax.inject.Inject; import org.eclipse.microprofile.graphql.GraphQLApi; import org.eclipse.microprofile.graphql.Mutation; import org.eclipse.microprofile.graphql.Query;