Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Overriding Maven dependencies POM

807605Jun 26 2007 — edited Jun 26 2007
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2007
Added on Jun 26 2007
2 comments
514 views