compile: Set MAVEN_OPTS for cache