pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. </dependencies>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. <configuration>
  115. <fork>true</fork>
  116. <addResources>true</addResources>
  117. </configuration>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-surefire-plugin</artifactId>
  122. <version>2.16</version>
  123. <configuration>
  124. <includes>
  125. <include>**/*TestForPack.java</include>
  126. </includes>
  127. <argLine>-Xmx256M</argLine>
  128. </configuration>
  129. <dependencies>
  130. <dependency>
  131. <groupId>org.apache.maven.surefire</groupId>
  132. <artifactId>surefire-junit47</artifactId>
  133. <version>2.16</version>
  134. </dependency>
  135. </dependencies>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. <profiles>
  140. <profile>
  141. <id>dev</id>
  142. <dependencies>
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-starter-tomcat</artifactId>
  146. </dependency>
  147. </dependencies>
  148. <properties>
  149. <active.profile>dev</active.profile>
  150. </properties>
  151. <activation>
  152. <activeByDefault>true</activeByDefault>
  153. </activation>
  154. </profile>
  155. <profile>
  156. <id>remote</id>
  157. <dependencies>
  158. <dependency>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-starter-tomcat</artifactId>
  161. <scope>provided</scope>
  162. </dependency>
  163. </dependencies>
  164. <properties>
  165. <active.profile>remote</active.profile>
  166. </properties>
  167. </profile>
  168. <profile>
  169. <id>test</id>
  170. <dependencies>
  171. <dependency>
  172. <groupId>org.springframework.boot</groupId>
  173. <artifactId>spring-boot-starter-tomcat</artifactId>
  174. <scope>provided</scope>
  175. </dependency>
  176. </dependencies>
  177. <properties>
  178. <active.profile>test</active.profile>
  179. </properties>
  180. </profile>
  181. <profile>
  182. <id>production</id>
  183. <properties>
  184. <active.profile>production</active.profile>
  185. </properties>
  186. <dependencies>
  187. <dependency>
  188. <groupId>org.springframework.boot</groupId>
  189. <artifactId>spring-boot-starter-tomcat</artifactId>
  190. </dependency>
  191. </dependencies>
  192. </profile>
  193. </profiles>
  194. </project>