diff --git a/pom.xml b/pom.xml
index 1ffaa7c765..365ca4d48f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,6 +123,35 @@
+
+ org.alfresco.maven.plugin
+ alfresco-maven-plugin
+ ${maven.alfresco.version}
+ true
+
+ true
+ ${project.build.directory}/${project.build.finalName}-amp.amp
+ ${project.build.directory}/${app.id}.war
+ amp
+
+
+
+ maven-war-plugin
+
+
+
+ org.alfresco
+ ${app.id}
+ war
+
+
+ org.alfresco
+ ${artifact.id}
+ amp
+
+
+
+
diff --git a/rm-server/pom.xml b/rm-server/pom.xml
index af919e4d73..b5afabb343 100644
--- a/rm-server/pom.xml
+++ b/rm-server/pom.xml
@@ -10,6 +10,10 @@
4.0.0
alfresco-rm-server-test
Alfresco RM Server
+
+ alfresco
+ alfresco-rm-server
+
source/java
test/java
@@ -71,42 +75,6 @@
-
- org.alfresco.maven.plugin
- alfresco-maven-plugin
- ${maven.alfresco.version}
- true
-
-
-
- amp
-
-
-
-
- true
- ${project.build.directory}/${project.build.finalName}.amp
- ${project.build.directory}/alfresco.war
- amp
-
-
-
- maven-war-plugin
-
-
-
- org.alfresco
- alfresco
- war
-
-
- org.alfresco
- alfresco-rm-server
- amp
-
-
-
-