Update pom : java version
Add spring profile support