jira-importer commented on issue #278:
URL: 
https://github.com/apache/maven-jar-plugin/issues/278#issuecomment-2956693641

   **[Benjamin 
Bentmann](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=bentmann)**
 commented
   
   Please note that directories are not files. Your exclusions only match 
files, not their directories. So why should the plugin exclude those 
directories if it was not told to do so? Just because the directories are 
empty? Others might want to have those empty directories.
   
   If you want to exclude entire directories, simply tell the plugin:
   
   ```xml
   <excludes>
      <exclude>**/*.properties</exclude>
      <exclude>xml/**</exclude>
   </excludes>
   ```
   
   will exclude the directory "xml" and all files underneath it.
   


-- 
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