<config>
<input>
<jar in="boot-security-1.0.jar" out="config_tool.jar"/>
</input>
<classpath>
<jar name="mousegestures-1.2.jar"/>
</classpath>
<keep-names>
<class access="protected+">
<field access="protected+"/>
<method access="protected+"/>
</class>
</keep-names>
<property name="log-file" value="log.xml"/>
<ignore-classes>
<class template="class *springframework*" />
<class template="class *shardingjdbc*" />
<class template="class *jni*" />
<class template="class *alibaba*"/>
<class template="class *persistence*"/>
<class template="class *java.io*" />
<class template="class *java.net.beans*" />
<class template="class *java.util*" />
<class template="class *org*" />
<class template="class *com.alibaba*" />
<!-- 排除如下两个包下的类 -->
<class template="class com.boot.security.server.dto.*" />
<class template="class com.boot.security.server.model.*" />
<class template="class com.boot.security.server.controller.*" />
<class template="class com.boot.security.server.dao.*" />
<class template="class com.boot.security.server.SecurityApplication" />
</ignore-classes>
</config>
如上是配置文件的代码,主要是控制第三方jar包,实体类、映射文件、启动类、控制类排除在外
参照博客:https://blog.csdn.net/cs4380/article/details/100539396
jar包下载http://www.allatori.com/