use staging while building Jersey
Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com>
diff --git a/etc/travis/travis.sh b/etc/travis/travis.sh
index c71dbc3..cbd0a16 100644
--- a/etc/travis/travis.sh
+++ b/etc/travis/travis.sh
@@ -30,7 +30,7 @@
if [ "$1" = "glassfish-copyright:copyright" ]; then
mvn glassfish-copyright:copyright
else
- mvn -e -U -B -Peclipse_repo clean install $1 >> $BUILD_OUTPUT 2>&1
+ mvn -e -U -B -Peclipse_repo,staging clean install $1 >> $BUILD_OUTPUT 2>&1
fi
# The build finished without returning an error so dump a tail of the output