#3 Dependency scope of junit is wrong

open
nobody
None
5
2009-02-06
2009-02-06
bmar
No

Why do you have a compile scoped dependency to junit?

Change dependency scope of junit 3.8.1 to "test" instead of "compile" in your pom.xml.

OLD:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>compile</scope>
</dependency>

NEW:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>

Discussion