diff --git a/ci.sh b/ci.sh index 8a9725dae1..064634f071 100755 --- a/ci.sh +++ b/ci.sh @@ -179,7 +179,11 @@ fi mkdir -p $DEPLOY_DIR > /dev/null 2>&1 - cp $DIR/maven-components/maven-cli/target/*.tar.gz $DEPLOY_DIR/$DIST + if [ -f $DIR/maven-components/maven-cli ]; then + cp $DIR/maven-components/maven-cli/target/*.tar.gz $DEPLOY_DIR/$DIST + else + cp $DIR/maven-components/maven-core/target/*.tar.gz $DEPLOY_DIR/$DIST + fi else