pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. <packaging>war</packaging>
  14. <properties>
  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. <!--jwt start-->
  49. <dependency>
  50. <groupId>io.jsonwebtoken</groupId>
  51. <artifactId>jjwt-api</artifactId>
  52. <version>${jwts.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.jsonwebtoken</groupId>
  56. <artifactId>jjwt-impl</artifactId>
  57. <version>${jwts.version}</version>
  58. <scope>runtime</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt-jackson</artifactId>
  63. <version>${jwts.version}</version>
  64. <scope>runtime</scope>
  65. </dependency>
  66. <!--jwt end-->
  67. <!--logging start-->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-logging</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.lazyluke</groupId>
  74. <artifactId>log4jdbc-remix</artifactId>
  75. <version>0.2.7</version>
  76. </dependency>
  77. <!--logging end-->
  78. <!-- 数据库相关 start-->
  79. <dependency>
  80. <groupId>org.mybatis.spring.boot</groupId>
  81. <artifactId>mybatis-spring-boot-starter</artifactId>
  82. <version>2.0.1</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>mysql</groupId>
  86. <artifactId>mysql-connector-java</artifactId>
  87. <scope>runtime</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.github.pagehelper</groupId>
  91. <artifactId>pagehelper-spring-boot-starter</artifactId>
  92. <version>LATEST</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.alibaba</groupId>
  96. <artifactId>druid-spring-boot-starter</artifactId>
  97. <version>1.1.10</version>
  98. </dependency>
  99. <!-- 数据库相关 end-->
  100. </dependencies>
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-maven-plugin</artifactId>
  106. <configuration>
  107. <fork>true</fork>
  108. <addResources>true</addResources>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-surefire-plugin</artifactId>
  114. <version>2.16</version>
  115. <configuration>
  116. <includes>
  117. <include>**/*TestForPack.java</include>
  118. </includes>
  119. <argLine>-Xmx256M</argLine>
  120. </configuration>
  121. <dependencies>
  122. <dependency>
  123. <groupId>org.apache.maven.surefire</groupId>
  124. <artifactId>surefire-junit47</artifactId>
  125. <version>2.16</version>
  126. </dependency>
  127. </dependencies>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. <profiles>
  132. <profile>
  133. <id>dev</id>
  134. <dependencies>
  135. <dependency>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-starter-tomcat</artifactId>
  138. </dependency>
  139. </dependencies>
  140. <activation>
  141. <activeByDefault>true</activeByDefault>
  142. </activation>
  143. <properties>
  144. <active.profile>dev</active.profile>
  145. </properties>
  146. </profile>
  147. <profile>
  148. <id>test</id>
  149. <dependencies>
  150. <dependency>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-starter-tomcat</artifactId>
  153. <scope>provided</scope>
  154. </dependency>
  155. </dependencies>
  156. <properties>
  157. <active.profile>test</active.profile>
  158. </properties>
  159. </profile>
  160. <profile>
  161. <id>production</id>
  162. <properties>
  163. <active.profile>production</active.profile>
  164. </properties>
  165. <dependencies>
  166. <dependency>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-starter-tomcat</artifactId>
  169. </dependency>
  170. </dependencies>
  171. </profile>
  172. </profiles>
  173. </project>