Skip to content

Commit ab3eb18

Browse files
committed
updated POM files
1 parent 081c062 commit ab3eb18

File tree

9 files changed

+38
-235
lines changed

9 files changed

+38
-235
lines changed

javav2/example_code/support/pom.xml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<plugin>
2828
<groupId>org.apache.maven.plugins</groupId>
2929
<artifactId>maven-surefire-plugin</artifactId>
30-
<version>2.22.1</version>
30+
<version>3.5.2</version>
3131
</plugin>
3232
</plugins>
3333
</build>
@@ -40,46 +40,24 @@
4040
<type>pom</type>
4141
<scope>import</scope>
4242
</dependency>
43-
<dependency>
44-
<groupId>org.junit</groupId>
45-
<artifactId>junit-bom</artifactId>
46-
<version>5.9.2</version>
47-
<type>pom</type>
48-
<scope>import</scope>
49-
</dependency>
5043
</dependencies>
5144
</dependencyManagement>
5245
<dependencies>
5346
<dependency>
5447
<groupId>org.junit.jupiter</groupId>
55-
<artifactId>junit-jupiter-api</artifactId>
48+
<artifactId>junit-jupiter</artifactId>
49+
<version>5.11.4</version>
5650
<scope>test</scope>
5751
</dependency>
5852
<dependency>
5953
<groupId>software.amazon.awssdk</groupId>
6054
<artifactId>support</artifactId>
6155
</dependency>
62-
<dependency>
63-
<groupId>org.junit.jupiter</groupId>
64-
<artifactId>junit-jupiter-engine</artifactId>
65-
<scope>test</scope>
66-
</dependency>
6756
<dependency>
6857
<groupId>com.fasterxml.jackson.core</groupId>
6958
<artifactId>jackson-databind</artifactId>
7059
<version>2.14.2</version>
7160
</dependency>
72-
<dependency>
73-
<groupId>org.junit.platform</groupId>
74-
<artifactId>junit-platform-commons</artifactId>
75-
<version>1.9.2</version>
76-
</dependency>
77-
<dependency>
78-
<groupId>org.junit.platform</groupId>
79-
<artifactId>junit-platform-launcher</artifactId>
80-
<version>1.9.2</version>
81-
<scope>test</scope>
82-
</dependency>
8361
<dependency>
8462
<groupId>org.apache.logging.log4j</groupId>
8563
<artifactId>log4j-api</artifactId>

javav2/example_code/swf/pom.xml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
<plugin>
2626
<groupId>org.apache.maven.plugins</groupId>
2727
<artifactId>maven-surefire-plugin</artifactId>
28-
<version>2.22.1</version>
29-
<configuration>
30-
<groups>IntegrationTest</groups>
31-
</configuration>
28+
<version>3.5.2</version>
3229
</plugin>
3330
</plugins>
3431
</build>
@@ -41,19 +38,13 @@
4138
<type>pom</type>
4239
<scope>import</scope>
4340
</dependency>
44-
<dependency>
45-
<groupId>org.junit</groupId>
46-
<artifactId>junit-bom</artifactId>
47-
<version>5.9.2</version>
48-
<type>pom</type>
49-
<scope>import</scope>
50-
</dependency>
5141
</dependencies>
5242
</dependencyManagement>
5343
<dependencies>
5444
<dependency>
5545
<groupId>org.junit.jupiter</groupId>
56-
<artifactId>junit-jupiter-api</artifactId>
46+
<artifactId>junit-jupiter</artifactId>
47+
<version>5.11.4</version>
5748
<scope>test</scope>
5849
</dependency>
5950
<dependency>
@@ -66,24 +57,16 @@
6657
<version>2.10.1</version>
6758
</dependency>
6859
<dependency>
69-
<groupId>org.junit.jupiter</groupId>
70-
<artifactId>junit-jupiter-engine</artifactId>
71-
<scope>test</scope>
72-
</dependency>
73-
<dependency>
74-
<groupId>org.junit.platform</groupId>
75-
<artifactId>junit-platform-commons</artifactId>
76-
<version>1.9.2</version>
60+
<groupId>software.amazon.awssdk</groupId>
61+
<artifactId>swf</artifactId>
7762
</dependency>
7863
<dependency>
79-
<groupId>org.junit.platform</groupId>
80-
<artifactId>junit-platform-launcher</artifactId>
81-
<version>1.9.2</version>
82-
<scope>test</scope>
64+
<groupId>software.amazon.awssdk</groupId>
65+
<artifactId>sso</artifactId>
8366
</dependency>
8467
<dependency>
8568
<groupId>software.amazon.awssdk</groupId>
86-
<artifactId>swf</artifactId>
69+
<artifactId>ssooidc</artifactId>
8770
</dependency>
8871
</dependencies>
8972
</project>

javav2/example_code/textract/pom.xml

Lines changed: 4 additions & 29 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,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>
55-
<dependency>
45+
<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.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>textract</artifactId>

javav2/example_code/timestream/pom.xml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@
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>
24-
</plugin>
20+
<version>3.5.2</version>
21+
</plugin>
2522
<plugin>
2623
<groupId>org.apache.maven.plugins</groupId>
2724
<artifactId>maven-compiler-plugin</artifactId>
@@ -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.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>timestreamquery</artifactId>

