chore(build): enforce strict checksum check by ...
...default
This then enables the re-use of the local maven repository in order to
speedup the build.
@@ -31,6 +31,7 @@ release::usage() {
Works only when on a branch, not when checked out directly.
--log <log-file> Write full log to <log-file>, only print progress to screen
--skip-tests Do not run tests
+ --no-strict-checksums Do not insist on strict checksum policy for downloaded Maven artifacts
EOT
}
@@ -440,6 +441,10 @@ extract_maven_opts() {
maven_opts="$maven_opts -DskipTests -DskipITs"
fi
+ if [ ! $(hasflag --no-strict-checksums) ]; then
+ maven_opts="$maven_opts -C"
+ fi
+
echo $maven_opts
}
