diff --git a/templates/server/src/main/resources/archetype-resources/.mvn/maven.config b/templates/server/src/main/resources/archetype-resources/.mvn/maven.config
index 5552aa9b..f289f582 100644
--- a/templates/server/src/main/resources/archetype-resources/.mvn/maven.config
+++ b/templates/server/src/main/resources/archetype-resources/.mvn/maven.config
@@ -1 +1 @@
--Drevision=$version
+-Drevision=${version}
diff --git a/templates/server/src/main/resources/archetype-resources/__batch__/pom.xml b/templates/server/src/main/resources/archetype-resources/__batch__/pom.xml
index c9df8148..bf27e0bb 100644
--- a/templates/server/src/main/resources/archetype-resources/__batch__/pom.xml
+++ b/templates/server/src/main/resources/archetype-resources/__batch__/pom.xml
@@ -5,7 +5,7 @@
${groupId}
${rootArtifactId}
- ${app.version}
+ ${revision}
${rootArtifactId}-batch
jar
diff --git a/templates/server/src/main/resources/archetype-resources/__earProjectName__/pom.xml b/templates/server/src/main/resources/archetype-resources/__earProjectName__/pom.xml
index e4422bac..e432be34 100644
--- a/templates/server/src/main/resources/archetype-resources/__earProjectName__/pom.xml
+++ b/templates/server/src/main/resources/archetype-resources/__earProjectName__/pom.xml
@@ -4,7 +4,7 @@
${groupId}
${artifactId}
- ${app.version}
+ ${revision}
${earProjectName}
${project.artifactId}
diff --git a/templates/server/src/main/resources/archetype-resources/api/pom.xml b/templates/server/src/main/resources/archetype-resources/api/pom.xml
index 87422fa3..7c41f381 100644
--- a/templates/server/src/main/resources/archetype-resources/api/pom.xml
+++ b/templates/server/src/main/resources/archetype-resources/api/pom.xml
@@ -5,7 +5,7 @@
${groupId}
${rootArtifactId}
- ${app.version}
+ ${revision}
${rootArtifactId}-api
jar
diff --git a/templates/server/src/main/resources/archetype-resources/core/pom.xml b/templates/server/src/main/resources/archetype-resources/core/pom.xml
index f5bb6714..de4b7c0d 100644
--- a/templates/server/src/main/resources/archetype-resources/core/pom.xml
+++ b/templates/server/src/main/resources/archetype-resources/core/pom.xml
@@ -5,7 +5,7 @@
${groupId}
${rootArtifactId}
- ${app.version}
+ ${revision}
${rootArtifactId}-core
jar
diff --git a/templates/server/src/main/resources/archetype-resources/pom.xml b/templates/server/src/main/resources/archetype-resources/pom.xml
index a0980b8e..8172b5de 100644
--- a/templates/server/src/main/resources/archetype-resources/pom.xml
+++ b/templates/server/src/main/resources/archetype-resources/pom.xml
@@ -4,7 +4,7 @@
4.0.0
${artifactId}
${groupId}
- ${app.version}
+ ${revision}
pom
${project.artifactId}
Application based on the devon4j.
@@ -19,18 +19,17 @@
$[jackson.version]
$[guava.version]
system
- ${revision}
api
core
- #if ($earProjectName != '.')
+#if ($earProjectName != '.')
${earProjectName}
- #end
- #if ($batch == 'batch')
+#end
+#if ($batch == 'batch')
batch
- #end
+#end
server
diff --git a/templates/server/src/main/resources/archetype-resources/server/pom.xml b/templates/server/src/main/resources/archetype-resources/server/pom.xml
index cc0edbac..625e8d5c 100644
--- a/templates/server/src/main/resources/archetype-resources/server/pom.xml
+++ b/templates/server/src/main/resources/archetype-resources/server/pom.xml
@@ -5,7 +5,7 @@
${groupId}
${rootArtifactId}
- ${app.version}
+ ${revision}
${rootArtifactId}-server
war