Hi,

(This is a one-liner with potential wide impact, so sending to dev
list).

Reading the output of check-release.sh is hard since recent versions of
Maven will use escape sequences to generate colored output. I proposed
that we use --batch-mode to prevent that in the check-release.sh
script.

Does anyone see an issue with that?

Thanks,
Robert

Index: check-release.sh
===================================================================
--- check-release.sh    (revision 45375)
+++ check-release.sh    (working copy)
@@ -226,7 +226,7 @@
 info ""
 info "   Running the Maven build: mvn clean verify $MVN_ARGS"
 info ""
-if (cd $ZIPDIR; exec mvn clean verify $MVN_ARGS) 2>> "$LOGFILE" 1>&2;
then
+if (cd $ZIPDIR; exec mvn --batch-mode clean verify $MVN_ARGS) 2>>
"$LOGFILE" 1>&2; then
   info "   OK: mvn clean verify $MVN_ARGS"
 else
   error "  NOT OK: mvn clean verify $MVN_ARGS"

Reply via email to