mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-14 16:18:10 +00:00
Re #36: Added "nodep" version of logback appender.
This commit is contained in:
1 parent
54be65a11c
commit
52aae81566
4 files changed
+103
No files matched your search
@@ -0,0 +1,2 @@
|
||||
src/**
|
||||
dependency-reduced-pom.xml
|
||||
@@ -0,0 +1,3 @@
|
||||
# Logback Appender - nodep
|
||||
|
||||
This repository contains only `pom.xml` to generate distribution with no external dependencies (other than logback-classic).
|
||||
@@ -0,0 +1,97 @@
|
||||
<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.5-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<name>logback-appender-nodep</name>
|
||||
<artifactId>logback-appender-nodep</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<!--add comma separated artifact names from dependencies, to be included in unpacking-->
|
||||
<project.build.unpack_includes>logback-appender</project.build.unpack_includes>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>pl.tkowalcz.tjahzi</groupId>
|
||||
<artifactId>logback-appender</artifactId>
|
||||
<version>0.1.0-SNAPSHOT</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>ch.qos.logback.logback-classic</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>
|
||||
Reference in new issue
Block a user