This is also useful if you prefer the Maven Eclipse plugin over m2eclipse: mvn -Dwtpversion=20 eclipse:clean eclipse:eclipse