Overriding Maven dependencies POM
807605Jun 26 2007 — edited Jun 26 2007I have a few dependencies in my POM which requires some Spring packages. The version these requires are 2.0, but I need >2.0.1 so I have explicitly put in my POM that the same Spring packages like, spring-jdbc, spring-web will be version 2.0.x, but I will rather put the complete Spring package instead of its subpackages.
When I do that I get both the complete Spring package with version 2.0.x and the other subpackages with version 2.0
How can I override my POM to ignore the subpackages from my dependencies? It gets it all from the complete Spring package anyway