In /usr/bin/mh_patchpom line 19:
. /usr/share/maven-repo-helper/mh_lib.sh
  ^-- SC1091: Not following: /usr/share/maven-repo-helper/mh_lib.sh was not specified as input (see shellcheck -x).


In /usr/bin/mh_patchpom line 97:
eval EXTRA_RULES=$(getargs R extra-rule)
                 ^---------------------^ SC2046: Quote this to prevent word splitting.


In /usr/bin/mh_patchpom line 99:
eval EXTRA_PUBLISHED_RULES=$(getargs U extra-published-rule)
                           ^-- SC2046: Quote this to prevent word splitting.


In /usr/bin/mh_patchpom line 101:
eval EXTRA_IGNORE_RULES=$(getargs I extra-ignore-rule)
                        ^----------------------------^ SC2046: Quote this to prevent word splitting.


In /usr/bin/mh_patchpom line 143:
MH_ARGS=(--package=${PACKAGE} ${NOPARENT:+--no-parent} ${NORULES:+--no-rules} ${KEEP_POM_VERSION:+--keep-pom-version} ${NO_PUBLISH_USED_RULE:+--no-publish-used-rule} ${SETVERSION:+--set-version=$SETVERSION} ${RULES:+--rules=$RULES} ${PUBLISHED_RULES:+--published-rules=$PUBLISHED_RULES} ${IGNORE_RULES:+--ignore-rules=$IGNORE_RULES} ${CLEAN_IGNORE_RULES:+--clean-ignore-rules=$CLEAN_IGNORE_RULES} ${DEBIAN_BUILD:+--debian-build} ${BUILD_NO_DOCS:+--build-no-docs} ${MAVEN_REPO:+--maven-repo=$MAVEN_REPO} "${EXTRA_RULES[@]/#/--extra-rule=}" "${EXTRA_PUBLISHED_RULES[@]/#/--extra-published-rule=}" "${EXTRA_IGNORE_RULES[@]/#/--extra-ignore-rule=}")
                   ^--------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.


In /usr/bin/mh_patchpom line 147:
	java -cp $CLASSPATH $JAVA_OPTIONS org.debian.maven.repo.POMTransformer --single $DH_OPTS "${MH_ARGS[@]}" $POM
                 ^--------^ SC2086: Double quote to prevent globbing and word splitting.
                            ^-----------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                        ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	java -cp "$CLASSPATH" "$JAVA_OPTIONS" org.debian.maven.repo.POMTransformer --single "$DH_OPTS" "${MH_ARGS[@]}" $POM

For more information:
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
  https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g...
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/share/maven-r...