Generated Source Code
Links
<sourceRoot>
${project.build.directory}/generated-sources/main/java
</sourceRoot>
<testSourceRoot>
${project.build.directory}/generated-sources/test/java
</testSourceRoot>
Second source directory for generated code.
You can put your generated files in:
target/generates/sub-dir
Notes
I cannot find a definitive answer to this question… but for now I will go with:
${project.build.directory}/generated-sources/