Minimize configuration with springwebmvc