Skip to content

Commit 5f35fc0

Browse files
committed
updated POM files
1 parent b93b514 commit 5f35fc0

File tree

10 files changed

+49
-272
lines changed

10 files changed

+49
-272
lines changed

javav2/example_code/rds/pom.xml

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<plugin>
2727
<groupId>org.apache.maven.plugins</groupId>
2828
<artifactId>maven-surefire-plugin</artifactId>
29-
<version>2.22.1</version>
29+
<version>3.5.2</version>
3030
</plugin>
3131
</plugins>
3232
</build>
@@ -39,16 +39,15 @@
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>
42-
<dependency>
43-
<groupId>org.junit</groupId>
44-
<artifactId>junit-bom</artifactId>
45-
<version>5.9.2</version>
46-
<type>pom</type>
47-
<scope>import</scope>
48-
</dependency>
4942
</dependencies>
5043
</dependencyManagement>
5144
<dependencies>
45+
<dependency>
46+
<groupId>org.junit.jupiter</groupId>
47+
<artifactId>junit-jupiter</artifactId>
48+
<version>5.11.4</version>
49+
<scope>test</scope>
50+
</dependency>
5251
<dependency>
5352
<groupId>mysql</groupId>
5453
<artifactId>mysql-connector-java</artifactId>
@@ -71,28 +70,6 @@
7170
<groupId>software.amazon.awssdk</groupId>
7271
<artifactId>rdsdata</artifactId>
7372
</dependency>
74-
<dependency>
75-
<groupId>org.junit.jupiter</groupId>
76-
<artifactId>junit-jupiter-api</artifactId>
77-
<scope>test</scope>
78-
</dependency>
79-
<dependency>
80-
<groupId>org.junit.jupiter</groupId>
81-
<artifactId>junit-jupiter-engine</artifactId>
82-
<scope>test</scope>
83-
</dependency>
84-
<dependency>
85-
<groupId>org.junit.platform</groupId>
86-
<artifactId>junit-platform-commons</artifactId>
87-
<version>1.4.0</version>
88-
<scope>test</scope>
89-
</dependency>
90-
<dependency>
91-
<groupId>org.junit.platform</groupId>
92-
<artifactId>junit-platform-launcher</artifactId>
93-
<version>1.4.0</version>
94-
<scope>test</scope>
95-
</dependency>
9673
<dependency>
9774
<groupId>org.bouncycastle</groupId>
9875
<artifactId>bcprov-jdk16</artifactId>

javav2/example_code/redshift/pom.xml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@
3232
<plugin>
3333
<groupId>org.apache.maven.plugins</groupId>
3434
<artifactId>maven-surefire-plugin</artifactId>
35-
<version>2.22.1</version>
36-
<configuration>
37-
<groups>IntegrationTest</groups>
38-
</configuration>
35+
<version>3.5.2</version>
3936
</plugin>
4037
</plugins>
4138
</build>
@@ -55,24 +52,13 @@
5552
<type>pom</type>
5653
<scope>import</scope>
5754
</dependency>
58-
<dependency>
59-
<groupId>org.junit</groupId>
60-
<artifactId>junit-bom</artifactId>
61-
<version>5.9.2</version>
62-
<type>pom</type>
63-
<scope>import</scope>
64-
</dependency>
6555
</dependencies>
6656
</dependencyManagement>
6757
<dependencies>
68-
<dependency>
69-
<groupId>org.junit.jupiter</groupId>
70-
<artifactId>junit-jupiter-api</artifactId>
71-
<scope>test</scope>
72-
</dependency>
7358
<dependency>
7459
<groupId>org.junit.jupiter</groupId>
75-
<artifactId>junit-jupiter-engine</artifactId>
60+
<artifactId>junit-jupiter</artifactId>
61+
<version>5.11.4</version>
7662
<scope>test</scope>
7763
</dependency>
7864
<dependency>
@@ -96,11 +82,6 @@
9682
<groupId>software.amazon.awssdk</groupId>
9783
<artifactId>ssooidc</artifactId>
9884
</dependency>
99-
<dependency>
100-
<groupId>org.junit.platform</groupId>
101-
<artifactId>junit-platform-commons</artifactId>
102-
<version>1.9.2</version>
103-
</dependency>
10485
<dependency>
10586
<groupId>org.json</groupId>
10687
<artifactId>json</artifactId>
@@ -116,12 +97,6 @@
11697
<artifactId>jackson-databind</artifactId>
11798
<version>2.14.2</version>
11899
</dependency>
119-
<dependency>
120-
<groupId>org.junit.platform</groupId>
121-
<artifactId>junit-platform-launcher</artifactId>
122-
<version>1.9.2</version>
123-
<scope>test</scope>
124-
</dependency>
125100
<dependency>
126101
<groupId>software.amazon.awssdk</groupId>
127102
<artifactId>redshift</artifactId>

