Commit 3eeaacd8 by Jason Song

refactor profile

parent a15b7eb7
...@@ -435,6 +435,7 @@ ...@@ -435,6 +435,7 @@
</build> </build>
<profiles> <profiles>
<profile> <profile>
<!-- for travis usage -->
<id>travis</id> <id>travis</id>
<activation> <activation>
<property> <property>
...@@ -490,6 +491,7 @@ ...@@ -490,6 +491,7 @@
</repositories> </repositories>
</profile> </profile>
<profile> <profile>
<!-- for open source usage -->
<id>dev</id> <id>dev</id>
<properties> <properties>
<package.environment>dev</package.environment> <package.environment>dev</package.environment>
...@@ -505,6 +507,7 @@ ...@@ -505,6 +507,7 @@
</repositories> </repositories>
</profile> </profile>
<profile> <profile>
<!-- for ctrip development -->
<id>ctrip-dev</id> <id>ctrip-dev</id>
<properties> <properties>
<package.environment>dev</package.environment> <package.environment>dev</package.environment>
...@@ -585,13 +588,19 @@ ...@@ -585,13 +588,19 @@
</dependencyManagement> </dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.dianping.cat</groupId>
<artifactId>cat-client</artifactId>
</dependency>
<dependency>
<groupId>com.ctrip.3rdparty.tomcat.embed</groupId> <groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId> <artifactId>tomcat-embed-core</artifactId>
</dependency> </dependency>
</dependencies>
</profile>
<profile>
<!-- for ctrip development with logging capability -->
<id>ctrip-logging</id>
<dependencies>
<dependency>
<groupId>com.dianping.cat</groupId>
<artifactId>cat-client</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.ctrip.framework.clogging</groupId> <groupId>com.ctrip.framework.clogging</groupId>
<artifactId>clogging-agent</artifactId> <artifactId>clogging-agent</artifactId>
...@@ -599,6 +608,7 @@ ...@@ -599,6 +608,7 @@
</dependencies> </dependencies>
</profile> </profile>
<profile> <profile>
<!-- for ctrip production -->
<id>ctrip</id> <id>ctrip</id>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment