pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. <!--poi-->
  101. <!--itext-->
  102. </dependencies>
  103. <build>
  104. <plugins>
  105. <plugin>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-maven-plugin</artifactId>
  108. <configuration>
  109. <fork>true</fork>
  110. <addResources>true</addResources>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-surefire-plugin</artifactId>
  116. <version>2.16</version>
  117. <configuration>
  118. <includes>
  119. <include>**/*TestForPack.java</include>
  120. </includes>
  121. <argLine>-Xmx256M</argLine>
  122. </configuration>
  123. <dependencies>
  124. <dependency>
  125. <groupId>org.apache.maven.surefire</groupId>
  126. <artifactId>surefire-junit47</artifactId>
  127. <version>2.16</version>
  128. </dependency>
  129. </dependencies>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <profiles>
  134. <profile>
  135. <id>dev</id>
  136. <dependencies>
  137. <dependency>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-starter-tomcat</artifactId>
  140. </dependency>
  141. </dependencies>
  142. <activation>
  143. <activeByDefault>true</activeByDefault>
  144. </activation>
  145. <properties>
  146. <active.profile>dev</active.profile>
  147. </properties>
  148. </profile>
  149. <profile>
  150. <id>test</id>
  151. <dependencies>
  152. <dependency>
  153. <groupId>org.springframework.boot</groupId>
  154. <artifactId>spring-boot-starter-tomcat</artifactId>
  155. <scope>provided</scope>
  156. </dependency>
  157. </dependencies>
  158. <properties>
  159. <active.profile>test</active.profile>
  160. </properties>
  161. </profile>
  162. <profile>
  163. <id>production</id>
  164. <properties>
  165. <active.profile>production</active.profile>
  166. </properties>
  167. <dependencies>
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-tomcat</artifactId>
  171. </dependency>
  172. </dependencies>
  173. </profile>
  174. </profiles>
  175. </project>