javav2/example_code/rekognition/pom.xml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
<plugin>
2727
<groupId>org.apache.maven.plugins</groupId>
2828
<artifactId>maven-surefire-plugin</artifactId>
29-
<version>2.22.1</version>
30-
<configuration>
31-
<groups>IntegrationTest</groups>
32-
</configuration>
29+
<version>3.5.2</version>
3330
</plugin>
3431
</plugins>
3532
</build>
@@ -42,35 +39,13 @@
4239
<type>pom</type>
4340
<scope>import</scope>
4441
</dependency>
45-
<dependency>
46-
<groupId>org.junit</groupId>
47-
<artifactId>junit-bom</artifactId>
48-
<version>5.9.2</version>
49-
<type>pom</type>
50-
<scope>import</scope>
51-
</dependency>
5242
</dependencies>
5343
</dependencyManagement>
5444
<dependencies>
5545
<dependency>
5646
<groupId>org.junit.jupiter</groupId>
57-
<artifactId>junit-jupiter-api</artifactId>
58-
<scope>test</scope>
59-
</dependency>
60-
<dependency>
61-
<groupId>org.junit.jupiter</groupId>
62-
<artifactId>junit-jupiter-engine</artifactId>
63-
<scope>test</scope>
64-
</dependency>
65-
<dependency>
66-
<groupId>org.junit.platform</groupId>
67-
<artifactId>junit-platform-commons</artifactId>
68-
<version>1.9.2</version>
69-
</dependency>
70-
<dependency>
71-
<groupId>org.junit.platform</groupId>
72-
<artifactId>junit-platform-launcher</artifactId>
73-
<version>1.9.2</version>
47+
<artifactId>junit-jupiter</artifactId>
48+
<version>5.11.4</version>
7449
<scope>test</scope>
7550
</dependency>
7651
<dependency>

javav2/example_code/route53/pom.xml

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
<plugin>
2727
<groupId>org.apache.maven.plugins</groupId>
2828
<artifactId>maven-surefire-plugin</artifactId>
29-
<version>2.22.1</version>
30-
<configuration>
31-
<groups>IntegrationTest</groups>
32-
</configuration>
29+
<version>3.5.2</version>
3330
</plugin>
3431
</plugins>
3532
</build>
@@ -42,25 +39,19 @@
4239
<type>pom</type>
4340
<scope>import</scope>
4441
</dependency>
45-
<dependency>
46-
<groupId>org.junit</groupId>
47-
<artifactId>junit-bom</artifactId>
48-
<version>5.9.2</version>
49-
<type>pom</type>
50-
<scope>import</scope>
51-
</dependency>
5242
</dependencies>
5343
</dependencyManagement>
5444
<dependencies>
55-
<dependency>
56-
<groupId>software.amazon.awssdk</groupId>
57-
<artifactId>route53</artifactId>
58-
</dependency>
5945
<dependency>
6046
<groupId>org.junit.jupiter</groupId>
61-
<artifactId>junit-jupiter-api</artifactId>
47+
<artifactId>junit-jupiter</artifactId>
48+
<version>5.11.4</version>
6249
<scope>test</scope>
6350
</dependency>
51+
<dependency>
52+
<groupId>software.amazon.awssdk</groupId>
53+
<artifactId>route53</artifactId>
54+
</dependency>
6455
<dependency>
6556
<groupId>software.amazon.awssdk</groupId>
6657
<artifactId>secretsmanager</artifactId>
@@ -74,22 +65,6 @@
7465
<groupId>software.amazon.awssdk</groupId>
7566
<artifactId>route53domains</artifactId>
7667
</dependency>
77-
<dependency>
78-
<groupId>org.junit.jupiter</groupId>
79-
<artifactId>junit-jupiter-engine</artifactId>
80-
<scope>test</scope>
81-
</dependency>
82-
<dependency>
83-
<groupId>org.junit.platform</groupId>
84-
<artifactId>junit-platform-commons</artifactId>
85-
<version>1.9.2</version>
86-
</dependency>
87-
<dependency>
88-
<groupId>org.junit.platform</groupId>
89-
<artifactId>junit-platform-launcher</artifactId>
90-
<version>1.9.2</version>
91-
<scope>test</scope>
92-
</dependency>
9368
<dependency>
9469
<groupId>software.amazon.awssdk</groupId>
9570
<artifactId>sso</artifactId>

