client打fat包排除其他

This commit is contained in:
mcy
2018-11-29 10:21:27 +08:00
parent f1710f1c7f
commit f04447837c

View File

@@ -105,6 +105,10 @@
<groupId>org.apache.rocketmq</groupId> <groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client</artifactId> <artifactId>rocketmq-client</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.aliyun.openservices</groupId>
<artifactId>aliware-apache-rocketmq-cloud</artifactId>
</dependency>
<!-- 客户端要使用请单独引入kafka-clients依赖 --> <!-- 客户端要使用请单独引入kafka-clients依赖 -->
<dependency> <dependency>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
@@ -119,10 +123,6 @@
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>com.aliyun.openservices</groupId>
<artifactId>aliware-apache-rocketmq-cloud</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>
@@ -134,26 +134,13 @@
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet> <artifactSet>
<excludes> <includes>
<exclude>org.apache.zookeeper:zookeeper</exclude> <include>com.alibaba.otter:*</include>
<exclude>com.101tec:zkclient</exclude> <include>com.google.guava:*</include>
<exclude>commons-io:commons-io</exclude> <include>org.joda:*</include>
<exclude>commons-lang:commons-lang</exclude> <include>com.google.common:*</include>
<exclude>commons-codec:commons-codec</exclude> <include>com.google.thirdparty:*</include>
<exclude>com.alibaba:fastjson</exclude> </includes>
<exclude>ch.qos.logback:logback-core</exclude>
<exclude>ch.qos.logback:logback-classic</exclude>
<exclude>org.slf4j:jcl-over-slf4j</exclude>
<exclude>org.slf4j:slf4j-api</exclude>
<exclude>org.springframework:*</exclude>
<exclude>org.jboss.netty:netty</exclude>
<exclude>commons-logging:commons-logging</exclude>
<exclude>aopalliance:aopalliance</exclude>
<exclude>com.google.protobuf:protobuf-java</exclude>
<exclude>com.google.code.findbugs:jsr305</exclude>
<exclude>io.netty:*</exclude>
<exclude>junit:junit</exclude>
</excludes>
</artifactSet> </artifactSet>
</configuration> </configuration>
<executions> <executions>