Skip to content

Commit b93b514

Browse files
committed
updated POM files
1 parent b177106 commit b93b514

File tree

8 files changed

+29
-150
lines changed

8 files changed

+29
-150
lines changed

javav2/example_code/comprehend/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>ComprehendJ2</groupId>
77
<artifactId>ComprehendJ2</artifactId>
88
<version>1.0-SNAPSHOT</version>
9-
<properties>
9+
<properties>
1010
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1111
<java.version>17</java.version>
1212
<maven.compiler.target>17</maven.compiler.target>

javav2/example_code/mq/pom.xml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,33 +24,34 @@
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
27-
<dependency>
28-
<groupId>org.junit</groupId>
29-
<artifactId>junit-bom</artifactId>
30-
<version>5.9.2</version>
31-
<type>pom</type>
32-
<scope>import</scope>
33-
</dependency>
3427
</dependencies>
3528
</dependencyManagement>
36-
3729
<dependencies>
30+
<dependency>
31+
<groupId>org.junit.jupiter</groupId>
32+
<artifactId>junit-jupiter</artifactId>
33+
<version>5.11.4</version>
34+
<scope>test</scope>
35+
</dependency>
3836
<dependency>
3937
<groupId>software.amazon.awssdk</groupId>
4038
<artifactId>mq</artifactId>
4139
</dependency>
4240
<dependency>
43-
<groupId>org.junit.jupiter</groupId>
44-
<artifactId>junit-jupiter</artifactId>
45-
<scope>test</scope>
41+
<groupId>software.amazon.awssdk</groupId>
42+
<artifactId>sso</artifactId>
43+
</dependency>
44+
<dependency>
45+
<groupId>software.amazon.awssdk</groupId>
46+
<artifactId>ssooidc</artifactId>
4647
</dependency>
4748
</dependencies>
4849
<build>
4950
<plugins>
5051
<plugin>
5152
<groupId>org.apache.maven.plugins</groupId>
5253
<artifactId>maven-surefire-plugin</artifactId>
53-
<version>2.22.0</version>
54+
<version>3.5.2</version>
5455
</plugin>
5556
<plugin>
5657
<groupId>org.apache.maven.plugins</groupId>

javav2/example_code/opensearch/pom.xml

Lines changed: 3 additions & 25 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>
@@ -46,35 +46,13 @@
4646
<type>pom</type>
4747
<scope>import</scope>
4848
</dependency>
49-
<dependency>
50-
<groupId>org.junit</groupId>
51-
<artifactId>junit-bom</artifactId>
52-
<version>5.9.2</version>
53-
<type>pom</type>
54-
<scope>import</scope>
55-
</dependency>
5649
</dependencies>
5750
</dependencyManagement>
5851
<dependencies>
5952
<dependency>
6053
<groupId>org.junit.jupiter</groupId>
61-
<artifactId>junit-jupiter-api</artifactId>
62-
<scope>test</scope>
63-
</dependency>
64-
<dependency>
65-
<groupId>org.junit.jupiter</groupId>
66-
<artifactId>junit-jupiter-engine</artifactId>
67-
<scope>test</scope>
68-
</dependency>
69-
<dependency>
70-
<groupId>org.junit.platform</groupId>
71-
<artifactId>junit-platform-commons</artifactId>
72-
<version>1.9.2</version>
73-
</dependency>
74-
<dependency>
75-
<groupId>org.junit.platform</groupId>
76-
<artifactId>junit-platform-launcher</artifactId>
77-
<version>1.9.2</version>
54+
<artifactId>junit-jupiter</artifactId>
55+
<version>5.11.4</version>
7856
<scope>test</scope>
7957
</dependency>
8058
<dependency>

javav2/example_code/personalize/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,24 +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>
47+
<artifactId>junit-jupiter</artifactId>
48+
<version>5.11.4</version>
6349
<scope>test</scope>
6450
</dependency>
6551
<dependency>
@@ -71,17 +57,6 @@
7157
<artifactId>gson</artifactId>
7258
<version>2.10.1</version>
7359
</dependency>
74-
<dependency>
75-
<groupId>org.junit.platform</groupId>
76-
<artifactId>junit-platform-commons</artifactId>
77-
<version>1.9.2</version>
78-
</dependency>
79-
<dependency>
80-
<groupId>org.junit.platform</groupId>
81-
<artifactId>junit-platform-launcher</artifactId>
82-
<version>1.9.2</version>
83-
<scope>test</scope>
84-
</dependency>
8560
<dependency>
8661
<groupId>software.amazon.awssdk</groupId>
8762
<artifactId>personalizeruntime</artifactId>
-1.2 KB
Binary file not shown.

