guard: work around mvn test/compile mistakes