如何在maven构建过程中排除文件被复制:
<copy todir="target/classes/META-INF/config" overwrite="true" failonerror="false">
<fileset dir="src/main/resources/" />
<!-- something like <fileset dir="src/main/resources/" excludes="fileA.properties" /> for excluding fileA.properties from being copied to the target folder -->
</copy>