Skip to content

Commit 6ea5958

Browse files
authored
Merge pull request #172 from companieshouse/feature/JU-89-java-21-migration
fixing logger implementation
2 parents 9d08082 + 982d25f commit 6ea5958

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

pom.xml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
<commons-compress.version>1.26.1</commons-compress.version>
4242
<maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
4343
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
44-
<log4j-version>2.20.0</log4j-version>
4544
<http2-common.version>11.0.20</http2-common.version>
4645
<test-containers.version>1.19.7</test-containers.version>
4746
<!-- Docker -->
@@ -115,26 +114,10 @@
115114
<dependency>
116115
<groupId>org.springframework.boot</groupId>
117116
<artifactId>spring-boot-starter-web</artifactId>
118-
<exclusions>
119-
<exclusion>
120-
<groupId>org.springframework.boot</groupId>
121-
<artifactId>spring-boot-starter-logging</artifactId>
122-
</exclusion>
123-
<exclusion>
124-
<groupId>org.apache.logging.log4j</groupId>
125-
<artifactId>log4j-to-slf4j</artifactId>
126-
</exclusion>
127-
</exclusions>
128117
</dependency>
129118
<dependency>
130119
<groupId>org.springframework.boot</groupId>
131120
<artifactId>spring-boot-starter</artifactId>
132-
<exclusions>
133-
<exclusion>
134-
<groupId>org.springframework.boot</groupId>
135-
<artifactId>spring-boot-starter-logging</artifactId>
136-
</exclusion>
137-
</exclusions>
138121
</dependency>
139122
<dependency>
140123
<groupId>uk.gov.companieshouse</groupId>
@@ -187,12 +170,6 @@
187170
<artifactId>structured-logging</artifactId>
188171
<version>${structured-logging.version}</version>
189172
<scope>compile</scope>
190-
<exclusions>
191-
<exclusion>
192-
<groupId>org.slf4j</groupId>
193-
<artifactId>slf4j-simple</artifactId>
194-
</exclusion>
195-
</exclusions>
196173
</dependency>
197174
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
198175
<dependency>
@@ -285,17 +262,6 @@
285262
<version>${api-helper-java.version}</version>
286263
<scope>compile</scope>
287264
</dependency>
288-
<!-- Override log4j versions -->
289-
<dependency>
290-
<groupId>org.apache.logging.log4j</groupId>
291-
<artifactId>log4j-core</artifactId>
292-
<version>${log4j-version}</version>
293-
</dependency>
294-
<dependency>
295-
<groupId>org.apache.logging.log4j</groupId>
296-
<artifactId>log4j-api</artifactId>
297-
<version>${log4j-version}</version>
298-
</dependency>
299265
</dependencies>
300266

301267
<build>

0 commit comments

Comments
 (0)