From 8b48a63e0ab0da86c5f49688dd77354b8c790eb8 Mon Sep 17 00:00:00 2001 From: Martin Bergljung Date: Mon, 18 May 2015 09:22:01 +0100 Subject: [PATCH] DEVPLAT-70, the share/src/test directory in the AIO artefact is not generated --- .../resources/META-INF/maven/archetype-metadata.xml | 6 ++++++ .../runner/tomcat/context-share.xml | 12 +++++++----- .../resources/archetype-resources/share-amp/pom.xml | 3 --- .../main/resources/archetype-resources/share/pom.xml | 6 ++++++ .../resources/archetype-resources/tomcat/context.xml | 2 +- poms/alfresco-sdk-parent/pom.xml | 7 ++++--- 6 files changed, 24 insertions(+), 12 deletions(-) diff --git a/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index e27d572d..a638df74 100644 --- a/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/archetypes/alfresco-allinone-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -117,6 +117,12 @@ ** + + src/test/resources + + ** + + diff --git a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/runner/tomcat/context-share.xml b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/runner/tomcat/context-share.xml index d2ae9316..59f1d716 100644 --- a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/runner/tomcat/context-share.xml +++ b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/runner/tomcat/context-share.xml @@ -12,17 +12,19 @@ - + + virtualClasspath="${project.parent.basedir}/share-amp/target/classes;${project.parent.basedir}/share-amp/target/share-amp/config;${project.parent.basedir}/share-amp/target/test-classes;${project.parent.basedir}/share/target/test-classes" /> diff --git a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share-amp/pom.xml b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share-amp/pom.xml index 4ddf84fc..0a72df74 100644 --- a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share-amp/pom.xml +++ b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share-amp/pom.xml @@ -23,9 +23,6 @@ Allowed values: alfresco | share. In this case it's configured to use OOTB share --> share - - http://localhost:8080/alfresco - WARN diff --git a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/pom.xml b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/pom.xml index 6f816fc3..65ea050f 100644 --- a/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/pom.xml +++ b/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/share/pom.xml @@ -13,6 +13,12 @@ ${version} + + + http://localhost:8080/alfresco + + ${alfresco.groupId} diff --git a/archetypes/share-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml b/archetypes/share-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml index 570c502a..58a995fa 100644 --- a/archetypes/share-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml +++ b/archetypes/share-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml @@ -11,7 +11,7 @@ - + refresh-both @@ -900,8 +903,6 @@ - -