Configure Maven directories and dependencies for test