作者:微信小助手
发布时间:2021-04-30T15:51:08
点击蓝色“架构文摘”关注我哟
加个“星标”,每天上午 09:25,干货推送!
作者:神牛003
原文:cnblogs.com/wangrudong003/p/10502043.html
1 <profiles>
2 <profile>
3 <id>node</id>
4 <properties>
5 <!--传递给脚本的参数值-->
6 <activeProfile>node</activeProfile>
7 <package-name> ${scripts_packageName}</package-name>
8 <boot-main> ${scripts_bootMain}</boot-main>
9 </properties>
10 <activation>
11 <activeByDefault> true</activeByDefault>
12 </activation>
13 </profile>
14 <profile>
15 <id>node1</id>
16 <properties>
17 <activeProfile>node1</activeProfile>
18 <package-name> ${scripts_packageName}</package-name>
19 <boot-main> ${scripts_bootMain}</boot-main>
20 </properties>
21 </profile>
22 <profile>
23 <id>node2</id>
24 <properties>
25 <activeProfile>node2</activeProfile>
26 <package-name> ${scripts_packageName}</package-name>
27 <boot-main> ${scripts_bootMain}</boot-main>
28 </properties>
29 </profile>
30 </profiles>