christophd commented on code in PR #14757: URL: https://github.com/apache/camel/pull/14757#discussion_r1669851407
########## 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: > And then required = true should be removed from gav option so its optional. 👍 I think the option is optional already -- 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