pom.xml 7.0 KB

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