javav2/example_code/pinpoint/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>2.22.1</version>
21-
<configuration>
22-
<groups>IntegrationTest</groups>
23-
</configuration>
20+
<version>3.5.2</version>
2421
</plugin>
2522
</plugins>
2623
</build>
@@ -33,19 +30,13 @@
3330
<type>pom</type>
3431
<scope>import</scope>
3532
</dependency>
36-
<dependency>
37-
<groupId>org.junit</groupId>
38-
<artifactId>junit-bom</artifactId>
39-
<version>5.9.2</version>
40-
<type>pom</type>
41-
<scope>import</scope>
42-
</dependency>
4333
</dependencies>
4434
</dependencyManagement>
4535
<dependencies>
4636
<dependency>
4737
<groupId>org.junit.jupiter</groupId>
48-
<artifactId>junit-jupiter-api</artifactId>
38+
<artifactId>junit-jupiter</artifactId>
39+
<version>5.11.4</version>
4940
<scope>test</scope>
5041
</dependency>
5142
<dependency>
@@ -57,20 +48,10 @@
5748
<artifactId>gson</artifactId>
5849
<version>2.10.1</version>
5950
</dependency>
60-
<dependency>
61-
<groupId>org.junit.jupiter</groupId>
62-
<artifactId>junit-jupiter-engine</artifactId>
63-
<scope>test</scope>
64-
</dependency>
6551
<dependency>
6652
<groupId>software.amazon.awssdk</groupId>
6753
<artifactId>s3</artifactId>
6854
</dependency>
69-
<dependency>
70-
<groupId>org.junit.platform</groupId>
71-
<artifactId>junit-platform-commons</artifactId>
72-
<version>1.9.2</version>
73-
</dependency>
7455
<dependency>
7556
<groupId>software.amazon.awssdk</groupId>
7657
<artifactId>pinpointsmsvoice</artifactId>
@@ -83,12 +64,6 @@
8364
<groupId>software.amazon.awssdk</groupId>
8465
<artifactId>pinpoint</artifactId>
8566
</dependency>
86-
<dependency>
87-
<groupId>org.junit.platform</groupId>
88-
<artifactId>junit-platform-launcher</artifactId>
89-
<version>1.9.2</version>
90-
<scope>test</scope>
91-
</dependency>
9267
<dependency>
9368
<groupId>com.google.code.gson</groupId>
9469
<artifactId>gson</artifactId>

javav2/example_code/polly/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>2.22.1</version>
21-
<configuration>
22-
<groups>IntegrationTest</groups>
23-
</configuration>
20+
<version>3.5.2</version>
2421
</plugin>
2522
</plugins>
2623
</build>
@@ -33,35 +30,13 @@
3330
<type>pom</type>
3431
<scope>import</scope>
3532
</dependency>
36-
<dependency>
37-
<groupId>org.junit</groupId>
38-
<artifactId>junit-bom</artifactId>
39-
<version>5.9.2</version>
40-
<type>pom</type>
41-
<scope>import</scope>
42-
</dependency>
4333
</dependencies>
4434
</dependencyManagement>
4535
<dependencies>
4636
<dependency>
4737
<groupId>org.junit.jupiter</groupId>
48-
<artifactId>junit-jupiter-api</artifactId>
49-
<scope>test</scope>
50-
</dependency>
51-
<dependency>
52-
<groupId>org.junit.jupiter</groupId>
53-
<artifactId>junit-jupiter-engine</artifactId>
54-
<scope>test</scope>
55-
</dependency>
56-
<dependency>
57-
<groupId>org.junit.platform</groupId>
58-
<artifactId>junit-platform-commons</artifactId>
59-
<version>1.9.2</version>
60-
</dependency>
61-
<dependency>
62-
<groupId>org.junit.platform</groupId>
63-
<artifactId>junit-platform-launcher</artifactId>
64-
<version>1.9.2</version>
38+
<artifactId>junit-jupiter</artifactId>
39+
<version>5.11.4</version>
6540
<scope>test</scope>
6641
</dependency>
6742
<dependency>

javav2/example_code/quicksight/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>2.22.1</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>
@@ -42,19 +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>
47+
<artifactId>junit-jupiter</artifactId>
48+
<version>5.11.4</version>
5849
<scope>test</scope>
5950
</dependency>
6051
<dependency>
@@ -66,22 +57,6 @@
6657
<artifactId>gson</artifactId>
6758
<version>2.10.1</version>
6859
</dependency>
69-
<dependency>
70-
<groupId>org.junit.jupiter</groupId>
71-
<artifactId>junit-jupiter-engine</artifactId>
72-
<scope>test</scope>
73-
</dependency>
74-
<dependency>
75-
<groupId>org.junit.platform</groupId>
76-
<artifactId>junit-platform-commons</artifactId>
77-
<version>1.9.0</version>
78-
</dependency>
79-
<dependency>
80-
<groupId>org.junit.platform</groupId>
81-
<artifactId>junit-platform-launcher</artifactId>
82-
<version>1.9.0</version>
83-
<scope>test</scope>
84-
</dependency>
8560
<dependency>
8661
<groupId>software.amazon.awssdk</groupId>
8762
<artifactId>quicksight</artifactId>

0 commit comments

Comments
 (0)