diff --git a/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/pom.xml b/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/pom.xml
index 9dba459423..69bbb8843d 100644
--- a/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/pom.xml
+++ b/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/pom.xml
@@ -2,7 +2,7 @@
4.0.0
tempeng-freemarker
CobiGen - FreeMarker Template Engine
- 2.1.0
+ 7.0.0
jar
CobiGen - FreeMarker Template Engine
@@ -21,12 +21,12 @@
com.devonfw.cobigen
core-api
- 5.0.0
+ 7.0.0
com.devonfw.cobigen
core-test
- 5.0.0
+ 7.0.0
test
diff --git a/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/src/main/java/com/devonfw/cobigen/tempeng/freemarker/FreeMarkerTemplateEngine.java b/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/src/main/java/com/devonfw/cobigen/tempeng/freemarker/FreeMarkerTemplateEngine.java
index 7a4693ae79..a50e5fd91e 100644
--- a/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/src/main/java/com/devonfw/cobigen/tempeng/freemarker/FreeMarkerTemplateEngine.java
+++ b/cobigen/cobigen-templateengines/cobigen-tempeng-freemarker/src/main/java/com/devonfw/cobigen/tempeng/freemarker/FreeMarkerTemplateEngine.java
@@ -4,6 +4,7 @@
import java.nio.file.Path;
import java.util.Map;
+import com.devonfw.cobigen.api.annotation.Name;
import com.devonfw.cobigen.api.exception.CobiGenRuntimeException;
import com.devonfw.cobigen.api.extension.TextTemplate;
import com.devonfw.cobigen.api.extension.TextTemplateEngine;
@@ -20,11 +21,9 @@
/**
* {@link TextTemplateEngine} implementation for Apache FreeMarker.
*/
+@Name("FreeMarker")
public class FreeMarkerTemplateEngine implements TextTemplateEngine {
- /** Template Engine name */
- private static final String ENGINE_NAME = "FreeMarker";
-
/** The file extension of the template files. */
private static final String TEMPLATE_EXTENSION = ".ftl";
@@ -44,11 +43,6 @@ public FreeMarkerTemplateEngine() {
freeMarkerConfig.setCacheStorage(new NullCacheStorage());
}
- @Override
- public String getName() {
- return ENGINE_NAME;
- }
-
@Override
public String getTemplateFileEnding() {
return TEMPLATE_EXTENSION;
diff --git a/documentation/master-cobigen.asciidoc b/documentation/master-cobigen.asciidoc
index db08a0a4ac..cba5025c6a 100644
--- a/documentation/master-cobigen.asciidoc
+++ b/documentation/master-cobigen.asciidoc
@@ -26,7 +26,7 @@ DISCLAIMER: All Cobigen plugins are compatible with the latest release of Devonf
* CobiGen - JSON Plug-in v2.1.0
* CobiGen - HTML Plug-in v2.1.0
* CobiGen - Open API Plug-in v2.4.0
-* CobiGen - FreeMaker Template Engine v2.1.0
+* CobiGen - FreeMaker Template Engine v7.0.0
* CobiGen - Velocity Template Engine v2.0.1
**Authors:**
diff --git a/pom.xml b/pom.xml
index e6f15b79d7..d70343985f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -356,6 +356,17 @@
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.3
+ true
+
+ sonartype.releases
+ https://oss.sonatype.org/
+ false
+