|
3 | 3 |
|
4 | 4 | <groupId>datastax.cdm</groupId>
|
5 | 5 | <artifactId>cassandra-data-migrator</artifactId>
|
6 |
| - <version>4.1.10-SNAPSHOT</version> |
| 6 | + <version>4.1.11-SNAPSHOT</version> |
7 | 7 | <packaging>jar</packaging>
|
8 | 8 |
|
9 | 9 | <properties>
|
10 | 10 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
11 | 11 | <scala.version>2.13.12</scala.version>
|
12 | 12 | <scala.main.version>2.13</scala.main.version>
|
13 | 13 | <spark.version>3.4.1</spark.version>
|
14 |
| - <scalatest.version>3.2.17</scalatest.version> |
15 | 14 | <connector.version>3.4.1</connector.version>
|
16 | 15 | <cassandra.version>5.0-alpha1</cassandra.version>
|
17 | 16 | <junit.version>5.9.1</junit.version>
|
|
151 | 150 | </dependency>
|
152 | 151 |
|
153 | 152 | <!-- Test Dependencies -->
|
154 |
| - <dependency> |
155 |
| - <groupId>org.scalatest</groupId> |
156 |
| - <artifactId>scalatest_${scala.main.version}</artifactId> |
157 |
| - <version>${scalatest.version}</version> |
158 |
| - <scope>test</scope> |
159 |
| - </dependency> |
160 | 153 | <dependency>
|
161 | 154 | <groupId>org.junit.jupiter</groupId>
|
162 | 155 | <artifactId>junit-jupiter-engine</artifactId>
|
|
200 | 193 | </resources>
|
201 | 194 | <plugins>
|
202 | 195 | <plugin>
|
203 |
| - <groupId>net.alchim31.maven</groupId> |
204 |
| - <artifactId>scala-maven-plugin</artifactId> |
205 |
| - <version>4.8.0</version> |
206 |
| - <executions> |
207 |
| - <execution> |
208 |
| - <phase>process-sources</phase> |
209 |
| - <goals> |
210 |
| - <goal>compile</goal> |
211 |
| - <goal>testCompile</goal> |
212 |
| - </goals> |
| 196 | + <groupId>net.alchim31.maven</groupId> |
| 197 | + <artifactId>scala-maven-plugin</artifactId> |
| 198 | + <version>4.8.0</version> |
| 199 | + <executions> |
| 200 | + <execution> |
| 201 | + <phase>process-sources</phase> |
| 202 | + <goals> |
| 203 | + <goal>compile</goal> |
| 204 | + <goal>testCompile</goal> |
| 205 | + </goals> |
213 | 206 |
|
214 |
| - </execution> |
215 |
| - </executions> |
| 207 | + </execution> |
| 208 | + </executions> |
216 | 209 | </plugin>
|
| 210 | + |
| 211 | + <plugin> |
| 212 | + <groupId>org.apache.maven.plugins</groupId> |
| 213 | + <artifactId>maven-surefire-plugin</artifactId> |
| 214 | + <version>2.22.2</version> |
| 215 | + </plugin> |
| 216 | + |
217 | 217 | <plugin>
|
218 | 218 | <groupId>org.apache.maven.plugins</groupId>
|
219 | 219 | <artifactId>maven-shade-plugin</artifactId>
|
|
242 | 242 | </execution>
|
243 | 243 | </executions>
|
244 | 244 | </plugin>
|
245 |
| - <!-- Instructions from http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin --> |
246 |
| - <!-- disable surefire --> |
247 |
| - <plugin> |
248 |
| - <groupId>org.apache.maven.plugins</groupId> |
249 |
| - <artifactId>maven-surefire-plugin</artifactId> |
250 |
| - <version>2.22.2</version> |
251 |
| - <configuration> |
252 |
| - <skipTests>true</skipTests> |
253 |
| - </configuration> |
254 |
| - </plugin> |
255 |
| - <!-- enable scalatest --> |
256 |
| - <plugin> |
257 |
| - <groupId>org.scalatest</groupId> |
258 |
| - <artifactId>scalatest-maven-plugin</artifactId> |
259 |
| - <version>2.2.0</version> |
260 |
| - <configuration> |
261 |
| - <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
262 |
| - <junitxml>.</junitxml> |
263 |
| - <filereports>WDF TestSuite.txt</filereports> |
264 |
| - </configuration> |
265 |
| - <executions> |
266 |
| - <execution> |
267 |
| - <id>test</id> |
268 |
| - <goals> |
269 |
| - <goal>test</goal> |
270 |
| - </goals> |
271 |
| - </execution> |
272 |
| - </executions> |
273 |
| - </plugin> |
274 | 245 |
|
275 | 246 | <plugin>
|
276 | 247 | <groupId>org.apache.maven.plugins</groupId>
|
|
304 | 275 | <id>jacoco-check</id>
|
305 | 276 | <phase>test</phase>
|
306 | 277 | <goals>
|
307 |
| - <goal>check</goal> |
308 | 278 | <goal>report</goal>
|
| 279 | + <goal>check</goal> |
309 | 280 | </goals>
|
310 | 281 | <configuration>
|
311 |
| - <excludes> |
312 |
| - <!-- Excluding all the Scala classes --> |
313 |
| - <exclude>com.datastax.cdm.job.*</exclude> |
314 |
| - </excludes> |
315 | 282 | <rules>
|
316 | 283 | <rule>
|
317 | 284 | <element>BUNDLE</element>
|
318 | 285 | <limits>
|
319 | 286 | <limit>
|
320 | 287 | <counter>COMPLEXITY</counter>
|
321 | 288 | <value>COVEREDRATIO</value>
|
322 |
| -<!-- <minimum>0.33</minimum>--> |
323 |
| - <minimum>0</minimum> |
| 289 | + <minimum>0.33</minimum> |
324 | 290 | </limit>
|
325 | 291 | <limit>
|
326 | 292 | <counter>INSTRUCTION</counter>
|
327 | 293 | <value>COVEREDRATIO</value>
|
328 |
| -<!-- <minimum>41%</minimum>--> |
329 |
| - <minimum>0%</minimum> |
| 294 | + <minimum>45%</minimum> |
330 | 295 | </limit>
|
331 | 296 | <limit>
|
332 | 297 | <counter>LINE</counter>
|
333 | 298 | <value>MISSEDCOUNT</value>
|
334 |
| -<!-- <maximum>1544</maximum>--> |
335 |
| - <maximum>3085</maximum> |
| 299 | + <maximum>1500</maximum> |
336 | 300 | </limit>
|
337 | 301 | </limits>
|
338 | 302 | </rule>
|
|
0 commit comments