spring libs added to dependency management;
maven compiler configured to java 1.7 version.