Commit f2c1840eac6998d455f46a0226be5a829a85839f
1 parent
0bacedd2
配置全局环境变量
Showing
1 changed file
with
32 additions
and
15 deletions
pom.xml
... | ... | @@ -19,6 +19,7 @@ |
19 | 19 | <properties> |
20 | 20 | <!-- 部署环境(对应配置文件版本) --> |
21 | 21 | <env>main</env> |
22 | + <ver>3.0-SNAPSHOT</ver> | |
22 | 23 | <maven.test.skip>false</maven.test.skip> |
23 | 24 | </properties> |
24 | 25 | <!-- 设置默认环境 --> |
... | ... | @@ -33,6 +34,17 @@ |
33 | 34 | <properties> |
34 | 35 | <!-- 部署环境(对应配置文件版本) --> |
35 | 36 | <env>test</env> |
37 | + <ver>3.0-SNAPSHOT</ver> | |
38 | + </properties> | |
39 | + </profile> | |
40 | + | |
41 | + <!-- qa环境 --> | |
42 | + <profile> | |
43 | + <id>qa</id> | |
44 | + <properties> | |
45 | + <!-- 部署环境(对应配置文件版本) --> | |
46 | + <env>qa</env> | |
47 | + <ver>1.0.QA-SNAPSHOT</ver> | |
36 | 48 | </properties> |
37 | 49 | </profile> |
38 | 50 | |
... | ... | @@ -57,32 +69,37 @@ |
57 | 69 | |
58 | 70 | |
59 | 71 | <!-- common projects --> |
60 | - <ylp-common-tools.version>3.0-SNAPSHOT</ylp-common-tools.version> | |
61 | - <ylp-common-config.version>3.0-SNAPSHOT</ylp-common-config.version> | |
62 | - <ylp-common-core.version>3.0-SNAPSHOT</ylp-common-core.version> | |
63 | - <ylp-common-web.version>3.0-SNAPSHOT</ylp-common-web.version> | |
72 | + <ylp-common-tools.version>${ver}</ylp-common-tools.version> | |
73 | + <ylp-common-config.version>${ver}</ylp-common-config.version> | |
74 | + <ylp-common-core.version>${ver}</ylp-common-core.version> | |
75 | + <ylp-common-web.version>${ver}</ylp-common-web.version> | |
64 | 76 | |
65 | 77 | <!-- facade projects --> |
66 | - <ylp-facade-user.version>3.0-SNAPSHOT</ylp-facade-user.version> | |
67 | - <ylp-facade-account.version>3.0-SNAPSHOT</ylp-facade-account.version> | |
68 | - <ylp-facade-settlement.version>3.0-SNAPSHOT</ylp-facade-settlement.version> | |
69 | - <ylp-facade-trade.version>3.0-SNAPSHOT</ylp-facade-trade.version> | |
78 | + <ylp-facade-user.version>${ver}</ylp-facade-user.version> | |
79 | + <ylp-facade-account.version>${ver}</ylp-facade-account.version> | |
80 | + <ylp-facade-settlement.version>${ver}</ylp-facade-settlement.version> | |
81 | + <ylp-facade-trade.version>${ver}</ylp-facade-trade.version> | |
82 | + <ylp-facade-notify.version>${ver}</ylp-facade-notify.version> | |
70 | 83 | |
71 | 84 | <!-- service projects --> |
72 | - <ylp-service-user.version>3.0-SNAPSHOT</ylp-service-user.version> | |
73 | - <ylp-service-account.version>3.0-SNAPSHOT</ylp-service-account.version> | |
74 | - <ylp-service-settlement.version>3.0-SNAPSHOT</ylp-service-settlement.version> | |
75 | - <ylp-service-trade.version>3.0-SNAPSHOT</ylp-service-trade.version> | |
85 | + <ylp-service-user.version>${ver}</ylp-service-user.version> | |
86 | + <ylp-service-account.version>${ver}</ylp-service-account.version> | |
87 | + <ylp-service-settlement.version>${ver}</ylp-service-settlement.version> | |
88 | + <ylp-service-trade.version>${ver}</ylp-service-trade.version> | |
89 | + <ylp-service-notify.version>${ver}</ylp-service-notify.version> | |
76 | 90 | |
77 | 91 | <!-- web projects --> |
78 | - <ylp-web-pay.version>3.0-SNAPSHOT</ylp-web-pay.version> | |
92 | + <ylp-web-pay.version>${ver}</ylp-web-pay.version> | |
79 | 93 | |
80 | 94 | <!-- timer task projects --> |
81 | - <ylp-timer-settlement.version>3.0-SNAPSHOT</ylp-timer-settlement.version> | |
95 | + <ylp-timer-settlement.version>${ver}</ylp-timer-settlement.version> | |
82 | 96 | <!-- extend projects --> |
83 | 97 | |
84 | 98 | <!-- api projects --> |
85 | - <ylp-payweb-api.version>3.0-SNAPSHOT</ylp-payweb-api.version> | |
99 | + <ylp-payweb-api.version>${ver}</ylp-payweb-api.version> | |
100 | + | |
101 | + <!-- app projects --> | |
102 | + <ylp-app-queue-notify.version>${ver}</ylp-app-queue-notify.version> | |
86 | 103 | |
87 | 104 | <!-- ========================================================== --> |
88 | 105 | ... | ... |