ppalaga commented on code in PR #23333:
URL: https://github.com/apache/camel/pull/23333#discussion_r3275684934
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/update/CamelUpdateMixin.java:
##########
@@ -49,13 +54,12 @@ public class CamelUpdateMixin {
boolean debug;
Review Comment:
Solved in 164c2bd
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/QuarkusPlatformMixin.java:
##########
@@ -0,0 +1,125 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.dsl.jbang.core.commands;
+
+import java.util.Properties;
+import java.util.function.Function;
+
+import org.apache.camel.dsl.jbang.core.common.QuarkusHelper;
+import org.apache.camel.dsl.jbang.core.common.QuarkusHelper.QuarkusPlatformBom;
+import org.apache.camel.tooling.maven.MavenArtifact;
+import org.apache.camel.tooling.maven.MavenDownloader;
+import org.apache.camel.tooling.maven.MavenGav;
+import picocli.CommandLine;
+
+import static
org.apache.camel.dsl.jbang.core.common.CamelJBangConstants.QUARKUS_EXTENSION_REGISTRY_BASE_URI;
+import static
org.apache.camel.dsl.jbang.core.common.CamelJBangConstants.QUARKUS_GROUP_ID;
+import static
org.apache.camel.dsl.jbang.core.common.CamelJBangConstants.QUARKUS_VERSION;
+
+/**
+ * Options related to Quarkus Platform.
+ */
+public class QuarkusPlatformMixin extends QuarkusExtensionRegistryMixin
implements QuarkusPlatformMixinSpec {
+
+ @CommandLine.Option(names = {
+ "--quarkus-group-id" }, description = "groupId of Quarkus Platform
BOM; honored only if --quarkus-version is set",
+ defaultValue = "io.quarkus.platform")
+ String quarkusGroupId = "io.quarkus.platform";
+
+ @CommandLine.Option(names = {
+ "--quarkus-artifact-id" },
+ description = "Deprecated. This value is not used
anymore. It is kept only for backwards compatibility and will be removed in
Camel 5.x. Camel commands may use either 'quarkus-bom' or 'quarkus-camel-bom'
artifactIds dependening on the context.",
+ defaultValue = "quarkus-bom")
+ @Deprecated(forRemoval = true, since = "4.21.0")
+ String quarkusArtifactId = "quarkus-bom";
+
+ @CommandLine.Option(names = {
+ "--quarkus-version" },
+ description = "version of Quarkus Platform BOM; the
default value is looked up in Quarkus Extensio Registry")
Review Comment:
Solved in 164c2bd
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]