In /usr/bin/mh_installsite 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_installsite line 76: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installsite line 80: mh_cleanpom $DH_OPTS $CLEAN_ARGS $POM debian/.mh/pom.xml debian/.mh/pom.properties ^------^ 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: mh_cleanpom "$DH_OPTS" "$CLEAN_ARGS" "$POM" debian/.mh/pom.xml debian/.mh/pom.properties In /usr/bin/mh_installsite line 83: source debian/.mh/pom.properties ^-----------------------^ SC1091: Not following: debian/.mh/pom.properties was not specified as input (see shellcheck -x). In /usr/bin/mh_installsite line 85: groupPath=$(echo $groupId | tr . / ) ^------^ SC2154: groupId is referenced but not assigned. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: groupPath=$(echo "$groupId" | tr . / ) In /usr/bin/mh_installsite line 87: if [ ! -e $SITE_FILE ]; then ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ ! -e "$SITE_FILE" ]; then In /usr/bin/mh_installsite line 92: VERSIONED_SITE_NAME="${artifactId}-${version}-site.xml" ^-----------^ SC2154: artifactId is referenced but not assigned. ^--------^ SC2154: version is referenced but not assigned. In /usr/bin/mh_installsite line 93: DEBIAN_SITE_NAME="${artifactId}-${debianVersion}-site.xml" ^--------------^ SC2154: debianVersion is referenced but not assigned. In /usr/bin/mh_installsite line 104: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installsite line 108: cp ${srcSite} debian/.mh/${destSite} ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp "${srcSite}" debian/.mh/"${destSite}" In /usr/bin/mh_installsite line 109: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installsite line 112: install -m 644 -D debian/.mh/${destSite} debian/${PACKAGE}/${destDir}/${destSite} ^---------^ 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. ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: install -m 644 -D debian/.mh/"${destSite}" debian/"${PACKAGE}"/"${destDir}"/"${destSite}" For more information: https://www.shellcheck.net/wiki/SC2154 -- artifactId is referenced but not ... https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/share/maven-r... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...