From 9a7630acfb6a2b3cc4e25a11dae2c991206a3bdf Mon Sep 17 00:00:00 2001 From: Martin Bergljung Date: Thu, 15 Sep 2016 11:33:37 +0100 Subject: [PATCH] Added excludes for resource filtering, so we don't filter for example FTL, #407 --- .../resources/archetype-resources/pom.xml | 109 ++++++++++++------ .../resources/archetype-resources/pom.xml | 35 ++++++ .../resources/archetype-resources/pom.xml | 35 ++++++ 3 files changed, 142 insertions(+), 37 deletions(-) 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 431b8b3d..eeaf93f7 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 @@ -159,10 +159,82 @@ + + + + org.apache.maven.plugins + maven-resources-plugin + 3.0.1 + + UTF-8 + + ftl + acp + svg + pdf + doc + docx + xls + xlsx + ppt + pptx + bin + lic + swf + zip + msg + jar + ttf + eot + woff + woff2 + css + ico + psd + js + + + + + + + src/main/resources + true + + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.0.1 + false + + + + copy-and-filter-test-resources + validate + + copy-resources + + + ${project.build.testOutputDirectory} + + + src/test/resources + true + + + + + + + - - org.apache.maven.plugins - maven-resources-plugin - 3.0.1 - false - - - copy-and-filter-test-resources - validate - - copy-resources - - - ${project.build.testOutputDirectory} - - - src/test/resources - true - - - - - - - org.zeroturnaround @@ -291,15 +336,6 @@ - - - - - src/main/resources - true - - - + ftl + acp + svg + pdf + doc + docx + xls + xlsx + ppt + pptx + bin + lic + swf + zip + msg + jar + ttf + eot + woff + woff2 + css + ico + psd + js + + + 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 979c7d76..b519c0b4 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 @@ -169,6 +169,41 @@ true + + + org.apache.maven.plugins + maven-resources-plugin + 3.0.1 + + UTF-8 + + ftl + acp + svg + pdf + doc + docx + xls + xlsx + ppt + pptx + bin + lic + swf + zip + msg + jar + ttf + eot + woff + woff2 + css + ico + psd + js + + +