Skip to content

Commit

Permalink
Support fast-jar packaging for quarkus
Browse files Browse the repository at this point in the history
Fixes #360
  • Loading branch information
jamesnetherton authored and lburgazzoli committed Jan 22, 2021
1 parent 1611207 commit c7f6250
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.runner.GeneratedMain");
runtimeSpec.applicationClass("io.quarkus.bootstrap.runner.QuarkusEntryPoint");
runtimeSpec.addDependency("org.apache.camel.k", "camel-k-runtime");
runtimeSpec.putCapability(
"cron",
Expand Down

0 comments on commit c7f6250

Please sign in to comment.