ANTLR attempts to load a template via new File(…) before using its classpath. With that, we can put the ANTLR template into our project to pick it up by the Maven plugin.
This only works if the module is being built from the parent. Building the project from the CLI within the spring-data-jpa/spring-data-jpa directory will resort to the ANTLR-provided template.
Follow-up to #3282
ANTLR attempts to load a template via
new File(…)before using its classpath. With that, we can put the ANTLR template into our project to pick it up by the Maven plugin.This only works if the module is being built from the parent. Building the project from the CLI within the
spring-data-jpa/spring-data-jpadirectory will resort to the ANTLR-provided template.Follow-up to #3282