In /usr/bin/mh_linkjar 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_linkjar line 103: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_linkjar line 107: 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_linkjar line 110: source debian/.mh/pom.properties ^-----------------------^ SC1091: Not following: debian/.mh/pom.properties was not specified as input (see shellcheck -x). In /usr/bin/mh_linkjar line 112: 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_linkjar line 115: CLASSIFIER=$classifier ^---------^ SC2154: classifier is referenced but not assigned (did you mean 'CLASSIFIER'?). In /usr/bin/mh_linkjar line 118: VERSIONED_JAR_NAME="${artifactId}-${version}.jar" ^-----------^ SC2154: artifactId is referenced but not assigned. ^--------^ SC2154: version is referenced but not assigned. In /usr/bin/mh_linkjar line 119: if [ ! -z "$CLASSIFIER" ]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_linkjar line 123: DEBIAN_JAR_NAME="${artifactId}-${debianVersion}.jar" ^--------------^ SC2154: debianVersion is referenced but not assigned. In /usr/bin/mh_linkjar line 124: if [ ! -z "$CLASSIFIER" ]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_linkjar line 150: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_linkjar line 153: dh_link $DH_OPTS -p${PACKAGE} ${srcDir}/${srcJar} ${destDir}/${destJar} ^------^ 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. ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: dh_link "$DH_OPTS" -p"${PACKAGE}" "${srcDir}"/"${srcJar}" "${destDir}"/"${destJar}" In /usr/bin/mh_linkjar line 156: TARGET_DIR=$(dirname $JAR) ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: TARGET_DIR=$(dirname "$JAR") In /usr/bin/mh_linkjar line 157: TARGET_JAR=$(basename $JAR) ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: TARGET_JAR=$(basename "$JAR") In /usr/bin/mh_linkjar line 167: for (( i=2; i < $ARGC; i++ )); do ^---^ SC2004: $/${} is unnecessary on arithmetic variables. In /usr/bin/mh_linkjar line 169: link_jar "$TARGET_DIR" "$TARGET_JAR" "$(dirname $LINK_JAR)" "$(basename $LINK_JAR)" ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: link_jar "$TARGET_DIR" "$TARGET_JAR" "$(dirname "$LINK_JAR")" "$(basename "$LINK_JAR")" 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 ...