added JUnit dependency and maven compiler plugin