converted to Spring 4 and maven