|
220 | 220 | <plugin> |
221 | 221 | <artifactId>maven-compiler-plugin</artifactId> |
222 | 222 | <version>3.1</version> |
223 | | - <configuration> |
224 | | - <compilerArgs> |
225 | | - <compilerArg>-Xlint:unchecked</compilerArg> |
226 | | - <compilerArg>-Xlint:deprecation</compilerArg> |
227 | | - </compilerArgs> |
228 | | - </configuration> |
| 223 | + </plugin> |
| 224 | + <plugin> |
| 225 | + <artifactId>maven-surefire-plugin</artifactId> |
| 226 | + <version>2.20.1</version> |
229 | 227 | </plugin> |
230 | 228 | </plugins> |
231 | 229 | </pluginManagement> |
232 | 230 | <plugins> |
| 231 | + <plugin> |
| 232 | + <artifactId>maven-compiler-plugin</artifactId> |
| 233 | + <configuration> |
| 234 | + <compilerArgs> |
| 235 | + <compilerArg>-Xlint:unchecked</compilerArg> |
| 236 | + <compilerArg>-Xlint:deprecation</compilerArg> |
| 237 | + </compilerArgs> |
| 238 | + </configuration> |
| 239 | + </plugin> |
233 | 240 | <plugin> |
234 | 241 | <groupId>com.mycila</groupId> |
235 | 242 | <artifactId>license-maven-plugin</artifactId> |
|
349 | 356 | <artifactId>maven-dependency-plugin</artifactId> |
350 | 357 | <executions> |
351 | 358 | <execution> |
| 359 | + <!-- Prepare standalone DynamoDB instance (Integration testing) --> |
352 | 360 | <id>unpack-dynamodb-local</id> |
353 | 361 | <goals> |
354 | 362 | <goal>unpack</goal> |
|
367 | 375 | </artifactItems> |
368 | 376 | </configuration> |
369 | 377 | </execution> |
| 378 | + <execution> |
| 379 | + <!-- Prepare SQLite for in-memory DynamoDB instance (Unit testing) --> |
| 380 | + <id>copy</id> |
| 381 | + <phase>test-compile</phase> |
| 382 | + <goals> |
| 383 | + <goal>copy</goal> |
| 384 | + </goals> |
| 385 | + <configuration> |
| 386 | + <artifactItems> |
| 387 | + <artifactItem> |
| 388 | + <groupId>com.almworks.sqlite4java</groupId> |
| 389 | + <artifactId>${sqlite4java.artifactId}</artifactId> |
| 390 | + <version>${sqlite4java.version}</version> |
| 391 | + <type>${sqlite4java.type}</type> |
| 392 | + <overWrite>true</overWrite> |
| 393 | + <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 394 | + </artifactItem> |
| 395 | + </artifactItems> |
| 396 | + </configuration> |
| 397 | + </execution> |
370 | 398 | </executions> |
371 | 399 | </plugin> |
372 | 400 | <plugin> |
|
423 | 451 | </execution> |
424 | 452 | </executions> |
425 | 453 | </plugin> |
426 | | - <plugin> |
427 | | - <groupId>org.apache.maven.plugins</groupId> |
428 | | - <artifactId>maven-dependency-plugin</artifactId> |
429 | | - <executions> |
430 | | - <execution> |
431 | | - <id>copy</id> |
432 | | - <phase>test-compile</phase> |
433 | | - <goals> |
434 | | - <goal>copy</goal> |
435 | | - </goals> |
436 | | - <configuration> |
437 | | - <artifactItems> |
438 | | - <artifactItem> |
439 | | - <groupId>com.almworks.sqlite4java</groupId> |
440 | | - <artifactId>${sqlite4java.artifactId}</artifactId> |
441 | | - <version>${sqlite4java.version}</version> |
442 | | - <type>${sqlite4java.type}</type> |
443 | | - <overWrite>true</overWrite> |
444 | | - <outputDirectory>${project.build.directory}/lib</outputDirectory> |
445 | | - </artifactItem> |
446 | | - </artifactItems> |
447 | | - </configuration> |
448 | | - </execution> |
449 | | - </executions> |
450 | | - </plugin> |
451 | 454 | <plugin> |
452 | 455 | <groupId>org.apache.maven.plugins</groupId> |
453 | 456 | <artifactId>maven-surefire-plugin</artifactId> |
|
0 commit comments