pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>picc</artifactId>
  7. <groupId>com.jpsoft</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>picc-enterprise-server</artifactId>
  12. <description>PICC投保管理系统-企业端</description>
  13. <packaging>war</packaging>
  14. <properties>
  15. <swagger2.version>2.7.0</swagger2.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.jpsoft</groupId>
  20. <artifactId>picc-common</artifactId>
  21. <version>1.0.0</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>net.unicon.cas</groupId>
  25. <artifactId>cas-client-autoconfig-support</artifactId>
  26. <version>LATEST</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-tomcat</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.junit.vintage</groupId>
  45. <artifactId>junit-vintage-engine</artifactId>
  46. </exclusion>
  47. </exclusions>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-aop</artifactId>
  52. </dependency>
  53. <!-- swagger ui begin-->
  54. <dependency>
  55. <groupId>io.springfox</groupId>
  56. <artifactId>springfox-swagger2</artifactId>
  57. <version>${swagger2.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>io.springfox</groupId>
  61. <artifactId>springfox-swagger-ui</artifactId>
  62. <version>${swagger2.version}</version>
  63. </dependency>
  64. <!-- swagger ui end-->
  65. <!--logging start-->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-logging</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.lazyluke</groupId>
  72. <artifactId>log4jdbc-remix</artifactId>
  73. <version>0.2.7</version>
  74. </dependency>
  75. <!--logging end-->
  76. <!-- 数据库相关 start-->
  77. <dependency>
  78. <groupId>org.mybatis.spring.boot</groupId>
  79. <artifactId>mybatis-spring-boot-starter</artifactId>
  80. <version>2.0.1</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>mysql</groupId>
  84. <artifactId>mysql-connector-java</artifactId>
  85. <scope>runtime</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.github.pagehelper</groupId>
  89. <artifactId>pagehelper-spring-boot-starter</artifactId>
  90. <version>LATEST</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.alibaba</groupId>
  94. <artifactId>druid-spring-boot-starter</artifactId>
  95. <version>1.1.10</version>
  96. </dependency>
  97. <!-- 数据库相关 end-->
  98. <dependency>
  99. <groupId>commons-httpclient</groupId>
  100. <artifactId>commons-httpclient</artifactId>
  101. <version>3.1</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.jsoup</groupId>
  105. <artifactId>jsoup</artifactId>
  106. <version>1.9.2</version>
  107. </dependency>
  108. <!--websocket start-->
  109. <!-- <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-starter-websocket</artifactId>
  112. </dependency>-->
  113. <!--websocket end-->
  114. </dependencies>
  115. <build>
  116. <plugins>
  117. <plugin>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-maven-plugin</artifactId>
  120. <configuration>
  121. <fork>true</fork>
  122. <addResources>true</addResources>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-surefire-plugin</artifactId>
  128. <version>2.16</version>
  129. <configuration>
  130. <includes>
  131. <include>**/*TestForPack.java</include>
  132. </includes>
  133. <argLine>-Xmx256M</argLine>
  134. </configuration>
  135. <dependencies>
  136. <dependency>
  137. <groupId>org.apache.maven.surefire</groupId>
  138. <artifactId>surefire-junit47</artifactId>
  139. <version>2.16</version>
  140. </dependency>
  141. </dependencies>
  142. </plugin>
  143. </plugins>
  144. </build>
  145. <profiles>
  146. <profile>
  147. <id>dev</id>
  148. <dependencies>
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-starter-tomcat</artifactId>
  152. </dependency>
  153. </dependencies>
  154. <properties>
  155. <active.profile>dev</active.profile>
  156. </properties>
  157. <activation>
  158. <activeByDefault>true</activeByDefault>
  159. </activation>
  160. </profile>
  161. <profile>
  162. <id>remote</id>
  163. <dependencies>
  164. <dependency>
  165. <groupId>javax.servlet</groupId>
  166. <artifactId>javax.servlet-api</artifactId>
  167. <version>3.1.0</version>
  168. <scope>provided</scope>
  169. </dependency>
  170. </dependencies>
  171. <properties>
  172. <active.profile>remote</active.profile>
  173. </properties>
  174. </profile>
  175. <profile>
  176. <id>test</id>
  177. <dependencies>
  178. <dependency>
  179. <groupId>javax.servlet</groupId>
  180. <artifactId>javax.servlet-api</artifactId>
  181. <version>3.1.0</version>
  182. <scope>provided</scope>
  183. </dependency>
  184. </dependencies>
  185. <properties>
  186. <active.profile>test</active.profile>
  187. </properties>
  188. </profile>
  189. <profile>
  190. <id>production</id>
  191. <properties>
  192. <active.profile>production</active.profile>
  193. </properties>
  194. <dependencies>
  195. <dependency>
  196. <groupId>javax.servlet</groupId>
  197. <artifactId>javax.servlet-api</artifactId>
  198. <version>3.1.0</version>
  199. <scope>provided</scope>
  200. </dependency>
  201. </dependencies>
  202. </profile>
  203. </profiles>
  204. </project>