-$MVN clean install javadoc:aggregate \
- -e -Pq -Dmaven.javadoc.skip=false \
- -DskipTests=true \
- -Dcheckstyle.skip=true \
- -Dfindbugs.skip=true \
- --global-settings "$GLOBAL_SETTINGS_FILE" \
- --settings "$SETTINGS_FILE" \
- $MAVEN_OPTIONS $MAVEN_PARAMS
+# Use -x via subshell to show maven invocation details in the log
+(set -x
+ $MVN clean install javadoc:aggregate \
+ -f "$maven_dir_abs" \
+ -e -Pq -Dmaven.javadoc.skip=false \
+ -DskipTests=true \
+ -Dcheckstyle.skip=true \
+ -Dfindbugs.skip=true \
+ --global-settings "$GLOBAL_SETTINGS_FILE" \
+ --settings "$SETTINGS_FILE" \
+ $MAVEN_OPTIONS $MAVEN_PARAMS
+)