how to exclude all artifacts from a group in maven?

后端 未结 3 1297
不知归路
不知归路 2021-02-02 07:01

I am using maven 3 with the Enforcer plugin configured to force version convergence. I am using Spring 3.1.2 and Spring Security 3.1.3.

The problem is that Spring 3.1.3

3条回答
  •  情歌与酒
    2021-02-02 07:41

    I encountered the same problem. I think you should explicit include Spring 3.2.x in your pom.xml to enforce the spring version in level 0 when Maven solve the conflict jars. Please refer to: http://www.baeldung.com/spring-security-with-maven

提交回复
热议问题