Skip to content

Commit fad5ece

Browse files
authored
Merge pull request #683 from hazendaz/master
Use one proprety for maven binaries and rewrite log4j2 again as initial understanding was incorrect
2 parents 7d0d09a + b46103b commit fad5ece

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

pom.xml

+13-10
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@
181181
<doxiaVersion>1.12.0</doxiaVersion>
182182
<doxiaSiteToolsVersion>1.11.1</doxiaSiteToolsVersion>
183183

184-
<mavenCoreVersion>3.9.5</mavenCoreVersion>
185184
<mavenSharedUtilsVersion>3.4.2</mavenSharedUtilsVersion>
186185
<mavenTransferVersion>0.13.1</mavenTransferVersion>
187186
<mavenCommonArtifactFilters>3.3.2</mavenCommonArtifactFilters>
@@ -280,9 +279,20 @@
280279
<groupId>com.github.spotbugs</groupId>
281280
<artifactId>spotbugs</artifactId>
282281
<version>${spotbugsVersion}</version>
282+
<exclusions>
283+
<exclusion>
284+
<groupId>org.apache.logging.log4j</groupId>
285+
<artifactId>log4j-core</artifactId>
286+
</exclusion>
287+
</exclusions>
283288
</dependency>
284289

285290
<!-- Logging -->
291+
<dependency>
292+
<groupId>org.apache.logging.log4j</groupId>
293+
<artifactId>log4j-to-slf4j</artifactId>
294+
<version>2.22.0</version>
295+
</dependency>
286296
<dependency>
287297
<groupId>org.slf4j</groupId>
288298
<artifactId>jcl-over-slf4j</artifactId>
@@ -299,13 +309,6 @@
299309
<version>${slf4jVersion}</version>
300310
</dependency>
301311

302-
<!-- Logging (temp fix due to bug in spotbugs) -->
303-
<dependency>
304-
<groupId>org.apache.logging.log4j</groupId>
305-
<artifactId>log4j-slf4j2-impl</artifactId>
306-
<version>2.22.0</version>
307-
</dependency>
308-
309312
<!-- asm -->
310313
<dependency>
311314
<groupId>org.ow2.asm</groupId>
@@ -475,13 +478,13 @@
475478
<dependency>
476479
<groupId>org.apache.maven</groupId>
477480
<artifactId>maven-core</artifactId>
478-
<version>${mavenCoreVersion}</version>
481+
<version>${mavenVersion}</version>
479482
<scope>provided</scope>
480483
</dependency>
481484
<dependency>
482485
<groupId>org.apache.maven</groupId>
483486
<artifactId>maven-model</artifactId>
484-
<version>${mavenCoreVersion}</version>
487+
<version>${mavenVersion}</version>
485488
<scope>provided</scope>
486489
</dependency>
487490
<dependency>

0 commit comments

Comments
 (0)