In /usr/bin/mh_patchpoms 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_patchpoms line 88:
eval EXTRA_RULES=$(getargs R extra-rule)
                 ^---------------------^ SC2046: Quote this to prevent word splitting.


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


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


In /usr/bin/mh_patchpoms line 126:
MH_ARGS=(--package=${PACKAGE} ${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_patchpoms line 129:
    cat debian/$PACKAGE.poms | while read POM OPT1 OPT2; do
        ^------------------^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
               ^------^ SC2086: Double quote to prevent globbing and word splitting.
                                     ^--^ SC2162: read without -r will mangle backslashes.
                                              ^--^ SC2034: OPT1 appears unused. Verify use (or export if used externally).
                                                   ^--^ SC2034: OPT2 appears unused. Verify use (or export if used externally).

Did you mean: 
    cat debian/"$PACKAGE".poms | while read POM OPT1 OPT2; do


In /usr/bin/mh_patchpoms line 132:
        if [ ! -z "$POM" ]; then
             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/mh_patchpoms line 133:
            cp $POM $POM.save
               ^--^ SC2086: Double quote to prevent globbing and word splitting.
                    ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
            cp "$POM" "$POM".save


In /usr/bin/mh_patchpoms line 136:
    java -cp $CLASSPATH $JAVA_OPTIONS org.debian.maven.repo.POMTransformer $DH_OPTS "${MH_ARGS[@]}"
             ^--------^ 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 "$DH_OPTS" "${MH_ARGS[@]}"

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- OPT1 appears unused. Verify use (...
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
  https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g...