I want to use the Templating Maven Plugin in my project, but I don't understand where to put my sources. The plugin docs specify:
${basedir}/src/main/java-templates
but Intellij does not recognize this as a sources folder, and therefore won't allow me to create classes in it. If I make it a sources folder manually, then I run into the issue that I can't reference my classes from the src/main/java folder.
Where should I put the classes to be fitered, or how do I configure Intellij to work with the Templating Plugin?