maven 使用-P指定环境打包,linux移动配置文件失败,windows成功! 问题描述: windows机器使用-P指定环境打包,最后组装文件组装成功,配置文件成功移动,linux下却只移动了jar包。 windows: linux: 解决方法:修改package.xml下方截图标示处