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 d386679ead9 CAMEL-18151: camel-jbang - Export to support maven wrappers
d386679ead9 is described below
commit d386679ead90b6dafe90c0ec39ed60db666f11fd
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jun 17 15:04:09 2022 +0200
CAMEL-18151: camel-jbang - Export to support maven wrappers
---
docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 876f4ae3b88..19e239e8a52 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -631,6 +631,21 @@ To export to another directly (copies the files) you
execute:
camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT
--dir=../myproject
----
+To make the exported project easy to run with Apache Maven using Maven
Wrapper, then you can export as follows:
+
+[source,bash]
+----
+camel export --runtime=spring-boot --gav=com.foo:acme:1.0-SNAPSHOT
--dir=../myproject --maven-wrapper=true
+----
+
+Which allows users to work with the project without having Maven installed as
a CLI, by executing the `mvnw` command as shown:
+
+[source,bash]
+----
+cd myproject
+mvnw spring-boot:run
+----
+
TIP: See the possible options by running: `camel export --help` for more
details.
=== Exporting to Camel Quarkus