Small improvement in s2i copy_mvn_repo.sh
#!/bin/bash
+export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
+set -x
PROJECT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
VERSION="$1"
@@ -6,7 +8,7 @@ TARGET_DIR="$2"
mkdir -p "$TARGET_DIR/m2"
cd ~/.m2/repository
-find ./io/syndesis | grep -F -- "/${VERSION}/" | xargs tar -c | tar -x -C "$TARGET_DIR/m2"
+find ./io/syndesis | grep -F -- "/${VERSION}/" | grep -v -- "-sources\." | grep -v -- "-tests\." | xargs tar -c | tar -vx -C "$TARGET_DIR/m2"
cp "${PROJECT_DIR}/src/main/docker/Dockerfile" $TARGET_DIR
