diff --git a/ear/plugin.jelly b/ear/plugin.jelly
index 46bd4762..0b4cdd09 100644
--- a/ear/plugin.jelly
+++ b/ear/plugin.jelly
@@ -148,7 +148,7 @@
${dep.getArtifact()}
- ${dep.getProperty('ear.appxml.ear.context-root')}
+ ${dep.getProperty('ear.appxml.war.context-root')}
diff --git a/ear/xdocs/properties.xml b/ear/xdocs/properties.xml
index 7a471853..ce456b41 100644
--- a/ear/xdocs/properties.xml
+++ b/ear/xdocs/properties.xml
@@ -110,7 +110,7 @@
war
true
- webapp
+ webapp
]]>