Check the users guide for upgrade information:
http://docs.geotools.org/latest/userguide/welcome/upgrade.html