blob: 3f591043464d57201336ca5e0e3a999ad3e291f3 [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.23.1:update-example-pages