I am trying to find a way to copy a resource file to a new name in the target directory in a Maven build. Pretty much everything I have found while searching suggests workar
I had the same problem using the copy-rename-maven-plugin solved my problem
... com.coderplus.maven.plugins copy-rename-maven-plugin 1.0 copy-file generate-sources copy src/someDirectory/test.environment.properties target/someDir/environment.properties