I am using maven-exec-plugin to generate java sources of Thrift. It invokes the external Thrift compiler and using -o to specify the output directory, \"target/generated-sou
If you would like to prepare such folder structure somewhere in your project and then copy to place you want, use maven-resource plugin to do that:
org.apache.maven.plugins
maven-resources-plugin
copy-folder
package
copy-resources
${project.build.directory}
false
${project.basedir}/src/main/resources/folders