How can I exclude *.DSA and *.SF files from shaded jar?

后端 未结 3 2144
我在风中等你
我在风中等你 2020-12-16 16:15

I have a section in pom.xml

 
   
      *:*
         
            

        
3条回答
  •  天命终不由人
    2020-12-16 17:04

    Actually you can do global filtering without needing to specify group id, you just need to use the correct wildcard syntax. If you want to exclude all *.RSA files from your jar, for example, specify the artifactId as *:*:*:*

    
        
            *:*:*:*
            
                *.RSA
            
        
    
    

提交回复
热议问题