diff --git a/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw b/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw
index ff3034300..a803e648f 100644
--- a/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw
+++ b/light-graphql-4j/src/main/resources/templates/graphql/pom.xml.rocker.raw
@@ -5,7 +5,7 @@
@config.get("groupId").textValue()
@config.get("artifactId").textValue()
jar
- @config.get("name").textValue()
+ @config.get("artifactId").textValue()
@config.get("version").textValue()
diff --git a/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw b/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw
index cc21107c4..82f4fed48 100644
--- a/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw
+++ b/light-rest-4j/src/main/resources/templates/rest/openapi/pom.xml.rocker.raw
@@ -5,7 +5,7 @@
@config.get("groupId").textValue()
@config.get("artifactId").textValue()
jar
- @config.get("name").textValue()
+ @config.get("artifactId").textValue()
@config.get("version").textValue()
diff --git a/light-rest-4j/src/main/resources/templates/rest/project.rocker.raw b/light-rest-4j/src/main/resources/templates/rest/project.rocker.raw
index b3f728e7e..e1dad7615 100644
--- a/light-rest-4j/src/main/resources/templates/rest/project.rocker.raw
+++ b/light-rest-4j/src/main/resources/templates/rest/project.rocker.raw
@@ -3,7 +3,7 @@
@args (JsonNode config)
- @config.get("name").textValue()
+ @config.get("artifactId").textValue()