pom.xml 3.2 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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.xuekairui</groupId>
  8. <artifactId>zhijiayun-pharmacy</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>zhijiayun-gateway</artifactId>
  12. <version>1.0.0</version>
  13. <name>zhijiayun-gateway</name>
  14. <description>智价云(药店版)-统一对外服务网关(所有请求入口)</description>
  15. <dependencies>
  16. <!-- ========== 业务服务模块(按需引入,版本独立迭代) ========== -->
  17. <!-- 用户管理模块 -->
  18. <dependency>
  19. <groupId>com.xuekairui</groupId>
  20. <artifactId>zhijiayun-user</artifactId>
  21. </dependency>
  22. <!-- 支付模块 -->
  23. <dependency>
  24. <groupId>com.xuekairui</groupId>
  25. <artifactId>zhijiayun-payment</artifactId>
  26. </dependency>
  27. <!-- 邀请码模块 -->
  28. <dependency>
  29. <groupId>com.xuekairui</groupId>
  30. <artifactId>zhijiayun-invite</artifactId>
  31. </dependency>
  32. <!-- ========== 公共基础 ========== -->
  33. <dependency>
  34. <groupId>com.xuekairui</groupId>
  35. <artifactId>zhijiayun-common</artifactId>
  36. </dependency>
  37. <!-- Web 基础(全局异常处理、请求转发) -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-validation</artifactId>
  45. </dependency>
  46. <!-- Security(全局安全拦截) -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-security</artifactId>
  50. </dependency>
  51. <!-- Redis(网关限流) -->
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-data-redis</artifactId>
  55. </dependency>
  56. <!-- Test -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.security</groupId>
  64. <artifactId>spring-security-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <!-- H2 内存数据库(测试用) -->
  68. <dependency>
  69. <groupId>com.h2database</groupId>
  70. <artifactId>h2</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. </dependencies>
  74. <build>
  75. <plugins>
  76. <!-- 打包为可执行 JAR -->
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. </project>