Skip to content

Commit 63bec3a

Browse files
authored
Update pom.xml
1 parent d5e0111 commit 63bec3a

File tree

1 file changed

+59
-40
lines changed

1 file changed

+59
-40
lines changed

javav2/example_code/athena/pom.xml

Lines changed: 59 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,67 @@
66
<version>1.0.0</version>
77

88
<properties>
9-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10-
<java.version>1.8</java.version>
11-
</properties>
12-
13-
<build>
14-
<plugins>
15-
<plugin>
16-
<groupId>org.apache.maven.plugins</groupId>
17-
<artifactId>maven-compiler-plugin</artifactId>
18-
<version>3.1</version>
19-
<configuration>
20-
<source>${java.version}</source>
21-
<target>${java.version}</target>
22-
</configuration>
23-
</plugin>
24-
</plugins>
25-
</build>
26-
9+
<maven.compiler.target>1.8</maven.compiler.target>
10+
<maven.compiler.source>1.8</maven.compiler.source>
11+
</properties>
12+
<build>
13+
<plugins>
14+
<plugin>
15+
<groupId>org.apache.maven.plugins</groupId>
16+
<artifactId>maven-surefire-plugin</artifactId>
17+
<version>2.22.1</version>
18+
</plugin>
19+
</plugins>
20+
</build>
2721
<dependencyManagement>
22+
<dependencies>
23+
<dependency>
24+
<groupId>software.amazon.awssdk</groupId>
25+
<artifactId>bom</artifactId>
26+
<version>2.10.30</version>
27+
<type>pom</type>
28+
<scope>import</scope>
29+
</dependency>
30+
</dependencies>
31+
</dependencyManagement>
2832
<dependencies>
29-
<dependency>
30-
<groupId>com.amazonaws</groupId>
31-
<artifactId>aws-java-sdk-bom</artifactId>
32-
<version>1.11.354</version>
33-
<type>pom</type>
34-
<scope>import</scope>
35-
</dependency>
33+
<dependency>
34+
<groupId>org.junit.jupiter</groupId>
35+
<artifactId>junit-jupiter-api</artifactId>
36+
<version>5.4.2</version>
37+
<scope>test</scope>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.junit.jupiter</groupId>
41+
<artifactId>junit-jupiter-engine</artifactId>
42+
<version>5.4.2</version>
43+
<scope>test</scope>
44+
</dependency>
45+
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-commons -->
46+
<dependency>
47+
<groupId>org.junit.platform</groupId>
48+
<artifactId>junit-platform-commons</artifactId>
49+
<version>1.4.0</version>
50+
</dependency>
51+
52+
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
53+
<dependency>
54+
<groupId>org.junit.platform</groupId>
55+
<artifactId>junit-platform-launcher</artifactId>
56+
<version>1.4.0</version>
57+
<scope>test</scope>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.slf4j</groupId>
61+
<artifactId>slf4j-log4j12</artifactId>
62+
<version>1.7.25</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>software.amazon.awssdk</groupId>
66+
<artifactId>athena</artifactId>
67+
<version>2.10.86</version>
68+
</dependency>
3669
</dependencies>
37-
</dependencyManagement>
38-
39-
<dependencies>
40-
<dependency>
41-
<groupId>junit</groupId>
42-
<artifactId>junit</artifactId>
43-
<version>4.11</version>
44-
<scope>test</scope>
45-
</dependency>
46-
<dependency>
47-
<groupId>software.amazon.awssdk</groupId>
48-
<artifactId>athena</artifactId>
49-
<version>2.10.86</version>
50-
</dependency>
51-
</dependencies>
70+
5271
</project>
5372

0 commit comments

Comments
 (0)