If you are running you application in ubuntu, you can use nohup and & to run your process in background. It is simple and I hope it will solve your problem
nohup mvn spring-boot:run &
http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html