Update so central profile matches SRx as well

This commit is contained in:
Spencer Gibb
2017-05-24 09:49:54 -06:00
parent ce3ec41282
commit 577a68cca5

3
mvnw vendored
View File

@@ -241,6 +241,9 @@ fi
if echo $VERSION | egrep -q 'RELEASE'; then
echo Activating \"central\" profile for version=\"$VERSION\"
echo $MAVEN_ARGS | grep -q milestone || MAVEN_ARGS="$MAVEN_ARGS -Pcentral"
elif echo $VERSION | egrep -q 'SR\d'; then
echo Activating \"central\" profile for version=\"$VERSION\"
echo $MAVEN_ARGS | grep -q milestone || MAVEN_ARGS="$MAVEN_ARGS -Pcentral"
else
echo Deactivating \"central\" profile for version=\"$VERSION\"
echo $MAVEN_ARGS | grep -q central && MAVEN_ARGS=$(echo $MAVEN_ARGS | sed -e 's/-Pcentral//')