Spring and maven configuration improved