From e237679590411f86d5242dfe9f7b9149f946a911 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Mon, 1 Feb 2021 09:42:12 +0000 Subject: [PATCH] Revert "Support fast-jar packaging for quarkus" This reverts commit c7f6250321e308ef1a71ab7802b72ed8e9bf4906. --- .../camel-k-maven-plugin/src/it/generate-catalog/verify.groovy | 2 +- .../org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy b/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy index 77a6f83e8..8e2eb0d62 100644 --- a/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy +++ b/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy @@ -19,7 +19,7 @@ new File(basedir, "catalog.yaml").withReader { def catalog = new groovy.yaml.YamlSlurper().parse(it) assert catalog.spec.runtime.version == runtimeVersion - assert catalog.spec.runtime.applicationClass == 'io.quarkus.bootstrap.runner.QuarkusEntryPoint' + assert catalog.spec.runtime.applicationClass == 'io.quarkus.runner.GeneratedMain' assert catalog.spec.runtime.metadata['camel.version'] == camelVersion assert catalog.spec.runtime.metadata['quarkus.version'] == quarkusVersion assert catalog.spec.runtime.metadata['camel-quarkus.version'] == camelQuarkusVersion diff --git a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java index 286ab1f74..0279087a0 100644 --- a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java +++ b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java @@ -112,7 +112,7 @@ public void execute() throws MojoExecutionException, MojoFailureException { "org.apache.camel.quarkus", "camel-quarkus-catalog", version -> runtimeSpec.putMetadata("camel-quarkus.version", version)); - runtimeSpec.applicationClass("io.quarkus.bootstrap.runner.QuarkusEntryPoint"); + runtimeSpec.applicationClass("io.quarkus.runner.GeneratedMain"); runtimeSpec.addDependency("org.apache.camel.k", "camel-k-runtime"); runtimeSpec.putCapability( "cron",