Skip to content

Commit e6540b8

Browse files
committed
updated POM files
1 parent 733a19c commit e6540b8

File tree

5 files changed

+19
-83
lines changed

5 files changed

+19
-83
lines changed

javav2/example_code/cloudformation/pom.xml

Lines changed: 3 additions & 17 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,13 +39,6 @@
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>
@@ -67,12 +57,8 @@
6757
</dependency>
6858
<dependency>
6959
<groupId>org.junit.jupiter</groupId>
70-
<artifactId>junit-jupiter-api</artifactId>
71-
<scope>test</scope>
72-
</dependency>
73-
<dependency>
74-
<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>

javav2/example_code/cloudfront/pom.xml

Lines changed: 3 additions & 14 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,24 +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>
54+
<artifactId>junit-jupiter</artifactId>
55+
<version>5.11.4</version>
6756
<scope>test</scope>
6857
</dependency>
6958
<dependency>

javav2/example_code/cloudtrail/pom.xml

Lines changed: 7 additions & 21 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,16 +39,15 @@
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>
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>
5551
<dependency>
5652
<groupId>software.amazon.awssdk</groupId>
5753
<artifactId>cloudtrail</artifactId>
@@ -65,16 +61,6 @@
6561
<artifactId>gson</artifactId>
6662
<version>2.10.1</version>
6763
</dependency>
68-
<dependency>
69-
<groupId>org.junit.jupiter</groupId>
70-
<artifactId>junit-jupiter-api</artifactId>
71-
<scope>test</scope>
72-
</dependency>
73-
<dependency>
74-
<groupId>org.junit.jupiter</groupId>
75-
<artifactId>junit-jupiter-engine</artifactId>
76-
<scope>test</scope>
77-
</dependency>
7864
<dependency>
7965
<groupId>software.amazon.awssdk</groupId>
8066
<artifactId>sso</artifactId>

javav2/example_code/cloudwatch/pom.xml

Lines changed: 3 additions & 17 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,13 +30,6 @@
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
<dependency>
4434
<groupId>org.apache.logging.log4j</groupId>
4535
<artifactId>log4j-bom</artifactId>
@@ -52,12 +42,8 @@
5242
<dependencies>
5343
<dependency>
5444
<groupId>org.junit.jupiter</groupId>
55-
<artifactId>junit-jupiter-api</artifactId>
56-
<scope>test</scope>
57-
</dependency>
58-
<dependency>
59-
<groupId>org.junit.jupiter</groupId>
60-
<artifactId>junit-jupiter-engine</artifactId>
45+
<artifactId>junit-jupiter</artifactId>
46+
<version>5.11.4</version>
6147
<scope>test</scope>
6248
</dependency>
6349
<dependency>

javav2/example_code/codecommit/pom.xml

Lines changed: 3 additions & 14 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,28 +39,17 @@
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>
5245
<dependency>
5346
<groupId>software.amazon.awssdk</groupId>
5447
<artifactId>codecommit</artifactId>
5548
</dependency>
56-
<dependency>
57-
<groupId>org.junit.jupiter</groupId>
58-
<artifactId>junit-jupiter-api</artifactId>
59-
<scope>test</scope>
60-
</dependency>
6149
<dependency>
6250
<groupId>org.junit.jupiter</groupId>
63-
<artifactId>junit-jupiter-engine</artifactId>
51+
<artifactId>junit-jupiter</artifactId>
52+
<version>5.11.4</version>
6453
<scope>test</scope>
6554
</dependency>
6655
<dependency>

0 commit comments

Comments
 (0)