Skip to content

Commit

Permalink
Fix apprunner-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Oct 20, 2021
1 parent 5e2ecbb commit 18ca21d
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -79,7 +79,7 @@ public static QuarkusApp newApplication(
appCoords.getType(),
appCoords.getVersion());

final AppModel appModel;
ApplicationModel appModel;
try {
MavenArtifactResolver resolver =
MavenArtifactResolver.builder()
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 18ca21d

Please sign in to comment.