Skip to content

Commit e904c36

Browse files
committed
Switch to BOM for JUnit and Log4j
1 parent 2a818ce commit e904c36

File tree

3 files changed

+17
-28
lines changed

3 files changed

+17
-28
lines changed

integration-test/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@
7070
<mainClass>cloud.cleo.clamav.test.VirusScanValidationTest</mainClass>
7171
</configuration>
7272
</plugin>
73-
74-
7573
</plugins>
7674
</build>
7775
</project>

lambda/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</dependency>
4141
<dependency>
4242
<groupId>org.apache.logging.log4j</groupId>
43-
<artifactId>log4j-slf4j18-impl</artifactId>
43+
<artifactId>log4j-slf4j-impl</artifactId>
4444
</dependency>
4545

4646

pom.xml

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,21 @@
6060
</exclusions>
6161
</dependency>
6262

63+
<dependency>
64+
<groupId>org.junit</groupId>
65+
<artifactId>junit-bom</artifactId>
66+
<version>5.13.1</version>
67+
<type>pom</type>
68+
<scope>import</scope>
69+
</dependency>
70+
71+
<dependency>
72+
<groupId>org.apache.logging.log4j</groupId>
73+
<artifactId>log4j-bom</artifactId>
74+
<version>2.24.3</version>
75+
<type>pom</type>
76+
<scope>import</scope>
77+
</dependency>
6378

6479
<dependency>
6580
<groupId>com.amazonaws</groupId>
@@ -79,21 +94,7 @@
7994
<artifactId>aws-lambda-java-log4j2</artifactId>
8095
<version>1.6.0</version>
8196
</dependency>
82-
<dependency>
83-
<groupId>org.apache.logging.log4j</groupId>
84-
<artifactId>log4j-api</artifactId>
85-
<version>2.24.3</version>
86-
</dependency>
87-
<dependency>
88-
<groupId>org.apache.logging.log4j</groupId>
89-
<artifactId>log4j-core</artifactId>
90-
<version>2.24.3</version>
91-
</dependency>
92-
<dependency>
93-
<groupId>org.apache.logging.log4j</groupId>
94-
<artifactId>log4j-slf4j18-impl</artifactId>
95-
<version>2.18.0</version>
96-
</dependency>
97+
9798

9899
<!-- AWS Cloud Development Kit -->
99100
<dependency>
@@ -109,16 +110,6 @@
109110
<version>10.4.2</version>
110111
</dependency>
111112

112-
<dependency>
113-
<groupId>org.junit.jupiter</groupId>
114-
<artifactId>junit-jupiter-api</artifactId>
115-
<version>5.13.0</version>
116-
</dependency>
117-
<dependency>
118-
<groupId>org.junit.jupiter</groupId>
119-
<artifactId>junit-jupiter-engine</artifactId>
120-
<version>5.13.0</version>
121-
</dependency>
122113
<dependency>
123114
<groupId>org.assertj</groupId>
124115
<artifactId>assertj-core</artifactId>

0 commit comments

Comments
 (0)