This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit aeee0bcc377d862c6825aaa9d90b5c03fcbcc2e6
Author: Peter Palaga <[email protected]>
AuthorDate: Fri Oct 3 12:48:19 2025 +0200

    Add mvnd variant of mvnw-for-each.sh for faster local work
---
 mvnd-for-each.sh | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/mvnd-for-each.sh b/mvnd-for-each.sh
new file mode 100755
index 0000000..2129eaa
--- /dev/null
+++ b/mvnd-for-each.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env bash
+
+# Iterates over all available examples and calls mvnd with the specified 
arguments for each of them
+
+set -x
+set -e
+
+pwd="$(pwd)"
+for moduleDir in $(ls -d */)
+do
+    if [ -f "${pwd}/${moduleDir}/pom.xml" ]; then
+        cd "${pwd}/${moduleDir}"
+        mvnd -1 "$@"
+        cp ../eclipse-formatter-config.xml .
+    fi
+done
+
+cd "${pwd}"
+mvnd org.l2x6.cq:cq-maven-plugin:0.33.0:update-examples-json -1
+

Reply via email to