Commit 18e262a7 authored by David Diederich's avatar David Diederich
Browse files

Add the --update-snapshots switch for maven to force refreshes on snapshot libraries

parent b107eb76
......@@ -70,7 +70,7 @@ compile-and-unit-test:
stage: build
script:
# First, build and deploy all the independent POM projects that we find
- xargs -0rn 1 -I {} sh -c "cd '{}' && $MAVEN deploy -DskipTests=true || exit 255" < $ALL_MAVEN_BUILD_DIRS_Z
- xargs -0rn 1 -I {} sh -c "cd '{}' && $MAVEN deploy --update-snapshots -DskipTests=true || exit 255" < $ALL_MAVEN_BUILD_DIRS_Z
# Then, run the unit tests on the main project only
- $MAVEN test
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment