pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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>sp-native</artifactId>
  7. <groupId>com.pj</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>sp-gateway</artifactId>
  13. <packaging>jar</packaging>
  14. <!-- 指定一些属性 -->
  15. <properties>
  16. <java.run.main.class>com.pj.SpGatewayApplication</java.run.main.class>
  17. </properties>
  18. <dependencies>
  19. <!-- ================= 模块依赖 start ================= -->
  20. <dependency>
  21. <groupId>com.pj</groupId>
  22. <artifactId>sp-nacos</artifactId>
  23. <version>${project.parent.version}</version>
  24. </dependency>
  25. <!-- ================= 模块依赖 end ================= -->
  26. <!-- gateway网关 -->
  27. <dependency>
  28. <groupId>org.springframework.cloud</groupId>
  29. <artifactId>spring-cloud-starter-gateway</artifactId>
  30. </dependency>
  31. <!-- nacos 注册中心 -->
  32. <dependency>
  33. <groupId>com.alibaba.cloud</groupId>
  34. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  35. </dependency>
  36. <!-- nacos 分布式配置中心 -->
  37. <dependency>
  38. <groupId>com.alibaba.cloud</groupId>
  39. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  40. </dependency>
  41. <!-- Sa-Token 权限认证(Reactor响应式集成), 在线文档:http://sa-token.dev33.cn/ -->
  42. <dependency>
  43. <groupId>cn.dev33</groupId>
  44. <artifactId>sa-token-reactor-spring-boot-starter</artifactId>
  45. <version>1.27.0</version>
  46. </dependency>
  47. <!-- Sa-Token 整合 Redis (使用jackson序列化方式) -->
  48. <dependency>
  49. <groupId>cn.dev33</groupId>
  50. <artifactId>sa-token-dao-redis-jackson</artifactId>
  51. <version>1.27.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.commons</groupId>
  55. <artifactId>commons-pool2</artifactId>
  56. </dependency>
  57. <!-- gateway 集成 sentinel -->
  58. <!-- <dependency>
  59. <groupId>com.alibaba.cloud</groupId>
  60. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  61. </dependency> -->
  62. <!-- servlet-api -->
  63. <!-- <dependency>
  64. <groupId>javax.servlet</groupId>
  65. <artifactId>javax.servlet-api</artifactId>
  66. </dependency> -->
  67. <!-- validation-api -->
  68. <dependency>
  69. <groupId>javax.validation</groupId>
  70. <artifactId>validation-api</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.hibernate</groupId>
  74. <artifactId>hibernate-validator</artifactId>
  75. <version>6.0.9.Final</version>
  76. </dependency>
  77. </dependencies>
  78. </project>