This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new ceda474aff5 Regen
ceda474aff5 is described below
commit ceda474aff5757f9e366782677a2e5c20718c8e2
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Apr 24 19:01:38 2022 +0200
Regen
---
camel-dependencies/pom.xml | 1 +
.../apache/camel/dsl/jbang/core/commands/Image.java | 18 +++++++++---------
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index a00aed9757d..e711d05c533 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -326,6 +326,7 @@
<jgroups-raft-mapdb-version>1.0.8</jgroups-raft-mapdb-version>
<jgroups-raft-version>0.5.3.Final</jgroups-raft-version>
<jgroups-version>4.2.17.Final</jgroups-version>
+ <jib-version>0.21.0</jib-version>
<jira-guava-version>26.0-jre</jira-guava-version>
<jira-rest-client-api-version>5.2.2</jira-rest-client-api-version>
<jnats-version>2.14.0</jnats-version>
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Image.java
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Image.java
index e9d808c194f..56bb39f0f54 100644
---
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Image.java
+++
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Image.java
@@ -38,26 +38,26 @@ public class Image implements Callable<Integer> {
private static final Logger LOG = LoggerFactory.getLogger(Image.class);
- @CommandLine.Option(names = {"-h", "--help"}, usageHelp = true,
description = "Display the help and sub-commands")
+ @CommandLine.Option(names = { "-h", "--help" }, usageHelp = true,
description = "Display the help and sub-commands")
private boolean helpRequested;
- @CommandLine.Option(names = {"-f", "--from"}, description = "Base Image",
defaultValue = "gcr.io/distroless/java:11")
+ @CommandLine.Option(names = { "-f", "--from" }, description = "Base
Image", defaultValue = "gcr.io/distroless/java:11")
private String from;
- @CommandLine.Option(names = {"-j", "--jar"}, required = true, description
= "Jar filename")
+ @CommandLine.Option(names = { "-j", "--jar" }, required = true,
description = "Jar filename")
private String jar;
- @CommandLine.Option(names = {"-t", "--tag"}, description = "Image tag")
+ @CommandLine.Option(names = { "-t", "--tag" }, description = "Image tag")
private String tag;
- @CommandLine.Option(names = {"--push"}, description = "Push to the
registry")
+ @CommandLine.Option(names = { "--push" }, description = "Push to the
registry")
private boolean push;
- @CommandLine.Option(names = {"-r", "--registry"}, description = "Registry
image reference")
+ @CommandLine.Option(names = { "-r", "--registry" }, description =
"Registry image reference")
private String registry;
- @CommandLine.Option(names = {"-u", "--username"}, description = "Registry
username")
+ @CommandLine.Option(names = { "-u", "--username" }, description =
"Registry username")
private String username;
- @CommandLine.Option(names = {"-p", "--password"}, description = "Registry
password")
+ @CommandLine.Option(names = { "-p", "--password" }, description =
"Registry password")
private String password;
@Override
@@ -77,7 +77,7 @@ public class Image implements Callable<Integer> {
private Containerizer getRegistry() throws InvalidImageReferenceException {
return Containerizer.to(
- RegistryImage.named(registry).addCredential(username,
password))
+ RegistryImage.named(registry).addCredential(username,
password))
.addEventHandler(LogEvent.class, getEventConsumer());
}