Skip to content

Commit 733a19c

Browse files
committed
updated POM files
1 parent 3e36f39 commit 733a19c

File tree

10 files changed

+33
-162
lines changed

10 files changed

+33
-162
lines changed

javav2/example_code/acm/pom.xml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
<plugin>
2828
<groupId>org.apache.maven.plugins</groupId>
2929
<artifactId>maven-surefire-plugin</artifactId>
30-
<version>2.22.1</version>
31-
<configuration>
32-
<groups>IntegrationTest</groups>
33-
</configuration>
30+
<version>3.5.2</version>
3431
</plugin>
3532
</plugins>
3633
</build>
@@ -50,35 +47,19 @@
5047
<type>pom</type>
5148
<scope>import</scope>
5249
</dependency>
53-
<dependency>
54-
<groupId>org.junit</groupId>
55-
<artifactId>junit-bom</artifactId>
56-
<version>5.9.2</version>
57-
<type>pom</type>
58-
<scope>import</scope>
59-
</dependency>
60-
</dependencies>
50+
</dependencies>
6151
</dependencyManagement>
6252
<dependencies>
6353
<dependency>
6454
<groupId>org.junit.jupiter</groupId>
65-
<artifactId>junit-jupiter-api</artifactId>
55+
<artifactId>junit-jupiter</artifactId>
56+
<version>5.11.4</version>
6657
<scope>test</scope>
6758
</dependency>
6859
<dependency>
6960
<groupId>software.amazon.awssdk</groupId>
7061
<artifactId>netty-nio-client</artifactId>
7162
</dependency>
72-
<dependency>
73-
<groupId>org.junit.jupiter</groupId>
74-
<artifactId>junit-jupiter-engine</artifactId>
75-
<scope>test</scope>
76-
</dependency>
77-
<dependency>
78-
<groupId>org.junit.platform</groupId>
79-
<artifactId>junit-platform-commons</artifactId>
80-
<version>1.9.2</version>
81-
</dependency>
8263
<dependency>
8364
<groupId>software.amazon.awssdk</groupId>
8465
<artifactId>secretsmanager</artifactId>
@@ -88,12 +69,6 @@
8869
<artifactId>gson</artifactId>
8970
<version>2.10.1</version>
9071
</dependency>
91-
<dependency>
92-
<groupId>org.junit.platform</groupId>
93-
<artifactId>junit-platform-launcher</artifactId>
94-
<version>1.9.2</version>
95-
<scope>test</scope>
96-
</dependency>
9772
<dependency>
9873
<groupId>com.fasterxml.jackson.core</groupId>
9974
<artifactId>jackson-databind</artifactId>

javav2/example_code/apigateway/pom.xml

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@
1616
<plugins>
1717
<plugin>
1818
<groupId>org.apache.maven.plugins</groupId>
19-
<artifactId>maven-compiler-plugin</artifactId>
20-
<version>3.1</version>
21-
<configuration>
22-
<source>${java.version}</source>
23-
<target>${java.version}</target>
24-
</configuration>
19+
<artifactId>maven-surefire-plugin</artifactId>
20+
<version>3.5.2</version>
2521
</plugin>
2622
</plugins>
2723
</build>
@@ -34,24 +30,13 @@
3430
<type>pom</type>
3531
<scope>import</scope>
3632
</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>
4433
</dependencies>
4534
</dependencyManagement>
4635
<dependencies>
4736
<dependency>
4837
<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>
38+
<artifactId>junit-jupiter</artifactId>
39+
<version>5.11.4</version>
5540
<scope>test</scope>
5641
</dependency>
5742
<dependency>
@@ -63,17 +48,6 @@
6348
<artifactId>gson</artifactId>
6449
<version>2.10.1</version>
6550
</dependency>
66-
<dependency>
67-
<groupId>org.junit.platform</groupId>
68-
<artifactId>junit-platform-commons</artifactId>
69-
<version>1.8.2</version>
70-
</dependency>
71-
<dependency>
72-
<groupId>org.junit.platform</groupId>
73-
<artifactId>junit-platform-launcher</artifactId>
74-
<version>1.8.2</version>
75-
<scope>test</scope>
76-
</dependency>
7751
<dependency>
7852
<groupId>software.amazon.awssdk</groupId>
7953
<artifactId>apigateway</artifactId>

javav2/example_code/appautoscale/pom.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<plugin>
1818
<groupId>org.apache.maven.plugins</groupId>
1919
<artifactId>maven-surefire-plugin</artifactId>
20-
<version>2.22.1</version>
20+
<version>3.5.2</version>
2121
</plugin>
2222
</plugins>
2323
</build>
@@ -30,19 +30,13 @@
3030
<type>pom</type>
3131
<scope>import</scope>
3232
</dependency>
33-
<dependency>
34-
<groupId>org.junit</groupId>
35-
<artifactId>junit-bom</artifactId>
36-
<version>5.9.2</version>
37-
<type>pom</type>
38-
<scope>import</scope>
39-
</dependency>
4033
</dependencies>
4134
</dependencyManagement>
4235
<dependencies>
4336
<dependency>
4437
<groupId>org.junit.jupiter</groupId>
4538
<artifactId>junit-jupiter</artifactId>
39+
<version>5.11.4</version>
4640
<scope>test</scope>
4741
</dependency>
4842
<dependency>

javav2/example_code/appsync/pom.xml

