desruisseaux commented on issue #521:
URL: 
https://github.com/apache/maven-resources-plugin/issues/521#issuecomment-5814659514

   With the new `<source>` element in Maven 4, we could do like below:
   
   ```xml
   <sources>
     <source>
       <lang>resources</lang>
       <directory>src/main/resources</directory>
       <stringFiltering>false</stringFiltering>
       <includes>
         <include>**/*.p12</include>
         <include>**/*.jks</include>
         <include>**/certs/**</include>
         <include>binary-file</include>
       </includes>
     <source>
     <source>
       <lang>resources</lang>
       <directory>src/main/resources</directory>
       <stringFiltering>true</stringFiltering>
       <excludes>
         <exclude>**/*.p12</exclude>
         <exclude>**/*.jks</exclude>
         <exclude>**/certs/**</exclude>
         <exclude>binary-file</exclude>
       </excludes>
     <source>
   </sources>
   ```
   
   I think that the resource plugin has not yet been updated for supporting 
fully the `<source>` elements. Maybe it could be an approach?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to