diff --git a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml
index 09943878..6deb5011 100644
--- a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/pom.xml
@@ -41,6 +41,10 @@
6.5
+
+ 1.0.82
+
- ${project.groupId}
- ${artifactId}-share-jar
- ${project.version}
+
+ ${alfresco.groupId}
+ aikau
+ ${aikau.version}
diff --git a/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml
index 3b687a1a..6e76af22 100644
--- a/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/alfresco-platform-jar-archetype/src/main/resources/archetype-resources/pom.xml
@@ -112,6 +112,7 @@
diff --git a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml
index ac142e65..f6dd4075 100644
--- a/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/alfresco-share-jar-archetype/src/main/resources/archetype-resources/pom.xml
@@ -26,6 +26,10 @@
6.5
+
+ 1.0.82
+
8081
@@ -73,6 +77,24 @@
true
+
+
+
+
+ ${project.groupId}
+ ${artifactId}-share-jar
+ ${project.version}
+
+
+
+ ${alfresco.groupId}
+ aikau
+ ${aikau.version}
+
+
diff --git a/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/RunMojo.java b/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/RunMojo.java
index 6865297d..df263749 100644
--- a/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/RunMojo.java
+++ b/plugins/alfresco-maven-plugin/src/main/java/org/alfresco/maven/plugin/RunMojo.java
@@ -439,6 +439,11 @@ public class RunMojo extends AbstractMojo {
* @throws MojoExecutionException
*/
protected void copyAlfrescoLicense() throws MojoExecutionException {
+ if (alfrescoEdition.equals(ALFRESCO_COMMUNITY_EDITION)) {
+ getLog().info("NOT copying Alfresco Enterprise license, running Community edition");
+ return;
+ }
+
final String warOutputDir = getWarOutputDir(PLATFORM_WAR_PREFIX_NAME);
final String licDestDir = warOutputDir + "/WEB-INF/classes/alfresco/extension/license";