In /usr/bin/mh_installpom 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_installpom line 142: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installpom line 146: mh_cleanpom $DH_OPTS $CLEAN_ARGS --keep-pom-version $POM debian/.mh/pom.xml.keep debian/.mh/pom.properties.keep ^------^ 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" --keep-pom-version "$POM" debian/.mh/pom.xml.keep debian/.mh/pom.properties.keep In /usr/bin/mh_installpom line 147: 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_installpom line 148: source debian/.mh/pom.properties ^-----------------------^ SC1091: Not following: debian/.mh/pom.properties was not specified as input (see shellcheck -x). In /usr/bin/mh_installpom line 150: 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_installpom line 152: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installpom line 153: echo -e "\tmv debian/.mh/pom.xml debian/.mh/${artifactId}-${debianVersion}.pom" ^-----------^ SC2154: artifactId is referenced but not assigned. ^--------------^ SC2154: debianVersion is referenced but not assigned. In /usr/bin/mh_installpom line 160: mv debian/.mh/pom.xml.keep debian/.mh/${artifactId}-${version}.pom ^-----------^ SC2086: Double quote to prevent globbing and word splitting. ^--------^ SC2154: version is referenced but not assigned. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mv debian/.mh/pom.xml.keep debian/.mh/"${artifactId}"-"${version}".pom In /usr/bin/mh_installpom line 161: mv debian/.mh/pom.xml debian/.mh/${artifactId}-${debianVersion}.pom ^-----------^ SC2086: Double quote to prevent globbing and word splitting. ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mv debian/.mh/pom.xml debian/.mh/"${artifactId}"-"${debianVersion}".pom In /usr/bin/mh_installpom line 163: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installpom line 167: install -m 644 -D debian/.mh/${artifactId}-${version}.pom debian/${PACKAGE}/usr/share/maven-repo/${groupPath}/${artifactId}/${version}/${artifactId}-${version}.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. ^----------^ 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: install -m 644 -D debian/.mh/"${artifactId}"-"${version}".pom debian/"${PACKAGE}"/usr/share/maven-repo/"${groupPath}"/"${artifactId}"/"${version}"/"${artifactId}"-"${version}".pom In /usr/bin/mh_installpom line 170: if [[ ! -z "$VERBOSE" || "$DH_VERBOSE" = "1" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installpom line 174: install -m 644 -D debian/.mh/${artifactId}-${debianVersion}.pom debian/${PACKAGE}/usr/share/maven-repo/${groupPath}/${artifactId}/${debianVersion}/${artifactId}-${debianVersion}.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. ^----------^ 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: install -m 644 -D debian/.mh/"${artifactId}"-"${debianVersion}".pom debian/"${PACKAGE}"/usr/share/maven-repo/"${groupPath}"/"${artifactId}"/"${debianVersion}"/"${artifactId}"-"${debianVersion}".pom In /usr/bin/mh_installpom line 177: if [[ ! -z "$RELOCATE" ]]; then ^-- SC2236: Use -n instead of ! -z. In /usr/bin/mh_installpom line 178: relocations=(${RELOCATE//,/ }) ^--------------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In /usr/bin/mh_installpom line 182: relocatedGAV=(${relocation//:/ }) ^----------------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a. In /usr/bin/mh_installpom line 191: relocatedGroupPath=$(echo $relocatedGroupId | tr . / ) ^---------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: relocatedGroupPath=$(echo "$relocatedGroupId" | tr . / ) In /usr/bin/mh_installpom line 196: mkdir -p ${relocatedPomPath} ^-----------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "${relocatedPomPath}" In /usr/bin/mh_installpom line 198: cat > ${relocatedPom} << EOF ^-------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cat > "${relocatedPom}" << EOF In /usr/bin/mh_installpom line 217: chmod 644 ${relocatedPom} ^-------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: chmod 644 "${relocatedPom}" For more information: https://www.shellcheck.net/wiki/SC2154 -- artifactId is referenced but not ... https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g... https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/share/maven-r...