In /usr/bin/mh_installjar 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_installjar line 115: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installjar line 119: 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_installjar line 122: source debian/.mh/pom.properties ^-----------------------^ SC1091: Not following: debian/.mh/pom.properties was not specified as input (see shellcheck -x). In /usr/bin/mh_installjar line 124: 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_installjar line 127: CLASSIFIER=$classifier ^---------^ SC2154: classifier is referenced but not assigned (did you mean 'CLASSIFIER'?). In /usr/bin/mh_installjar line 130: if [ ! -e $JAR ]; then ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ ! -e "$JAR" ]; then In /usr/bin/mh_installjar line 135: VERSIONED_JAR_NAME="${artifactId}-${version}.jar" ^-----------^ SC2154: artifactId is referenced but not assigned. ^--------^ SC2154: version is referenced but not assigned. In /usr/bin/mh_installjar line 136: if [ ! -z "$CLASSIFIER" ]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installjar line 140: DEBIAN_JAR_NAME="${artifactId}-${debianVersion}.jar" ^--------------^ SC2154: debianVersion is referenced but not assigned. In /usr/bin/mh_installjar line 141: if [ ! -z "$CLASSIFIER" ]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installjar line 162: TARGET_DIR=$(dirname $TARGET_JAR_PATH) ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: TARGET_DIR=$(dirname "$TARGET_JAR_PATH") In /usr/bin/mh_installjar line 163: TARGET_JAR=$(basename $TARGET_JAR_PATH) ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: TARGET_JAR=$(basename "$TARGET_JAR_PATH") In /usr/bin/mh_installjar line 175: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installjar line 184: cp ${srcJar} debian/.mh/${destJar} ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp "${srcJar}" debian/.mh/"${destJar}" In /usr/bin/mh_installjar line 185: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installjar line 188: install -m 644 -D debian/.mh/${destJar} debian/${PACKAGE}/${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. Did you mean: install -m 644 -D debian/.mh/"${destJar}" debian/"${PACKAGE}"/"${destDir}"/"${destJar}" In /usr/bin/mh_installjar line 190: JAR_INSTALLED=done ^-- SC1010: Use semicolon or linefeed before 'done' (or quote to make it literal). In /usr/bin/mh_installjar line 192: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installjar line 195: 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_installjar line 210: for (( i=2; i < $ARGC; i++ )); do ^---^ SC2004: $/${} is unnecessary on arithmetic variables. In /usr/bin/mh_installjar line 212: install_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: install_jar "$TARGET_DIR" "$TARGET_JAR" "$(dirname "$LINK_JAR")" "$(basename "$LINK_JAR")" For more information: https://www.shellcheck.net/wiki/SC1010 -- Use semicolon or linefeed before ... https://www.shellcheck.net/wiki/SC2154 -- artifactId is referenced but not ... https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/share/maven-r...