Plugin for copying specific files at build time
<plugin>
<groupId>io.github.luversof</groupId>
<artifactId>filecopy-maven-plugin</artifactId>
<version>1.0.2</version>
<executions>
<execution>
<id>filecopy</id>
<phase>generate-sources</phase>
<goals>
<goal>filecopy</goal>
</goals>
<configuration>
<fileInfos>
<fileInfo>
<sourceRegex>^([a-zA-Z]*)(_zh-TW.properties)$</sourceRegex>
<targetRegex>$1_zh.properties</targetRegex>
</fileInfo>
</fileInfos>
</configuration>
</execution>
</executions>
</plugin>