axon-test-logging
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.axonframework</groupId>
<artifactId>axon-test-logging</artifactId>
<version>5.3.2</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2026. Axon Framework
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--
Deliberately parented on the root aggregator rather than build/parent: build/parent's
<dependencies> block unconditionally adds this very module as a test dependency to every
module that inherits from it, which would make this module depend on itself.
-->
<parent>
<groupId>org.axonframework</groupId>
<artifactId>axon</artifactId>
<version>5.3.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>axon-test-logging</artifactId>
<name>Axon Framework - Test Logging Defaults</name>
<description>
Provides the default Log4j2 test logging configuration shared by all Axon Framework modules, so that CI
and local test runs get a consistent, low-noise log output without every module having to duplicate it.
</description>
<properties>
<!-- Not inherited from build/parent (see note on <parent> above). -->
<log4j.version>2.26.1</log4j.version>
<slf4j.version>2.0.18</slf4j.version>
</properties>
<dependencies>
<!--
Declared with compile scope (the default) so that consumers who add this module with
test scope transitively receive these as test-scoped dependencies too, giving every
module the full test logging stack (config + SLF4J binding) from this one dependency.
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core-test</artifactId>
<version>${log4j.version}</version>
<exclusions>
<!-- Unused Spring Test integration; keeps this module's own dependency tree clean. -->
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
<exclusions>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>