|
47 | 47 | <build> |
48 | 48 | <sourceDirectory>src/main/scala</sourceDirectory> |
49 | 49 | <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> |
50 | | - <testSourceDirectory>src/test/scala</testSourceDirectory> |
51 | 50 | <outputDirectory>target/classes</outputDirectory> |
52 | 51 | <testOutputDirectory>target/test-classes</testOutputDirectory> |
53 | 52 | <resources> |
|
131 | 130 | </launchers> |
132 | 131 | </configuration> |
133 | 132 | </plugin> |
| 133 | + <plugin> |
| 134 | + <groupId>org.apache.maven.plugins</groupId> |
| 135 | + <artifactId>maven-surefire-plugin</artifactId> |
| 136 | + <version>${surefire-version}</version> |
| 137 | + <configuration> |
| 138 | + <testNGArtifactName>none:none</testNGArtifactName> |
| 139 | + <reportsDirectory>${project.build.directory}/surefire-reports/scala</reportsDirectory> |
| 140 | + <excludes> |
| 141 | + <exclude>**/*TestNG.java</exclude> |
| 142 | + </excludes> |
| 143 | + </configuration> |
| 144 | + <executions> |
| 145 | + <execution> |
| 146 | + <id>test-testng</id> |
| 147 | + <phase>test</phase> |
| 148 | + <goals> |
| 149 | + <goal>test</goal> |
| 150 | + </goals> |
| 151 | + <configuration> |
| 152 | + <junitArtifactName>none:none</junitArtifactName> |
| 153 | + <testNGArtifactName>org.testng:testng</testNGArtifactName> |
| 154 | + <reportsDirectory>${project.build.directory}/surefire-reports/java</reportsDirectory> |
| 155 | + <includes> |
| 156 | + <include>**/*TestNG.java</include> |
| 157 | + </includes> |
| 158 | + <excludes> |
| 159 | + <exclude>**/*Test.java</exclude> |
| 160 | + </excludes> |
| 161 | + </configuration> |
| 162 | + </execution> |
| 163 | + </executions> |
| 164 | + </plugin> |
134 | 165 | <plugin> |
135 | 166 | <groupId>org.apache.maven.plugins</groupId> |
136 | 167 | <artifactId>maven-source-plugin</artifactId> |
|
468 | 499 | <version>${junit-version}</version> |
469 | 500 | <scope>test</scope> |
470 | 501 | </dependency> |
| 502 | + <dependency> |
| 503 | + <groupId>org.testng</groupId> |
| 504 | + <artifactId>testng</artifactId> |
| 505 | + <version>${testng-version}</version> |
| 506 | + <scope>test</scope> |
| 507 | + </dependency> |
471 | 508 | <dependency> |
472 | 509 | <groupId>javax.servlet</groupId> |
473 | 510 | <artifactId>servlet-api</artifactId> |
|
517 | 554 | <logback-version>1.0.1</logback-version> |
518 | 555 |
|
519 | 556 | <junit-version>4.8.2</junit-version> |
| 557 | + <testng-version>6.9.4</testng-version> |
| 558 | + <surefire-version>2.18.1</surefire-version> |
520 | 559 | <maven-plugin-version>1.0.0</maven-plugin-version> |
521 | 560 | <commons-lang-version>3.2.1</commons-lang-version> |
522 | 561 | <slf4j-version>1.6.3</slf4j-version> |
|
0 commit comments