|
|
@@ -42,14 +42,19 @@
|
|
|
<groupId>org.scalatra</groupId>
|
|
|
<artifactId>scalatra_2.10</artifactId>
|
|
|
<version>${scalatra.version}</version>
|
|
|
- <scope>compile</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.scalatra</groupId>
|
|
|
<artifactId>scalatra-json_2.10</artifactId>
|
|
|
<version>${scalatra.version}</version>
|
|
|
- <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.scalatra</groupId>
|
|
|
+ <artifactId>scalatra-scalatest_2.10</artifactId>
|
|
|
+ <version>${scalatra.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
@@ -133,6 +138,35 @@
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
+ <!-- disable surefire -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <version>2.7</version>
|
|
|
+ <configuration>
|
|
|
+ <skipTests>true</skipTests>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <!-- enable scalatest -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.scalatest</groupId>
|
|
|
+ <artifactId>scalatest-maven-plugin</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ <configuration>
|
|
|
+ <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
|
|
+ <junitxml>.</junitxml>
|
|
|
+ <filereports>WDF TestSuite.txt</filereports>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>test</id>
|
|
|
+ <goals>
|
|
|
+ <goal>test</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|