christophd commented on code in PR #14757:
URL: https://github.com/apache/camel/pull/14757#discussion_r1669854076


##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java:
##########
@@ -47,9 +49,9 @@ protected Integer export() throws Exception {
             System.err.println("The runtime option must be specified");
             return 1;
         }
+
         if (gav == null) {
-            System.err.println("The gav option must be specified");
-            return 1;
+            gav = "org.apache.camel:%s:%s".formatted(getProjectName(), 
getVersion());

Review Comment:
   What about `org.example.project` as a default? `org.apache.camel` is being 
used by SBOMGenerator command and in the automatic dummy exports that is part 
of the run command. Should we change these occurrences, too?



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to