pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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-admin-server</artifactId>
  12. <description>PICC投保管理系统-管理端</description>
  13. <properties>
  14. <swagger2.version>2.7.0</swagger2.version>
  15. <jwts.version>0.10.5</jwts.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>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. <exclusions>
  27. <exclusion>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-tomcat</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-test</artifactId>
  36. <scope>test</scope>
  37. <exclusions>
  38. <exclusion>
  39. <groupId>org.junit.vintage</groupId>
  40. <artifactId>junit-vintage-engine</artifactId>
  41. </exclusion>
  42. </exclusions>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-aop</artifactId>
  47. </dependency>
  48. <!-- swagger ui begin-->
  49. <dependency>
  50. <groupId>io.springfox</groupId>
  51. <artifactId>springfox-swagger2</artifactId>
  52. <version>${swagger2.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.springfox</groupId>
  56. <artifactId>springfox-swagger-ui</artifactId>
  57. <version>${swagger2.version}</version>
  58. </dependency>
  59. <!-- swagger ui end-->
  60. <!--jwt start-->
  61. <dependency>
  62. <groupId>io.jsonwebtoken</groupId>
  63. <artifactId>jjwt-api</artifactId>
  64. <version>${jwts.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.jsonwebtoken</groupId>
  68. <artifactId>jjwt-impl</artifactId>
  69. <version>${jwts.version}</version>
  70. <scope>runtime</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.jsonwebtoken</groupId>
  74. <artifactId>jjwt-jackson</artifactId>
  75. <version>${jwts.version}</version>
  76. <scope>runtime</scope>
  77. </dependency>
  78. <!--jwt end-->
  79. <!--logging start-->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-logging</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.lazyluke</groupId>
  86. <artifactId>log4jdbc-remix</artifactId>
  87. <version>0.2.7</version>
  88. </dependency>
  89. <!--logging end-->
  90. <!-- 数据库相关 start-->
  91. <dependency>
  92. <groupId>org.mybatis.spring.boot</groupId>
  93. <artifactId>mybatis-spring-boot-starter</artifactId>
  94. <version>2.0.1</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>mysql</groupId>
  98. <artifactId>mysql-connector-java</artifactId>
  99. <scope>runtime</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.github.pagehelper</groupId>
  103. <artifactId>pagehelper-spring-boot-starter</artifactId>
  104. <version>LATEST</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.alibaba</groupId>
  108. <artifactId>druid-spring-boot-starter</artifactId>
  109. <version>1.1.10</version>
  110. </dependency>
  111. <!-- 数据库相关 end-->
  112. </dependencies>
  113. <build>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <configuration>
  119. <fork>true</fork>
  120. <addResources>true</addResources>
  121. </configuration>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-surefire-plugin</artifactId>
  126. <version>2.16</version>
  127. <configuration>
  128. <includes>
  129. <include>**/*TestForPack.java</include>
  130. </includes>
  131. <argLine>-Xmx256M</argLine>
  132. </configuration>
  133. <dependencies>
  134. <dependency>
  135. <groupId>org.apache.maven.surefire</groupId>
  136. <artifactId>surefire-junit47</artifactId>
  137. <version>2.16</version>
  138. </dependency>
  139. </dependencies>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. <profiles>
  144. <profile>
  145. <id>dev</id>
  146. <dependencies>
  147. <dependency>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-starter-tomcat</artifactId>
  150. </dependency>
  151. </dependencies>
  152. <activation>
  153. <activeByDefault>true</activeByDefault>
  154. </activation>
  155. <properties>
  156. <active.profile>dev</active.profile>
  157. </properties>
  158. </profile>
  159. <profile>
  160. <id>test</id>
  161. <dependencies>
  162. <dependency>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-starter-tomcat</artifactId>
  165. <scope>provided</scope>
  166. </dependency>
  167. </dependencies>
  168. <properties>
  169. <active.profile>test</active.profile>
  170. </properties>
  171. </profile>
  172. <profile>
  173. <id>production</id>
  174. <properties>
  175. <active.profile>production</active.profile>
  176. </properties>
  177. <dependencies>
  178. <dependency>
  179. <groupId>org.springframework.boot</groupId>
  180. <artifactId>spring-boot-starter-tomcat</artifactId>
  181. </dependency>
  182. </dependencies>
  183. </profile>
  184. </profiles>
  185. </project>