maven-dependency-plugin打包排除多个文件?
解决方法:
假如对Application.class和application.yml文件过滤,使用逗号隔开
<artifactItem>
<groupId>com.cloud</groupId>
<artifactId>common</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>target/classes</outputDirectory>
<includes>**/*</includes>
<excludes>**/*application.yml,**/*application.yml</excludes>
</artifactItem>