mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-11 03:13:47 +00:00
97 lines
3.8 KiB
XML
97 lines
3.8 KiB
XML
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>pl.tkowalcz.tjahzi</groupId>
|
|
<artifactId>tjahzi-parent</artifactId>
|
|
<version>0.9.33-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<name>log4j2-appender-nodep</name>
|
|
<artifactId>log4j2-appender-nodep</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<!--add comma separated artifact names from dependencies, to be included in unpacking-->
|
|
<project.build.unpack_includes>log4j2-appender</project.build.unpack_includes>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>pl.tkowalcz.tjahzi</groupId>
|
|
<artifactId>log4j2-appender</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<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>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<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>
|
|
</project>
|