用Maven插件将应用打成一个jar包
maven-assembly-plugin
maven-assembly-plugin 3.1.0 jar-with-dependencies com.st.main.ParserEcTopology package single
maven-shade-plugin
org.apache.maven.plugins maven-shade-plugin 2.3 package shade org.apache.storm:storm-core:* com.esotericsoftware:kryo:* com.esotericsoftware:reflectasm:* com.esotericsoftware:minlog:* org.ow2.asm:asm:* org.objenesis:objenesis:* org.clojure:clojure:* com.lmax:disruptor:* org.apache.logging.log4j:log4j-api:* org.apache.logging.log4j:log4j-core:* org.apache.logging.log4j:log4j-slf4j-impl:* javax.servlet:servlet-api:* org.slf4j:slf4j-api:* META-INF/spring.handlers META-INF/spring.schemas META-INF/spring.tooling com.st.main.ParserEcTopology
参考博客
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
暂时没有评论,来抢沙发吧~