Added MAVEN_OPTS to build test commands.