pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.netflix</groupId>
  7. <artifactId>netflix</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0</version>
  10. <description>netflix</description>
  11. <properties>
  12. <java.version>11</java.version>
  13. <fastjson.version>1.2.84</fastjson.version>
  14. <spring.boot.version>2.4.3</spring.boot.version>
  15. <jackson.version>2.10.3</jackson.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>11</maven.compiler.source>
  18. <maven.compiler.target>11</maven.compiler.target>
  19. </properties>
  20. <dependencyManagement>
  21. <dependencies>
  22. <!-- Pin transitive Fastjson 1.x dependencies to the security fix release. -->
  23. <dependency>
  24. <groupId>com.alibaba</groupId>
  25. <artifactId>fastjson</artifactId>
  26. <version>${fastjson.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-dependencies</artifactId>
  31. <version>${spring.boot.version}</version>
  32. <type>pom</type>
  33. <scope>import</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.netflix</groupId>
  37. <artifactId>netflix-web</artifactId>
  38. <version>1.0</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.netflix</groupId>
  42. <artifactId>netflix-service</artifactId>
  43. <version>1.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.netflix</groupId>
  47. <artifactId>netflix-dao</artifactId>
  48. <version>1.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.netflix</groupId>
  52. <artifactId>netflix-common</artifactId>
  53. <version>1.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.projectlombok</groupId>
  57. <artifactId>lombok</artifactId>
  58. <version>1.18.12</version>
  59. </dependency>
  60. <!-- Sa-Token 整合 Redis (使用jackson序列化方式) -->
  61. <dependency>
  62. <groupId>cn.dev33</groupId>
  63. <artifactId>sa-token-dao-redis-jackson</artifactId>
  64. <version>1.26.0</version>
  65. </dependency>
  66. <!-- sa-token -->
  67. <dependency>
  68. <groupId>cn.dev33</groupId>
  69. <artifactId>sa-token-spring-boot-starter</artifactId>
  70. <version>1.26.0</version>
  71. </dependency>
  72. </dependencies>
  73. </dependencyManagement>
  74. <dependencies>
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <scope>provided</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.paypal.sdk</groupId>
  82. <artifactId>rest-api-sdk</artifactId>
  83. <version>1.14.0</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.paypal.sdk</groupId>
  87. <artifactId>checkout-sdk</artifactId>
  88. <version>1.0.2</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.stripe</groupId>
  92. <artifactId>stripe-java</artifactId>
  93. <version>22.1.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-actuator</artifactId>
  98. </dependency>
  99. <!-- mybatis plus -->
  100. <dependency>
  101. <groupId>com.baomidou</groupId>
  102. <artifactId>mybatis-plus-boot-starter</artifactId>
  103. <version>3.4.2</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.alibaba</groupId>
  107. <artifactId>easyexcel</artifactId>
  108. <version>2.2.5</version>
  109. </dependency>
  110. <!-- 提供redis连接池 -->
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-pool2</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-starter-data-redis</artifactId>
  118. </dependency>
  119. <!-- SpringBoot / Grails 的项目直接使用以下依赖,更为方便(只添加这一个依赖即可) -->
  120. <dependency>
  121. <groupId>com.ejlchina</groupId>
  122. <artifactId>bean-searcher-boot-starter</artifactId>
  123. <version>3.8.0</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.squareup.okhttp3</groupId>
  127. <artifactId>okhttp-sse</artifactId>
  128. <version>3.14.9</version>
  129. </dependency>
  130. <!-- <dependency>-->
  131. <!-- <groupId>org.apache.httpcomponents</groupId>-->
  132. <!-- <artifactId>fluent-hc</artifactId>-->
  133. <!-- <version>4.5.6</version>-->
  134. <!-- </dependency>-->
  135. <!-- <dependency>-->
  136. <!-- <groupId>com.squareup.okhttp3</groupId>-->
  137. <!-- <artifactId>okhttp</artifactId>-->
  138. <!-- <version>4.5.0</version>-->
  139. <!-- </dependency>-->
  140. </dependencies>
  141. <build>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. </plugin>
  147. <plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-compiler-plugin</artifactId>
  150. <version>3.8.1</version>
  151. <configuration>
  152. <source>${java.version}</source>
  153. <target>${java.version}</target>
  154. <encoding>${project.build.sourceEncoding}</encoding>
  155. <compilerArgument>-Xlint:unchecked</compilerArgument>
  156. </configuration>
  157. </plugin>
  158. </plugins>
  159. <resources>
  160. <resource>
  161. <directory>src/main/resources</directory>
  162. <includes>
  163. <include>**/*</include>
  164. </includes>
  165. <filtering>true</filtering>
  166. </resource>
  167. </resources>
  168. <finalName>netflix</finalName>
  169. </build>
  170. <!-- profiles配置 -->
  171. <profiles>
  172. <profile>
  173. <id>dev</id>
  174. <activation>
  175. <activeByDefault>true</activeByDefault>
  176. </activation>
  177. <build>
  178. <filters>
  179. <filter>../deploy/vars/dev.properties</filter>
  180. </filters>
  181. </build>
  182. </profile>
  183. <profile>
  184. <id>prd</id>
  185. <build>
  186. <filters>
  187. <filter>../deploy/vars/prd.properties</filter>
  188. </filters>
  189. </build>
  190. </profile>
  191. </profiles>
  192. <modules>
  193. <module>netflix-common</module>
  194. <module>netflix-dao</module>
  195. <module>netflix-service</module>
  196. <module>netflix-web</module>
  197. </modules>
  198. </project>