- 打jar包-指定类
使用maven-jar-plugin 官网地址:
http://maven.apache.org/components/plugins/maven-jar-plugin/index.html
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<includes>
<include>**/common/*</include>
</includes>
</configuration>
</plugin>