Error in POM.XML

A discussion forum for the JCommon class library.
Post Reply
pprados
Posts: 1
Joined: Fri Jul 04, 2008 4:07 pm

Error in POM.XML

Post by pprados » Fri Jul 04, 2008 4:11 pm

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>

Post Reply