Maven 打包时指定 Profile

通过 -P 参数指定打包时使用的 profile

下面的命令表示使用 test 环境的 profile

mvn clean package -P test