You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/02/23 11:49:35 UTC

[camel-k-runtime] branch master updated: Support fast-jar packaging for quarkus

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new 9f66b67  Support fast-jar packaging for quarkus
9f66b67 is described below

commit 9f66b67a341ac65fe616e93b035ce0a88bd2a7c5
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Feb 23 07:14:17 2021 +0000

    Support fast-jar packaging for quarkus
---
 support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy      | 2 +-
 .../main/java/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 e3c8d11..816fd38 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.runner.GeneratedMain'
+    assert catalog.spec.runtime.applicationClass == 'io.quarkus.bootstrap.runner.QuarkusEntryPoint'
     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 0279087..286ab1f 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 class GenerateCatalogMojo extends AbstractMojo {
                 "org.apache.camel.quarkus", "camel-quarkus-catalog",
                 version -> runtimeSpec.putMetadata("camel-quarkus.version", version));
 
-            runtimeSpec.applicationClass("io.quarkus.runner.GeneratedMain");
+            runtimeSpec.applicationClass("io.quarkus.bootstrap.runner.QuarkusEntryPoint");
             runtimeSpec.addDependency("org.apache.camel.k", "camel-k-runtime");
             runtimeSpec.putCapability(
                 "cron",