This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 03396572c12 CAMEL-19064 - Camel-Freemarker: Do not set 
DEFAULT_INCOMPATIBLE_IMPROVEMENTS in the Freemarker configuration
03396572c12 is described below

commit 03396572c12e072b7d007bd727b9f1cd92e11575
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Feb 16 14:57:40 2023 +0100

    CAMEL-19064 - Camel-Freemarker: Do not set 
DEFAULT_INCOMPATIBLE_IMPROVEMENTS in the Freemarker configuration
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java
 
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java
index 7ab696ab084..257b6418645 100644
--- 
a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java
+++ 
b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/SpringBootStarterMojo.java
@@ -413,7 +413,7 @@ public class SpringBootStarterMojo extends 
AbstractSpringBootGenerator {
 
 
     private Template getTemplate(String name) throws IOException {
-        Configuration cfg = new Configuration(Configuration.getVersion());
+        Configuration cfg = new Configuration(Configuration.VERSION_2_3_32);
 
         cfg.setTemplateLoader(new URLTemplateLoader() {
             @Override

Reply via email to