jira-importer commented on issue #107:
URL: 
https://github.com/apache/maven-source-plugin/issues/107#issuecomment-2959535011

   **[Daniel 
Kulp](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dkulp)** 
commented
   
   Just checked the resource plugin.   The resource plugin does:
   
   ```
               if ( resource.getExcludes() != null && 
!resource.getExcludes().isEmpty() )
               {
                   scanner.setExcludes( (String[]) 
resource.getExcludes().toArray( EMPTY_STRING_ARRAY ) );
               }
   
               scanner.addDefaultExcludes();
               scanner.scan();
   ```
   
   Thus, it always adds the default excludes to the scanner that it uses.    
The sources plugin should follow the same behavior to make sure the two are 
consistent.
   
   


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