javav2/example_code/route53recoverycluster/pom.xml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,13 @@
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>
24-
<dependency>
25-
<groupId>org.junit</groupId>
26-
<artifactId>junit-bom</artifactId>
27-
<version>5.9.2</version>
28-
<type>pom</type>
29-
<scope>import</scope>
30-
</dependency>
3124
</dependencies>
3225
</dependencyManagement>
3326
<dependencies>
3427
<dependency>
35-
<groupId>junit</groupId>
36-
<artifactId>junit</artifactId>
37-
<version>3.8.1</version>
28+
<groupId>org.junit.jupiter</groupId>
29+
<artifactId>junit-jupiter</artifactId>
30+
<version>5.11.4</version>
3831
<scope>test</scope>
3932
</dependency>
4033
<dependency>

javav2/example_code/s3/pom.xml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
<plugin>
1818
<groupId>org.apache.maven.plugins</groupId>
1919
<artifactId>maven-surefire-plugin</artifactId>
20-
<version>3.1.2</version>
21-
<configuration>
22-
<groups>IntegrationTest</groups>
23-
</configuration>
20+
<version>3.5.2</version>
2421
</plugin>
2522
<plugin>
2623
<groupId>org.apache.maven.plugins</groupId>
@@ -62,13 +59,6 @@
6259
<type>pom</type>
6360
<scope>import</scope>
6461
</dependency>
65-
<dependency>
66-
<groupId>org.junit</groupId>
67-
<artifactId>junit-bom</artifactId>
68-
<version>5.9.2</version>
69-
<type>pom</type>
70-
<scope>import</scope>
71-
</dependency>
7262
<dependency>
7363
<groupId>org.apache.logging.log4j</groupId>
7464
<artifactId>log4j-bom</artifactId>
@@ -81,39 +71,24 @@
8171
<dependencies>
8272
<dependency>
8373
<groupId>org.junit.jupiter</groupId>
84-
<artifactId>junit-jupiter-api</artifactId>
74+
<artifactId>junit-jupiter</artifactId>
75+
<version>5.11.4</version>
8576
<scope>test</scope>
8677
</dependency>
8778
<dependency>
8879
<groupId>software.amazon.awssdk</groupId>
8980
<artifactId>cloudformation</artifactId>
9081
</dependency>
91-
<dependency>
92-
<groupId>org.junit.jupiter</groupId>
93-
<artifactId>junit-jupiter-engine</artifactId>
94-
<scope>test</scope>
95-
</dependency>
9682
<dependency>
9783
<groupId>com.fasterxml.jackson.core</groupId>
9884
<artifactId>jackson-databind</artifactId>
9985
<version>2.14.2</version>
10086
</dependency>
101-
<dependency>
102-
<groupId>org.junit.platform</groupId>
103-
<artifactId>junit-platform-commons</artifactId>
104-
<version>1.9.2</version>
105-
</dependency>
10687
<dependency>
10788
<groupId>software.amazon.awssdk.crt</groupId>
10889
<artifactId>aws-crt</artifactId>
10990
<version>0.29.25</version>
11091
</dependency>
111-
<dependency>
112-
<groupId>org.junit.platform</groupId>
113-
<artifactId>junit-platform-launcher</artifactId>
114-
<version>1.9.2</version>
115-
<scope>test</scope>
116-
</dependency>
11792
<dependency>
11893
<groupId>software.amazon.awssdk</groupId>
11994
<artifactId>s3</artifactId>

0 commit comments

Comments
 (0)