pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.1.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jpsoft</groupId>
  12. <artifactId>epay-server</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>epay-server</name>
  15. <description>电表缴费</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <swagger2.version>2.7.0</swagger2.version>
  19. <jwts.version>0.10.5</jwts.version>
  20. <netty-all.version>4.1.6.Final</netty-all.version>
  21. <lombok.version>1.16.12</lombok.version>
  22. <fastjson.version>1.2.29</fastjson.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-devtools</artifactId>
  32. <scope>runtime</scope>
  33. <optional>true</optional>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. <optional>true</optional>
  39. </dependency>
  40. <!-- <dependency>-->
  41. <!-- <groupId>org.slf4j</groupId>-->
  42. <!-- <artifactId>slf4j-api</artifactId>-->
  43. <!-- <version>1.7.25</version>-->
  44. <!-- </dependency>-->
  45. <!-- <dependency>-->
  46. <!-- <groupId>org.slf4j</groupId>-->
  47. <!-- <artifactId>slf4j-log4j12</artifactId>-->
  48. <!-- <version>1.7.25</version>-->
  49. <!-- </dependency>-->
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.junit.vintage</groupId>
  57. <artifactId>junit-vintage-engine</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-aop</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>io.springfox</groupId>
  67. <artifactId>springfox-swagger2</artifactId>
  68. <version>${swagger2.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.springfox</groupId>
  72. <artifactId>springfox-swagger-ui</artifactId>
  73. <version>${swagger2.version}</version>
  74. </dependency>
  75. <!--jwt start-->
  76. <dependency>
  77. <groupId>io.jsonwebtoken</groupId>
  78. <artifactId>jjwt-api</artifactId>
  79. <version>0.10.5</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.jsonwebtoken</groupId>
  83. <artifactId>jjwt-impl</artifactId>
  84. <version>${jwts.version}</version>
  85. <scope>runtime</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.jsonwebtoken</groupId>
  89. <artifactId>jjwt-jackson</artifactId>
  90. <version>${jwts.version}</version>
  91. <scope>runtime</scope>
  92. </dependency>
  93. <!--jwt end-->
  94. <!--logging start-->
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-logging</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.lazyluke</groupId>
  101. <artifactId>log4jdbc-remix</artifactId>
  102. <version>0.2.7</version>
  103. </dependency>
  104. <!--logging end-->
  105. <dependency>
  106. <groupId>io.netty</groupId>
  107. <artifactId>netty-all</artifactId>
  108. <version>${netty-all.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.projectlombok</groupId>
  112. <artifactId>lombok</artifactId>
  113. <version>${lombok.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.alibaba</groupId>
  117. <artifactId>fastjson</artifactId>
  118. <version>${fastjson.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.github.dozermapper</groupId>
  122. <artifactId>dozer-core</artifactId>
  123. <version>6.4.1</version>
  124. </dependency>
  125. <!-- 数据库相关 start-->
  126. <dependency>
  127. <groupId>org.mybatis.spring.boot</groupId>
  128. <artifactId>mybatis-spring-boot-starter</artifactId>
  129. <version>2.0.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>mysql</groupId>
  133. <artifactId>mysql-connector-java</artifactId>
  134. <scope>runtime</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.github.pagehelper</groupId>
  138. <artifactId>pagehelper-spring-boot-starter</artifactId>
  139. <version>LATEST</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>druid-spring-boot-starter</artifactId>
  144. <version>1.1.10</version>
  145. </dependency>
  146. <!-- 数据库相关 end-->
  147. </dependencies>
  148. <build>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.springframework.boot</groupId>
  152. <artifactId>spring-boot-maven-plugin</artifactId>
  153. <configuration>
  154. <fork>true</fork>
  155. <addResources>true</addResources>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-surefire-plugin</artifactId>
  161. <version>2.16</version>
  162. <configuration>
  163. <includes>
  164. <include>**/*TestForPack.java</include>
  165. </includes>
  166. <argLine>-Xmx256M</argLine>
  167. </configuration>
  168. <dependencies>
  169. <dependency>
  170. <groupId>org.apache.maven.surefire</groupId>
  171. <artifactId>surefire-junit47</artifactId>
  172. <version>2.16</version>
  173. </dependency>
  174. </dependencies>
  175. </plugin>
  176. </plugins>
  177. </build>
  178. <profiles>
  179. <profile>
  180. <id>dev</id>
  181. <dependencies>
  182. <dependency>
  183. <groupId>org.springframework.boot</groupId>
  184. <artifactId>spring-boot-starter-tomcat</artifactId>
  185. </dependency>
  186. </dependencies>
  187. <activation>
  188. <activeByDefault>true</activeByDefault>
  189. </activation>
  190. <properties>
  191. <active.profile>dev</active.profile>
  192. </properties>
  193. </profile>
  194. <profile>
  195. <id>test</id>
  196. <dependencies>
  197. <dependency>
  198. <groupId>org.springframework.boot</groupId>
  199. <artifactId>spring-boot-starter-tomcat</artifactId>
  200. <scope>provided</scope>
  201. </dependency>
  202. </dependencies>
  203. <properties>
  204. <active.profile>test</active.profile>
  205. </properties>
  206. </profile>
  207. </profiles>
  208. </project>