| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?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>rocketmq-logging</artifactId>
- <groupId>io.github.aliyunmq</groupId>
- <version>1.0.1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>rocketmq-logback-classic</artifactId>
- <name>logback</name>
- <url>http://maven.apache.org</url>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <version>${maven-shade-plugin.version}</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <minimizeJar>false</minimizeJar>
- <createSourcesJar>true</createSourcesJar>
- <shadeSourcesContent>true</shadeSourcesContent>
- <filters>
- <filter>
- <artifact>ch.qos.logback:logback-classic</artifact>
- <excludes>
- <exclude>META-INF/services/ch.qos.logback.classic.spi.Configurator</exclude>
- </excludes>
- </filter>
- </filters>
- <transformers>
- <transformer />
- <transformer>
- <manifestEntries>
- <Implementation-Title>rocketmq-logging</Implementation-Title>
- <Implementation-Version>${logback-classic.version}-rocketmq</Implementation-Version>
- </manifestEntries>
- </transformer>
- </transformers>
- <relocations>
- <relocation>
- <pattern>org.slf4j</pattern>
- <shadedPattern>${shade-prefix}.org.slf4j</shadedPattern>
- </relocation>
- <relocation>
- <pattern>ch.qos.logback</pattern>
- <shadedPattern>${shade-prefix}.ch.qos.logback</shadedPattern>
- </relocation>
- <relocation>
- <rawString>true</rawString>
- <pattern>^logback.configurationFile$</pattern>
- <shadedPattern>${config-file-prefix}.logback.configurationFile</shadedPattern>
- </relocation>
- <relocation>
- <rawString>true</rawString>
- <pattern>^logback(-test)?.xml$</pattern>
- <shadedPattern>${config-file-prefix}.logback$1.xml</shadedPattern>
- </relocation>
- <relocation>
- <rawString>true</rawString>
- <pattern>^java:comp/env/logback/configuration-resource$</pattern>
- <shadedPattern>java:comp/env/${config-file-prefix}.logback/configuration-resource</shadedPattern>
- </relocation>
- <relocation>
- <rawString>true</rawString>
- <pattern>^java:comp/env/logback/context-name$</pattern>
- <shadedPattern>java:comp/env/${config-file-prefix}.logback/context-name</shadedPattern>
- </relocation>
- </relocations>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <classifier>javadoc</classifier>
- <classesDirectory>${project.basedir}/src/main/javadoc</classesDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <properties>
- <config-file-prefix>rmq</config-file-prefix>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
- </project>
|