log4j2-appender-nodep
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>pl.tkowalcz.tjahzi</groupId> <artifactId>log4j2-appender-nodep</artifactId> <version>0.9.32</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"> <parent> <artifactId>tjahzi-parent</artifactId> <groupId>pl.tkowalcz.tjahzi</groupId> <version>0.9.32</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>log4j2-appender-nodep</artifactId> <name>log4j2-appender-nodep</name> <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-sources</id> <phase>generate-sources</phase> <goals> <goal>unpack-dependencies</goal> </goals> </execution> </executions> <configuration> <classifier>sources</classifier> <type>jar</type> <outputDirectory>${project.build.sourceDirectory}</outputDirectory> <includeArtifactIds>${project.build.unpack_includes}</includeArtifactIds> <includes>**\/*.java</includes> <overWriteSnapshots>true</overWriteSnapshots> </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-shade-plugin</artifactId> <version>3.2.4</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <excludes> <exclude>org.apache.logging.log4j</exclude> </excludes> </artifactSet> <relocations> <relocation> <pattern>org.agrona</pattern> <shadedPattern>pl.tkowalcz.tjahzi.org.agrona</shadedPattern> </relocation> <relocation> <pattern>io.netty</pattern> <shadedPattern>pl.tkowalcz.tjahzi.io.netty</shadedPattern> </relocation> </relocations> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <minimizeJar>true</minimizeJar> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.17.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.17.2</version> <scope>compile</scope> </dependency> </dependencies> <properties> <project.build.unpack_includes>log4j2-appender</project.build.unpack_includes> </properties> </project>