Skip to content

Commit

Permalink
refactor profile
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam committed Jan 16, 2017
1 parent a15b7eb commit 3eeaacd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@
</build>
<profiles>
<profile>
<!-- for travis usage -->
<id>travis</id>
<activation>
<property>
Expand Down Expand Up @@ -490,6 +491,7 @@
</repositories>
</profile>
<profile>
<!-- for open source usage -->
<id>dev</id>
<properties>
<package.environment>dev</package.environment>
Expand All @@ -505,6 +507,7 @@
</repositories>
</profile>
<profile>
<!-- for ctrip development -->
<id>ctrip-dev</id>
<properties>
<package.environment>dev</package.environment>
Expand Down Expand Up @@ -584,21 +587,28 @@
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.dianping.cat</groupId>
<artifactId>cat-client</artifactId>
</dependency>
<dependency>
<groupId>com.ctrip.3rdparty.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
</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>
<groupId>com.ctrip.framework.clogging</groupId>
<artifactId>clogging-agent</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<!-- for ctrip production -->
<id>ctrip</id>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 3eeaacd

Please sign in to comment.