Maven dependency exclusion doesn't seem to work

前端 未结 2 888
遥遥无期
遥遥无期 2021-01-18 01:06

I have a Maven project depending on couple other Maven projects. I am using Spring 3.1.1 in my project and dependent projects have 3.0.6. I am trying to exclude Spring 3.0.6

2条回答
  •  梦谈多话
    2021-01-18 01:26

    In my case I thought I excluded the right dependency. With eclipse, on dependency hierarchy tab you can right click on it and click exclude artifact and it excluded the right dependency (they both had the same artifactId but different groupId)

提交回复
热议问题