I am trying to build a simple Java project with Maven. In my pom-file I declare JUnit 4.8.2 as the only dependency. Still Maven insists on using JUnit version 3.8.1. How do
Add this dependency to your pom.xml file:
pom.xml
http://mvnrepository.com/artifact/junit/junit-dep/4.8.2
junit junit-dep 4.8.2