-#!/bin/bash
+#!/bin/sh
echo "---> releng-maven-mri-stage.sh"
# This script publishes artifacts to a staging repo in Nexus and exports the karaf bundle URL.
# $STAGING_PROFILE_ID : Provided by a job parameter.
# Ensure we fail the job if any steps fail.
+# shellcheck disable=SC2039,SC3040
set -xeu -o pipefail
TMP_FILE="$(mktemp)"