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

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi-shaded.git


The following commit(s) were added to refs/heads/master by this push:
     new f401bef  [KYUUBI-SHADED #6] Fix RAT check for submodules
f401bef is described below

commit f401befcb22d38cce4169a3c2958b69439de2c22
Author: Cheng Pan <[email protected]>
AuthorDate: Wed May 17 18:20:55 2023 +0800

    [KYUUBI-SHADED #6] Fix RAT check for submodules
    
    ### _Why are the changes needed?_
    
    ### _How was this patch tested?_
    - [ ] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
    
    - [ ] Add screenshots for manual tests if appropriate
    
    - [ ] [Run 
test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests)
 locally before make a pull request
    
    Closes #6 from pan3793/rat.
    
    cfb4b2d [Cheng Pan] rat
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
---
 pom.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7f686b7..d96d19d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -359,14 +359,15 @@
                     <artifactId>apache-rat-plugin</artifactId>
                     <inherited>true</inherited>
                     <configuration>
-                        <excludeSubProjects>false</excludeSubProjects>
+                        <excludeSubProjects>true</excludeSubProjects>
                         <numUnapprovedLicenses>0</numUnapprovedLicenses>
+                        <basedir>${project.basedir}</basedir>
                         <licenseFamilies>
                             <licenseFamily 
implementation="org.apache.rat.license.SimpleLicenseFamily">
                                 <familyName>Apache License 2.0</familyName>
                             </licenseFamily>
                         </licenseFamilies>
-                        <excludesFile>.rat-excludes</excludesFile>
+                        
<excludesFile>${maven.multiModuleProjectDirectory}/.rat-excludes</excludesFile>
                     </configuration>
                     <executions>
                         <execution>

Reply via email to