tomcat8-slf4j-logback
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.tomcat-slf4j-logback</groupId> <artifactId>tomcat8-slf4j-logback</artifactId> <version>8.0.53</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Tomcat-Slf4j-Logback (https://github.com/tomcat-slf4j-logback/tomcat-slf4j-logback/) Copyright (c) 2010-2018 Tomcat-Slf4j-Logback. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html. Contributors: Tomcat-Slf4j-Logback Team. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.github.tomcat-slf4j-logback</groupId> <artifactId>tomcat-slf4j-logback</artifactId> <version>1.0.13</version> </parent> <groupId>com.github.tomcat-slf4j-logback</groupId> <artifactId>tomcat8-slf4j-logback</artifactId> <version>8.0.53</version> <name>tomcat8-slf4j-logback</name> <description>Tomcat8 Slf4j Logback Integration</description> <scm> <connection>scm:git:ssh://git@github.com/tomcat-slf4j-logback/tomcat-slf4j-logback.git</connection> <developerConnection>scm:git:ssh://git@github.com/tomcat-slf4j-logback/tomcat-slf4j-logback.git</developerConnection> <url>https://github.com/tomcat-slf4j-logback/tomcat-slf4j-logback</url> <tag>tomcat-slf4j-logback-1.0.13</tag> </scm> <properties> <tomcat.version>8.0.53</tomcat.version> </properties> <dependencies> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-juli</artifactId> <version>${tomcat.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <createDependencyReducedPom>false</createDependencyReducedPom> <createSourcesJar>true</createSourcesJar> <shadeSourcesContent>true</shadeSourcesContent> <artifactSet> <includes> <include>org.apache.tomcat:tomcat-juli</include> <include>org.slf4j:jcl-over-slf4j</include> <include>org.slf4j:slf4j-api</include> <include>ch.qos.logback:logback-classic</include> <include>ch.qos.logback:logback-core</include> </includes> </artifactSet> <filters> <filter> <artifact>org.apache.tomcat:tomcat-juli</artifact> <includes> <include>org/apache/juli/ClassLoaderLogManager**</include> <include>org/apache/juli/WebappProperties.class</include> <include>META-INF/NOTICE</include> </includes> </filter> <!-- Exclude services from jcl-over-slf4j as not needed in this classloader--> <filter> <artifact>org.slf4j:jcl-over-slf4j</artifact> <excludes> <exclude>META-INF/services/**</exclude> </excludes> </filter> <!-- Exclude services from logback-classic as not needed in this classloader --> <filter> <artifact>ch.qos.logback:logback-classic</artifact> <excludes> <exclude>META-INF/services/**</exclude> </excludes> </filter> </filters> <relocations> <relocation> <pattern>org.apache.commons.logging</pattern> <shadedPattern>org.apache.juli.logging</shadedPattern> </relocation> <relocation> <pattern>org.slf4j</pattern> <shadedPattern>org.apache.juli.logging.org.slf4j</shadedPattern> </relocation> <relocation> <pattern>ch.qos.logback</pattern> <shadedPattern>org.apache.juli.logging.ch.qos.logback</shadedPattern> </relocation> <!-- Located in org.apache.juli.logging.ch.qos.logback.classic.util.ContextInitializer --> <relocation> <pattern>logback.configurationFile</pattern> <shadedPattern>juli-logback.configurationFile</shadedPattern> </relocation> <!-- Located in org.apache.juli.logging.ch.qos.logback.classic.ClassicConstants --> <relocation> <pattern>logback.ContextSelector</pattern> <shadedPattern>juli-logback.ContextSelector</shadedPattern> </relocation> </relocations> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> <resource>META-INF/LICENSE</resource> <file>${main.basedir}/LICENSE</file> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> <resource>META-INF/LICENSE-logback.txt</resource> <file>${main.basedir}/src/assembly/LICENSE-logback.txt</file> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> <resource>META-INF/LICENSE-slf4j.txt</resource> <file>${main.basedir}/src/assembly/LICENSE-slf4j.txt</file> </transformer> <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> <resource>META-INF/LICENSE-tomcat.txt</resource> <file>${main.basedir}/src/assembly/LICENSE-tomcat.txt</file> </transformer> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>${main.basedir}/src/assembly/assembly.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>