Commit 92450219a852c98bb7e18c8600e6a5eb67347d91

Authored by 领课-胡丕涛
1 parent daa256d2

资源系统修改判断

Showing 1 changed file with 18 additions and 8 deletions
1 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 3 <modelVersion>4.0.0</modelVersion>
4 4  
5 5 <groupId>com.ylp.common</groupId>
... ... @@ -9,10 +9,10 @@
9 9  
10 10 <name>ylp-common-parent</name>
11 11 <url>http://maven.apache.org</url>
12   -
  12 +
13 13 <!-- 全局属性配置 -->
14 14 <profiles>
15   -
  15 +
16 16 <!-- 开发环境 -->
17 17 <profile>
18 18 <id>main</id>
... ... @@ -27,7 +27,7 @@
27 27 <activeByDefault>true</activeByDefault>
28 28 </activation>
29 29 </profile>
30   -
  30 +
31 31 <!-- 测试环境 -->
32 32 <profile>
33 33 <id>test</id>
... ... @@ -37,7 +37,7 @@
37 37 <ver>3.0-SNAPSHOT</ver>
38 38 </properties>
39 39 </profile>
40   -
  40 +
41 41 <!-- qa环境 -->
42 42 <profile>
43 43 <id>qa</id>
... ... @@ -47,7 +47,17 @@
47 47 <ver>1.0-Release</ver>
48 48 </properties>
49 49 </profile>
50   -
  50 +
  51 + <!-- prod环境 -->
  52 + <profile>
  53 + <id>prod</id>
  54 + <properties>
  55 + <!-- 部署环境(对应配置文件版本) -->
  56 + <env>prod</env>
  57 + <ver>1.0-Release</ver>
  58 + </properties>
  59 + </profile>
  60 +
51 61 </profiles>
52 62  
53 63 <distributionManagement>
... ... @@ -474,11 +484,11 @@
474 484 <exclusions>
475 485 <exclusion>
476 486 <groupId>org.slf4j</groupId>
477   - <artifactId>slf4j-log4j12</artifactId>
  487 + <artifactId>slf4j-log4j12</artifactId>
478 488 </exclusion>
479 489 </exclusions>
480 490 </dependency>
481   -
  491 +
482 492 </dependencies>
483 493 </dependencyManagement>
484 494  
... ...