Closed brandon-arnold closed 9 years ago
I got help from @etorreborre with the same issue raised here. The pom.xml
dependencies section needs a reference to specs2-junit, viz:
<dependency>
<groupId>org.specs2</groupId>
<artifactId>specs2-junit_${scala.compat.version}</artifactId>
<version>2.4.16</version>
<scope>test</scope>
</dependency>
@brandon-arnold Thanks for the solution.
I'm on Windows with the Scala Eclipse, and I'm trying to create this archetype. It should be the latest, net.alchim31.maven scala-archetype-simple version 1.6. For some reason the samples/specs.scala line 18,
Is throwing an error,
not found: type JUnitRunner
. I can see that the org.specs2.runner does not have a reference to this class. Can someone tell me which version of the library should reference, and why it isn't coming down by default from maven?pom.xml: