Did you know about maven version ranges for your dependencies?
Your application pom may define dependency on a specific version of a jar file. For example your project may depend on Facebook API wrapper version 2.0.4
If your code satisfies the API sice 2.0, you can mark the compatible version range and maven will use the latest version in the range, so you are not stuck with the old version.
More: http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRangesWith this you can ease the upgrade process of your project, however your tests must always ensure that the compatibility is well tested.