【发布时间】:2018-01-14 16:53:39
【问题描述】:
我想在本地开发时使用爆炸式战争(为了速度),但在部署到云时创建适当的压缩战争。
如何在每个环境中运行不同的执行?
<artifactId>maven-war-plugin</artifactId>
<executions>
<execution>
<id>default-war</id>
<phase>none</phase>
</execution>
<execution>
<id>war-exploded</id>
<phase>package</phase>
<goals>
<goal>exploded</goal>
</goals>
</execution>
</executions>
【问题讨论】:
-
我认为你需要的是个人资料