Lines changed: 2 additions & 11 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>
5747
<artifactId>junit-jupiter</artifactId>
48+
<version>5.11.4</version>
5849
<scope>test</scope>
5950
</dependency>
6051
<dependency>

javav2/example_code/athena/pom.xml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<plugin>
1717
<groupId>org.apache.maven.plugins</groupId>
1818
<artifactId>maven-surefire-plugin</artifactId>
19-
<version>2.22.1</version>
19+
<version>3.5.2</version>
2020
</plugin>
2121
</plugins>
2222
</build>
@@ -29,19 +29,13 @@
2929
<type>pom</type>
3030
<scope>import</scope>
3131
</dependency>
32-
<dependency>
33-
<groupId>org.junit</groupId>
34-
<artifactId>junit-bom</artifactId>
35-
<version>5.9.2</version>
36-
<type>pom</type>
37-
<scope>import</scope>
38-
</dependency>
3932
</dependencies>
4033
</dependencyManagement>
4134
<dependencies>
4235
<dependency>
4336
<groupId>org.junit.jupiter</groupId>
44-
<artifactId>junit-jupiter-api</artifactId>
37+
<artifactId>junit-jupiter</artifactId>
38+
<version>5.11.4</version>
4539
<scope>test</scope>
4640
</dependency>
4741
<dependency>
@@ -57,4 +51,4 @@
5751
<artifactId>ssooidc</artifactId>
5852
</dependency>
5953
</dependencies>
60-
</project>
54+
</project>

javav2/example_code/autoscale/pom.xml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<plugin>
1818
<groupId>org.apache.maven.plugins</groupId>
1919
<artifactId>maven-surefire-plugin</artifactId>
20-
<version>2.22.1</version>
20+
<version>3.5.2</version>
2121
</plugin>
2222
</plugins>
2323
</build>
@@ -30,24 +30,13 @@
3030
<type>pom</type>
3131
<scope>import</scope>
3232
</dependency>
33-
<dependency>
34-
<groupId>org.junit</groupId>
35-
<artifactId>junit-bom</artifactId>
36-
<version>5.9.2</version>
37-
<type>pom</type>
38-
<scope>import</scope>
39-
</dependency>
4033
</dependencies>
4134
</dependencyManagement>
4235
<dependencies>
4336
<dependency>
4437
<groupId>org.junit.jupiter</groupId>
45-
<artifactId>junit-jupiter-api</artifactId>
46-
<scope>test</scope>
47-
</dependency>
48-
<dependency>
49-
<groupId>org.junit.jupiter</groupId>
50-
<artifactId>junit-jupiter-engine</artifactId>
38+
<artifactId>junit-jupiter</artifactId>
39+
<version>5.11.4</version>
5140
<scope>test</scope>
5241
</dependency>
5342
<dependency>

javav2/example_code/batch/pom.xml

Lines changed: 2 additions & 16 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>
@@ -49,24 +46,13 @@
4946
<type>pom</type>
5047
<scope>import</scope>
5148
</dependency>
52-
<dependency>
53-
<groupId>org.junit</groupId>
54-
<artifactId>junit-bom</artifactId>
55-
<version>5.9.2</version>
56-
<type>pom</type>
57-
<scope>import</scope>
58-
</dependency>
5949
</dependencies>
6050
</dependencyManagement>
6151
<dependencies>
6252
<dependency>
6353
<groupId>org.junit.jupiter</groupId>
6454
<artifactId>junit-jupiter-api</artifactId>
65-
<scope>test</scope>
66-
</dependency>
67-
<dependency>
68-
<groupId>org.junit.jupiter</groupId>
69-
<artifactId>junit-jupiter-engine</artifactId>
55+
<version>5.11.4</version>
7056
<scope>test</scope>
7157
</dependency>
7258
<dependency>

javav2/example_code/elasticbeanstalk/pom.xml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
<groupId>org.junit.jupiter</groupId>
5858
<artifactId>junit-jupiter-api</artifactId>
5959
<scope>test</scope>
60+
</dependency>
61+
<dependency>
62+
<groupId>org.junit.jupiter</groupId>
63+
<artifactId>junit-jupiter-engine</artifactId>
64+
<scope>test</scope>
6065
</dependency>
6166
<dependency>
6267
<groupId>software.amazon.awssdk</groupId>
@@ -71,22 +76,6 @@
7176
<artifactId>gson</artifactId>
7277
<version>2.10.1</version>
7378
</dependency>
74-
<dependency>
75-
<groupId>org.junit.jupiter</groupId>
76-
<artifactId>junit-jupiter-engine</artifactId>
77-
<scope>test</scope>
78-
</dependency>
79-
<dependency>
80-
<groupId>org.junit.platform</groupId>
81-
<artifactId>junit-platform-commons</artifactId>
82-
<version>1.9.2</version>
83-
</dependency>
84-
<dependency>
85-
<groupId>org.junit.platform</groupId>
86-
<artifactId>junit-platform-launcher</artifactId>
87-
<version>1.9.2</version>
88-
<scope>test</scope>
89-
</dependency>
9079
<dependency>
9180
<groupId>org.slf4j</groupId>
9281
<artifactId>slf4j-log4j12</artifactId>

javav2/example_code/emr/pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,6 @@
7171
<artifactId>gson</artifactId>
7272
<version>2.10.1</version>
7373
</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>
8574
<dependency>
8675
<groupId>org.slf4j</groupId>
8776
<artifactId>slf4j-log4j12</artifactId>

0 commit comments

Comments
 (0)