这里写自定义目录标题
下载官网的jar包1.3版本
https://gitee.com/booloose/jarjar
创建rule.txt
也放在jar包的目录下,将下面内容拷到文件中
rule org.apache.poi.** com.my.poi.@1
执行
java -jar jarjar_-1.0-SNAPSHOT.jar process rule.txt poi-4.1.2.jar my-poi-4.1.2.jar
java -jar jarjar_-1.0-SNAPSHOT.jar process rule.txt poi-ooxml-4.1.2.jar my-poi-ooxml-4.1.2.jar
java -jar jarjar_-1.0-SNAPSHOT.jar process rule.txt poi-ooxml-schemas-4.1.2.jar my-poi-schemas-4.1.2.jar