compile and test using maven