|
@@ -312,5 +312,20 @@
|
|
<activeByDefault>true</activeByDefault>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</activation>
|
|
</profile>
|
|
</profile>
|
|
|
|
+ <profile>
|
|
|
|
+ <id>test</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
|
|
+ <profiles.active>test</profiles.active>
|
|
|
|
+ <nacos.address>http://192.168.10.101:8848</nacos.address>
|
|
|
|
+ <nacos.namespace>${profiles.active}</nacos.namespace>
|
|
|
|
+ <nacos.username></nacos.username>
|
|
|
|
+ <nacos.password></nacos.password>
|
|
|
|
+ </properties>
|
|
|
|
+ <activation>
|
|
|
|
+ <!-- 默认环境 -->
|
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
|
+ </activation>
|
|
|
|
+ </profile>
|
|
</profiles>
|
|
</profiles>
|
|
</project>
|
|
</project>
|