pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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.4.2</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.stripe</groupId>
  80. <artifactId>stripe-java</artifactId>
  81. <version>22.1.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-actuator</artifactId>
  86. </dependency>
  87. <!-- mybatis plus -->
  88. <dependency>
  89. <groupId>com.baomidou</groupId>
  90. <artifactId>mybatis-plus-boot-starter</artifactId>
  91. <version>3.4.2</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>easyexcel</artifactId>
  96. <version>2.2.5</version>
  97. </dependency>
  98. <!-- 提供redis连接池 -->
  99. <dependency>
  100. <groupId>org.apache.commons</groupId>
  101. <artifactId>commons-pool2</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-starter-data-redis</artifactId>
  106. </dependency>
  107. <!-- SpringBoot / Grails 的项目直接使用以下依赖,更为方便(只添加这一个依赖即可) -->
  108. <dependency>
  109. <groupId>com.ejlchina</groupId>
  110. <artifactId>bean-searcher-boot-starter</artifactId>
  111. <version>3.8.0</version>
  112. </dependency>
  113. <!-- <dependency>-->
  114. <!-- <groupId>org.apache.httpcomponents</groupId>-->
  115. <!-- <artifactId>fluent-hc</artifactId>-->
  116. <!-- <version>4.5.6</version>-->
  117. <!-- </dependency>-->
  118. <!-- <dependency>-->
  119. <!-- <groupId>com.squareup.okhttp3</groupId>-->
  120. <!-- <artifactId>okhttp</artifactId>-->
  121. <!-- <version>4.5.0</version>-->
  122. <!-- </dependency>-->
  123. </dependencies>
  124. <build>
  125. <plugins>
  126. <plugin>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-maven-plugin</artifactId>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-compiler-plugin</artifactId>
  133. <version>3.8.1</version>
  134. <configuration>
  135. <source>${java.version}</source>
  136. <target>${java.version}</target>
  137. <encoding>${project.build.sourceEncoding}</encoding>
  138. <compilerArgument>-Xlint:unchecked</compilerArgument>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. <resources>
  143. <resource>
  144. <directory>src/main/resources</directory>
  145. <includes>
  146. <include>**/*</include>
  147. </includes>
  148. <filtering>true</filtering>
  149. </resource>
  150. </resources>
  151. <finalName>netflix</finalName>
  152. </build>
  153. <!-- profiles配置 -->
  154. <profiles>
  155. <profile>
  156. <id>dev</id>
  157. <activation>
  158. <activeByDefault>true</activeByDefault>
  159. </activation>
  160. <build>
  161. <filters>
  162. <filter>../deploy/vars/dev.properties</filter>
  163. </filters>
  164. </build>
  165. </profile>
  166. <profile>
  167. <id>prd</id>
  168. <build>
  169. <filters>
  170. <filter>../deploy/vars/prd.properties</filter>
  171. </filters>
  172. </build>
  173. </profile>
  174. </profiles>
  175. <modules>
  176. <module>netflix-common</module>
  177. <module>netflix-dao</module>
  178. <module>netflix-service</module>
  179. <module>netflix-web</module>
  180. <module>luma</module>
  181. </modules>
  182. </project>