打包命令
mvn clean package -Dmaven.test.skip=true
运行命令
java -Dspring.profiles.active=staging -jar your-application.jar
打包运行
# 命令解释:https://docs.spring.io/spring-boot/docs/current/maven-plugin/examples/run-profiles.html
mvn clean spring-boot:run -Djava.security.egd=file:/dev/urandom -Dspring-boot.run.profiles=staging