Move maven test to a second command, and do a clean step to clean up from the install phase.