javav2/example_code/transcribe-streaming/pom.xml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,35 +34,13 @@
3434
<type>pom</type>
3535
<scope>import</scope>
3636
</dependency>
37-
<dependency>
38-
<groupId>org.junit</groupId>
39-
<artifactId>junit-bom</artifactId>
40-
<version>5.9.2</version>
41-
<type>pom</type>
42-
<scope>import</scope>
43-
</dependency>
4437
</dependencies>
4538
</dependencyManagement>
4639
<dependencies>
4740
<dependency>
4841
<groupId>org.junit.jupiter</groupId>
49-
<artifactId>junit-jupiter-api</artifactId>
50-
<scope>test</scope>
51-
</dependency>
52-
<dependency>
53-
<groupId>org.junit.jupiter</groupId>
54-
<artifactId>junit-jupiter-engine</artifactId>
55-
<scope>test</scope>
56-
</dependency>
57-
<dependency>
58-
<groupId>org.junit.platform</groupId>
59-
<artifactId>junit-platform-commons</artifactId>
60-
<version>1.9.2</version>
61-
</dependency>
62-
<dependency>
63-
<groupId>org.junit.platform</groupId>
64-
<artifactId>junit-platform-launcher</artifactId>
65-
<version>1.9.2</version>
42+
<artifactId>junit-jupiter</artifactId>
43+
<version>5.11.4</version>
6644
<scope>test</scope>
6745
</dependency>
6846
<dependency>

javav2/example_code/transcribe/pom.xml

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
<target>${java.version}</target>
2424
</configuration>
2525
</plugin>
26+
<plugin>
27+
<groupId>org.apache.maven.plugins</groupId>
28+
<artifactId>maven-surefire-plugin</artifactId>
29+
<version>3.5.2</version>
30+
</plugin>
2631
</plugins>
2732
</build>
2833
<dependencyManagement>
@@ -34,35 +39,13 @@
3439
<type>pom</type>
3540
<scope>import</scope>
3641
</dependency>
37-
<dependency>
38-
<groupId>org.junit</groupId>
39-
<artifactId>junit-bom</artifactId>
40-
<version>5.9.2</version>
41-
<type>pom</type>
42-
<scope>import</scope>
43-
</dependency>
4442
</dependencies>
4543
</dependencyManagement>
4644
<dependencies>
4745
<dependency>
4846
<groupId>org.junit.jupiter</groupId>
49-
<artifactId>junit-jupiter-api</artifactId>
50-
<scope>test</scope>
51-
</dependency>
52-
<dependency>
53-
<groupId>org.junit.jupiter</groupId>
54-
<artifactId>junit-jupiter-engine</artifactId>
55-
<scope>test</scope>
56-
</dependency>
57-
<dependency>
58-
<groupId>org.junit.platform</groupId>
59-
<artifactId>junit-platform-commons</artifactId>
60-
<version>1.9.2</version>
61-
</dependency>
62-
<dependency>
63-
<groupId>org.junit.platform</groupId>
64-
<artifactId>junit-platform-launcher</artifactId>
65-
<version>1.9.2</version>
47+
<artifactId>junit-jupiter</artifactId>
48+
<version>5.11.4</version>
6649
<scope>test</scope>
6750
</dependency>
6851
<dependency>

javav2/example_code/translate/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>
@@ -48,24 +45,13 @@
4845
<type>pom</type>
4946
<scope>import</scope>
5047
</dependency>
51-
<dependency>
52-
<groupId>org.junit</groupId>
53-
<artifactId>junit-bom</artifactId>
54-
<version>5.9.2</version>
55-
<type>pom</type>
56-
<scope>import</scope>
57-
</dependency>
5848
</dependencies>
5949
</dependencyManagement>
6050
<dependencies>
61-
<dependency>
62-
<groupId>org.junit.jupiter</groupId>
63-
<artifactId>junit-jupiter-api</artifactId>
64-
<scope>test</scope>
65-
</dependency>
6651
<dependency>
6752
<groupId>org.junit.jupiter</groupId>
68-
<artifactId>junit-jupiter-engine</artifactId>
53+
<artifactId>junit-jupiter</artifactId>
54+
<version>5.11.4</version>
6955
<scope>test</scope>
7056
</dependency>
7157
<dependency>
@@ -76,17 +62,6 @@
7662
<groupId>com.google.code.gson</groupId>
7763
<artifactId>gson</artifactId>
7864
<version>2.10.1</version>
79-
</dependency>
80-
<dependency>
81-
<groupId>org.junit.platform</groupId>
82-
<artifactId>junit-platform-commons</artifactId>
83-
<version>1.9.2</version>
84-
</dependency>
85-
<dependency>
86-
<groupId>org.junit.platform</groupId>
87-
<artifactId>junit-platform-launcher</artifactId>
88-
<version>1.9.2</version>
89-
<scope>test</scope>
9065
</dependency>
9166
<dependency>
9267
<groupId>software.amazon.awssdk</groupId>

0 commit comments

Comments
 (0)