Skip to content

Commit 8a9e5c5

Browse files
committed
Fix some Maven warnings about missing plugin versions
1 parent ee50355 commit 8a9e5c5

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

pom.xml

+34-31
Original file line numberDiff line numberDiff line change
@@ -220,16 +220,23 @@
220220
<plugin>
221221
<artifactId>maven-compiler-plugin</artifactId>
222222
<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>
229227
</plugin>
230228
</plugins>
231229
</pluginManagement>
232230
<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>
233240
<plugin>
234241
<groupId>com.mycila</groupId>
235242
<artifactId>license-maven-plugin</artifactId>
@@ -349,6 +356,7 @@
349356
<artifactId>maven-dependency-plugin</artifactId>
350357
<executions>
351358
<execution>
359+
<!-- Prepare standalone DynamoDB instance (Integration testing) -->
352360
<id>unpack-dynamodb-local</id>
353361
<goals>
354362
<goal>unpack</goal>
@@ -367,6 +375,26 @@
367375
</artifactItems>
368376
</configuration>
369377
</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>
370398
</executions>
371399
</plugin>
372400
<plugin>
@@ -423,31 +451,6 @@
423451
</execution>
424452
</executions>
425453
</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>
451454
<plugin>
452455
<groupId>org.apache.maven.plugins</groupId>
453456
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)