pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.uas.platform</groupId>
  6. <artifactId>platform</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <relativePath>../platform</relativePath>
  9. </parent>
  10. <artifactId>pan</artifactId>
  11. <version>0.0.1</version>
  12. <name>pan</name>
  13. <url>http://maven.apache.org</url>
  14. <profiles>
  15. <profile>
  16. <!-- 开发环境 -->
  17. <id>dev</id>
  18. <properties>
  19. <profile>dev</profile>
  20. </properties>
  21. <!-- 默认 -->
  22. <activation>
  23. <activeByDefault>true</activeByDefault>
  24. </activation>
  25. </profile>
  26. <profile>
  27. <!-- 测试环境 -->
  28. <id>test</id>
  29. <properties>
  30. <profile>test</profile>
  31. </properties>
  32. </profile>
  33. <profile>
  34. <!-- 生产环境 -->
  35. <id>prod</id>
  36. <properties>
  37. <profile>prod</profile>
  38. </properties>
  39. </profile>
  40. </profiles>
  41. <dependencies>
  42. <!-- spring-webmvc -->
  43. <dependency>
  44. <groupId>org.springframework</groupId>
  45. <artifactId>spring-webmvc</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework</groupId>
  49. <artifactId>spring-context-support</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework</groupId>
  53. <artifactId>spring-tx</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.data</groupId>
  57. <artifactId>spring-data-jpa</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework</groupId>
  61. <artifactId>spring-aspects</artifactId>
  62. </dependency>
  63. <!-- spring mobile -->
  64. <dependency>
  65. <groupId>org.springframework.mobile</groupId>
  66. <artifactId>spring-mobile-device</artifactId>
  67. </dependency>
  68. <!-- hibernate -->
  69. <dependency>
  70. <groupId>org.hibernate</groupId>
  71. <artifactId>hibernate-core</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.hibernate</groupId>
  75. <artifactId>hibernate-entitymanager</artifactId>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>cglib</groupId>
  79. <artifactId>cglib</artifactId>
  80. </exclusion>
  81. <exclusion>
  82. <groupId>dom4j</groupId>
  83. <artifactId>dom4j</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.hibernate.javax.persistence</groupId>
  89. <artifactId>hibernate-jpa-2.1-api</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.hibernate</groupId>
  93. <artifactId>hibernate-ehcache</artifactId>
  94. </dependency>
  95. <!-- jdbc -->
  96. <dependency>
  97. <groupId>com.oracle</groupId>
  98. <artifactId>ojdbc6</artifactId>
  99. </dependency>
  100. <!-- dbcp -->
  101. <dependency>
  102. <groupId>commons-dbcp</groupId>
  103. <artifactId>commons-dbcp</artifactId>
  104. </dependency>
  105. <!-- log4j -->
  106. <dependency>
  107. <groupId>log4j</groupId>
  108. <artifactId>log4j</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>commons-logging</groupId>
  112. <artifactId>commons-logging</artifactId>
  113. <version>1.1.1</version>
  114. </dependency>
  115. <!-- jackson -->
  116. <dependency>
  117. <groupId>com.fasterxml.jackson.core</groupId>
  118. <artifactId>jackson-core</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.fasterxml.jackson.core</groupId>
  122. <artifactId>jackson-databind</artifactId>
  123. </dependency>
  124. <!-- fastjson -->
  125. <dependency>
  126. <groupId>com.alibaba</groupId>
  127. <artifactId>fastjson</artifactId>
  128. </dependency>
  129. <!-- servlet -->
  130. <dependency>
  131. <groupId>javax.servlet</groupId>
  132. <artifactId>servlet-api</artifactId>
  133. </dependency>
  134. <!-- jstl -->
  135. <dependency>
  136. <groupId>jstl</groupId>
  137. <artifactId>jstl</artifactId>
  138. <version>1.2</version>
  139. </dependency>
  140. <!-- fileupload -->
  141. <dependency>
  142. <groupId>commons-fileupload</groupId>
  143. <artifactId>commons-fileupload</artifactId>
  144. <version>1.3.1</version>
  145. </dependency>
  146. <!-- dubbo -->
  147. <dependency>
  148. <groupId>com.alibaba</groupId>
  149. <artifactId>dubbo</artifactId>
  150. <exclusions>
  151. <exclusion>
  152. <groupId>javax.servlet</groupId>
  153. <artifactId>javax.servlet-api</artifactId>
  154. </exclusion>
  155. <exclusion>
  156. <groupId>org.apache.httpcomponents</groupId>
  157. <artifactId>httpcore</artifactId>
  158. </exclusion>
  159. </exclusions>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.zookeeper</groupId>
  163. <artifactId>zookeeper</artifactId>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.github.sgroschupf</groupId>
  167. <artifactId>zkclient</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.caucho</groupId>
  171. <artifactId>hessian</artifactId>
  172. </dependency>
  173. <!-- service on dubbo -->
  174. <dependency>
  175. <groupId>com.uas.dfs</groupId>
  176. <artifactId>dfs-api</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.uas.account</groupId>
  180. <artifactId>account-common</artifactId>
  181. </dependency>
  182. </dependencies>
  183. <packaging>war</packaging>
  184. <build>
  185. <finalName>pan</finalName>
  186. <!-- 受profile影响的目录 -->
  187. <resources>
  188. <resource>
  189. <directory>src/main/resources</directory>
  190. <filtering>true</filtering>
  191. </resource>
  192. </resources>
  193. </build>
  194. </project>