Error in POM.XML

A discussion forum for the JCommon class library.

Error in POM.XML

Postby 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>
pprados
 
Posts: 1
Joined: Fri Jul 04, 2008 4:07 pm

Return to JCommon

Who is online

Users browsing this forum: No registered users and 1 guest

cron