Page 1 of 1

Error in POM.XML

Posted: Fri Jul 04, 2008 4:11 pm
by pprados
The pom.xml declare JUnit with the scope "compile". It's may be "test", else the project inject JUnit.

I suggest to replace :

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8</version>
<scope>compile</scope>
</dependency>

to

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8</version>
<scope>test</scope>
</dependency>