From 18ca21d36433bce5b8882a0d9e51b65d467efed0 Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Wed, 20 Oct 2021 16:04:18 +0200 Subject: [PATCH] Fix apprunner-maven-plugin --- .../org/projectnessie/quarkus/maven/QuarkusApp.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/apprunner-maven-plugin/src/main/java/org/projectnessie/quarkus/maven/QuarkusApp.java b/tools/apprunner-maven-plugin/src/main/java/org/projectnessie/quarkus/maven/QuarkusApp.java index 9a9fe1575c0..6f464166af6 100644 --- a/tools/apprunner-maven-plugin/src/main/java/org/projectnessie/quarkus/maven/QuarkusApp.java +++ b/tools/apprunner-maven-plugin/src/main/java/org/projectnessie/quarkus/maven/QuarkusApp.java @@ -23,7 +23,7 @@ import io.quarkus.bootstrap.app.StartupAction; import io.quarkus.bootstrap.model.AppArtifact; import io.quarkus.bootstrap.model.AppArtifactCoords; -import io.quarkus.bootstrap.model.AppModel; +import io.quarkus.bootstrap.model.ApplicationModel; import io.quarkus.bootstrap.resolver.BootstrapAppModelResolver; import io.quarkus.bootstrap.resolver.maven.MavenArtifactResolver; import java.lang.reflect.Method; @@ -79,7 +79,7 @@ public static QuarkusApp newApplication( appCoords.getType(), appCoords.getVersion()); - final AppModel appModel; + ApplicationModel appModel; try { MavenArtifactResolver resolver = MavenArtifactResolver.builder() @@ -120,7 +120,10 @@ public static QuarkusApp newApplication( * @throws MojoExecutionException if an error occurs during execution */ public static QuarkusApp newApplication( - AppModel appModel, Path projectRoot, Path targetDirectory, Properties applicationProperties) + ApplicationModel appModel, + Path projectRoot, + Path targetDirectory, + Properties applicationProperties) throws MojoExecutionException { return newApplication( appModel, @@ -145,7 +148,7 @@ public static QuarkusApp newApplication( * @throws MojoExecutionException if an error occurs during execution */ public static QuarkusApp newApplication( - AppModel appModel, + ApplicationModel appModel, Path projectRoot, Path targetDirectory, Properties applicationProperties,