diff --git a/archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml b/archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml index b277f925..b7abe44b 100644 --- a/archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml +++ b/archetypes/alfresco-amp-archetype/src/main/resources/archetype-resources/tomcat/context.xml @@ -7,7 +7,7 @@ + virtualClasspath="${project.build.outputDirectory};${project.build.testOutputDirectory};${project.build.directory}/${project.build.finalName}/config" /> src/main/amp ../${project.build.finalName} - ${project.build.directory}/amp-test-classpath src/main/properties/${env} @@ -308,7 +307,10 @@ - + + true + true + @@ -439,56 +441,37 @@ org.alfresco.maven.plugin alfresco-maven-plugin + true - - - - - - - enable-amp-dev - - - src/main/amp/module.properties - - - - - + - org.apache.maven.plugins - maven-resources-plugin - - - prepare-amp-testing-classpath - process-test-resources - copy-resources - - ${project.build.testOutputDirectory} - - - ${app.amp.folder}/config - ${app.filtering.enabled} - - module.properties - - - - - ${app.amp.folder} - ${app.filtering.enabled} - - module.properties - - alfresco/module/${project.artifactId} - - - - - - - + maven-resources-plugin + + + add-module-properties-to-test-classpath + process-test-resources + + copy-resources + + + ${project.build.testOutputDirectory} + + + ${app.amp.folder} + + module.properties + + ${app.filtering.enabled} + alfresco/module/${project.artifactId} + + + + + + + + @@ -507,21 +490,12 @@ ${maven.surefire.version} ${app.testing.jvm.args} + + + ${project.build.directory}/${project.build.finalName}/config + - - - - - - - - - - - -