loghublog4j2
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>fr.loghub</groupId>
<artifactId>loghublog4j2</artifactId>
<version>2.0.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>fr.loghub</groupId>
<artifactId>loghublog4j2</artifactId>
<name>loghublog4j2</name>
<version>2.0.1</version>
<description>Log4j2, Log4j1, Logback and Reload4j plugins for loghub, providing an efficient MsgPack layout, a ØMQ appender and a GC events appender.</description>
<url>https://github.com/fbacchella/loghublog4j2</url>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/fbacchella/loghublog4j2/issues</url>
</issueManagement>
<developers>
<developer>
<id>fbacchella</id>
<name>Fabrice Bacchella</name>
<url>https://github.com/fbacchella</url>
</developer>
</developers>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git@github.com:fbacchella/loghublog4j2.git</connection>
<url>https://github.com/fbacchella/loghublog4j2</url>
</scm>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.10.0</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<links>
<link>https://javadoc.io/static/org.zeromq/jeromq/0.6.0/</link>
<link>https://javadoc.io/static/org.msgpack/msgpack-core/${msgpack.version}/</link>
<link>https://logging.apache.org/log4j/2.x/javadoc/log4j-api/</link>
</links>
<source>8</source>
<detectJavaApiLink>true</detectJavaApiLink>
<detectLinks>true</detectLinks>
<validateLinks>true</validateLinks>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.2</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M16</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.5</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.21.0</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>5.7.0.6970</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.14</version>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>legacy</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>legacy</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/org/apache/logging/log4j/</exclude>
<exclude>fr/loghub/log4j2/</exclude>
<exclude>fr/loghub/logback/</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.apache.logging.log4j:*</exclude>
<exclude>ch.qos.logback:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>zmq1</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>zmqappender1</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/org/apache/logging/log4j/</exclude>
<exclude>fr/loghub/log4j/</exclude>
<exclude>fr/loghub/log4j1/msgpack/</exclude>
<exclude>fr/loghub/log4j2/</exclude>
<exclude>fr/loghub/logback/</exclude>
<exclude>fr/loghub/logservices/msgpack/</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.msgpack:*</exclude>
<exclude>org.apache.logging.log4j:*</exclude>
<exclude>ch.qos.logback:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>zmq2</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>zmqappender2</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>fr/loghub/log4j/</exclude>
<exclude>fr/loghub/log4j1/</exclude>
<exclude>fr/loghub/log4j2/appender/gc/</exclude>
<exclude>fr/loghub/log4j2/layout/msgpack/</exclude>
<exclude>fr/loghub/logback/</exclude>
<exclude>fr/loghub/logservices/msgpack/</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.msgpack:*</exclude>
<exclude>log4j:*</exclude>
<exclude>ch.qos.logback:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>zmqlb</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>zmqappenderlb</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/org/</exclude>
<exclude>fr/loghub/log4j/</exclude>
<exclude>fr/loghub/log4j1/</exclude>
<exclude>fr/loghub/log4j2/</exclude>
<exclude>fr/loghub/logback/encoder/</exclude>
<exclude>fr/loghub/logservices/msgpack/</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.msgpack:*</exclude>
<exclude>log4j:*</exclude>
<exclude>org.apache.logging.log4j:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>gc</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>gcappender</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>fr/loghub/log4j/</exclude>
<exclude>fr/loghub/log4j1/</exclude>
<exclude>fr/loghub/log4j2/appender/zmq/</exclude>
<exclude>fr/loghub/log4j2/layout/</exclude>
<exclude>fr/loghub/log4j2/FieldsName.class</exclude>
<exclude>fr/loghub/logservices/</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.msgpack:*</exclude>
<exclude>org.zeromq:*</exclude>
<exclude>eu.neilalexander:*</exclude>
<exclude>log4j:*</exclude>
<exclude>ch.qos.logback:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>msgpack1</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>msgpacklayout1</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/org/</exclude>
<exclude>fr/loghub/log4j/</exclude>
<exclude>fr/loghub/log4j1/zmq/</exclude>
<exclude>fr/loghub/log4j2/</exclude>
<exclude>fr/loghub/logback/</exclude>
<exclude>fr/loghub/logservices/zmq/</exclude>
</excludes>
<includes />
</filter>
<filter>
<artifact>org.msgpack:msgpack-core</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.zeromq:*</exclude>
<exclude>fr.loghub:naclprovider</exclude>
<exclude>eu.neilalexander:*</exclude>
<exclude>org.apache.logging.log4j:*</exclude>
<exclude>ch.qos.logback:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>msgpack2</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>msgpacklayout2</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>fr/loghub/log4j/</exclude>
<exclude>fr/loghub/log4j1/</exclude>
<exclude>fr/loghub/log4j2/appender/</exclude>
<exclude>fr/loghub/logback/</exclude>
<exclude>fr/loghub/logservices/zmq/</exclude>
</excludes>
<includes />
</filter>
<filter>
<artifact>org.msgpack:msgpack-core</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.zeromq:*</exclude>
<exclude>fr.loghub:naclprovider</exclude>
<exclude>eu.neilalexander:*</exclude>
<exclude>log4j:*</exclude>
<exclude>ch.qos.logback:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
<execution>
<id>msgpacklb</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>msgpacklayoutlb</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/org/</exclude>
<exclude>fr/loghub/log4j/</exclude>
<exclude>fr/loghub/log4j1/</exclude>
<exclude>fr/loghub/log4j2/</exclude>
<exclude>fr/loghub/logback/appender/</exclude>
<exclude>fr/loghub/logservices/zmq/</exclude>
</excludes>
</filter>
<filter>
<artifact>org.msgpack:msgpack-core</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>org.zeromq:*</exclude>
<exclude>fr.loghub:naclprovider</exclude>
<exclude>eu.neilalexander:*</exclude>
<exclude>log4j:*</exclude>
<exclude>org.apache.logging.log4j:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>sonar</id>
<build>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>versions</id>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</profile>
<profile>
<id>java8</id>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<argLine>${arg.line}</argLine>
</properties>
</profile>
<profile>
<id>notjava8</id>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.release>8</maven.compiler.release>
<argLine>${arg.line}</argLine>
</properties>
</profile>
<profile>
<id>gpgsign</id>
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots />
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.zeromq</groupId>
<artifactId>jeromq</artifactId>
<version>0.6.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>fr.loghub</groupId>
<artifactId>naclprovider</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.26.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
<version>1.2.26</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.3.14</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.46</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.msgpack</groupId>
<artifactId>jackson-dataformat-msgpack</artifactId>
<version>0.9.12</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>jackson-databind</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>javadoc-no-fork</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<snapshotRepository>
<id>central</id>
<url>https://central.sonatype.com/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<log4j2.version>2.26.0</log4j2.version>
<year>2026</year>
<lombok.version>1.18.46</lombok.version>
<msgpack.version>0.9.12</msgpack.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<argLine>${arg.line}</argLine>
</properties>
</project>