rocketmq-client-java
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-client-java</artifactId> <version>5.0.7</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>rocketmq-client-java-parent</artifactId> <groupId>org.apache.rocketmq</groupId> <version>5.0.7</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>rocketmq-client-java</artifactId> <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> <artifactSet> <excludes> <exclude>org.apache.tomcat:annotations-api</exclude> </excludes> </artifactSet> <minimizeJar>false</minimizeJar> <createSourcesJar>true</createSourcesJar> <shadeSourcesContent>true</shadeSourcesContent> <transformers> <transformer /> <transformer /> </transformers> <filters> <filter> <artifact>org.apache.rocketmq:rocketmq-client-java</artifact> <excludes> <exclude>logback.xml</exclude> </excludes> </filter> <filter> <artifact>com.google.protobuf:protobuf-java</artifact> <excludes> <exclude>google/**/*.proto</exclude> </excludes> </filter> <filter> <artifact>com.google.api.grpc:proto-google-common-protos</artifact> <excludes> <exclude>google/**/*.proto</exclude> </excludes> </filter> <filter> <artifact>io.opentelemetry:opentelemetry-proto</artifact> <excludes> <exclude>opentelemetry/proto/**/*.proto</exclude> </excludes> </filter> <filter> <artifact>org.apache.rocketmq:rocketmq-proto</artifact> <excludes> <exclude>proto/**/*.proto</exclude> </excludes> </filter> </filters> <relocations> <relocation> <pattern>org.slf4j</pattern> <shadedPattern>org.apache.rocketmq.shaded.org.slf4j</shadedPattern> </relocation> <relocation> <pattern>ch.qos.logback</pattern> <shadedPattern>${shadePrefix}.ch.qos.logback</shadedPattern> </relocation> <relocation> <rawString>true</rawString> <pattern>^logback.configurationFile$</pattern> <shadedPattern>${configFilePrefix}.logback.configurationFile</shadedPattern> </relocation> <relocation> <rawString>true</rawString> <pattern>^logback.groovy$</pattern> <shadedPattern>${configFilePrefix}.logback.groovy</shadedPattern> </relocation> <relocation> <rawString>true</rawString> <pattern>^logback(-test)?.xml$</pattern> <shadedPattern>${configFilePrefix}.logback$1.xml</shadedPattern> </relocation> <relocation> <rawString>true</rawString> <pattern>^logback.ContextSelector$</pattern> <shadedPattern>${configFilePrefix}.logback.ContextSelector</shadedPattern> </relocation> <relocation> <rawString>true</rawString> <pattern>^java:comp/env/logback/configuration-resource$</pattern> <shadedPattern>java:comp/env/${configFilePrefix}.logback/configuration-resource</shadedPattern> </relocation> <relocation> <rawString>true</rawString> <pattern>^java:comp/env/logback/context-name$</pattern> <shadedPattern>java:comp/env/${configFilePrefix}.logback/context-name</shadedPattern> </relocation> <relocation> <pattern>io.grpc.netty.shaded.io.grpc</pattern> <shadedPattern>${shadePrefix}.grpc</shadedPattern> </relocation> <relocation> <pattern>io.grpc</pattern> <shadedPattern>${shadePrefix}.io.grpc</shadedPattern> </relocation> <relocation> <pattern>io.opentelemetry</pattern> <shadedPattern>${shadePrefix}.io.opentelemetry</shadedPattern> </relocation> <relocation> <pattern>com.google</pattern> <shadedPattern>${shadePrefix}.com.google</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons</pattern> <shadedPattern>${shadePrefix}.commons</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>${maven-antrun-plugin.version}</version> <executions> <execution> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <unzip> <fileset> <include /> </fileset> </unzip> <move /> <move /> <move /> <move /> <move /> <move /> <move /> <jar /> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>annotations-api</artifactId> <version>6.0.53</version> <scope>compile</scope> </dependency> </dependencies> <properties> <maven.compiler.release>8</maven.compiler.release> <shadingNettyNativePrefix>org_apache_rocketmq_shaded</shadingNettyNativePrefix> <configFilePrefix>rocketmq</configFilePrefix> <classesShadedNativeDir>${classesShadedDir}/META-INF/native</classesShadedNativeDir> <shadeJarName>${project.build.finalName}.${project.packaging}</shadeJarName> <project.root>${basedir}/..</project.root> <shadePrefix>org.apache.rocketmq.shaded</shadePrefix> <classesShadedDir>${project.build.directory}/classes-shaded</classesShadedDir> </properties> </project>