war包配置添加如下配置即可<outputFileNameMapping>@{artifactId}@.@{baseVersion}@.@{extension}@</outputFileNameMapping>