Specify target directory and change framework type to spring