调整profiles
This commit is contained in:
@@ -183,6 +183,25 @@
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<profiles>
|
||||
<!-- 默认本地开发环境;显式选择 -Pprod 时 Maven 会停用此默认 profile。 -->
|
||||
<profile>
|
||||
<id>local</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<properties>
|
||||
<profiles.active>local</profiles.active>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>prod</id>
|
||||
<properties>
|
||||
<profiles.active>prod</profiles.active>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
Reference in New Issue
Block a user