Use a private temporary directory for builds. MAVEN_OPTS equivalent:
Unset
no option
Set
-Djava.io.tmpdir=$WORKSPACE/.maven/tmp