# Uses wget to fetch a project's maven-metadata.xml files from a Maven repository.
# Check for "-f" maven param, indicating a change in pom location.
pom_path="pom.xml"
file_path=$(echo $MAVEN_PARAMS | grep -E "\-f \S+" | awk '{ print $2 }')
if [ ! -z $file_path ]; then
# Uses wget to fetch a project's maven-metadata.xml files from a Maven repository.
# Check for "-f" maven param, indicating a change in pom location.
pom_path="pom.xml"
file_path=$(echo $MAVEN_PARAMS | grep -E "\-f \S+" | awk '{ print $2 }')
if [ ! -z $file_path ]; then