Maven: remove a single transitive dependency

前端 未结 3 1855
猫巷女王i
猫巷女王i 2020-12-02 20:52

My project includes a jar file because it is listed as a transitive dependency.

However, I have verified not only that I don\'t need it but it causes problems becaus

3条回答
  •  生来不讨喜
    2020-12-02 21:09

    You can exclude a dependency in the following manner:

            
                    org.springframework
                    spring
                    2.5.6
                    
                            
                                    commons-logging
                                    commons-logging
                            
                    
            
    

提交回复
热议问题