blob: 27f5709093b0464902c2cbef437eb838d038f630 [file] [log] [blame]
#!/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}"
../mvnw "$@"
fi
done
cd "${pwd}"
./mvnw org.l2x6.cq:cq-maven-plugin:0.25.0:update-examples-json