This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-archetype-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 48141e8  SLING-10607 - Additional resource filtering is too greedy
48141e8 is described below

commit 48141e81d33c7964a5f8679608f07b821ec1c792
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Jul 13 12:04:29 2021 +0300

    SLING-10607 - Additional resource filtering is too greedy
---
 pom.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index f72ef6c..1e0cc74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,9 +73,17 @@
                 <directory>src/main/resources</directory>
                 <filtering>true</filtering>
                 <includes>
-                    <include>**/*</include>
+                    <include>**/pom.xml</include>
                 </includes>
             </resource>
+            <!-- Don't filter anything else -->
+            <resource>
+                <directory>src/main/resources</directory>
+                <filtering>false</filtering>
+                <excludes>
+                    <exclude>**/pom.xml</exclude>
+                </excludes>
+            </resource>
         </resources>    
         <pluginManagement>
             <plugins>

Reply via email to