pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>com.zd</groupId>
  6. <artifactId>zd</artifactId>
  7. <version>3.1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>zd-gateway</artifactId>
  11. <packaging>jar</packaging>
  12. <description>网关模块</description>
  13. <dependencies>
  14. <!-- SpringCloud Gateway -->
  15. <dependency>
  16. <groupId>org.springframework.cloud</groupId>
  17. <artifactId>spring-cloud-starter-gateway</artifactId>
  18. </dependency>
  19. <!-- SpringCloud Alibaba Nacos -->
  20. <dependency>
  21. <groupId>com.alibaba.cloud</groupId>
  22. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  23. </dependency>
  24. <!-- SpringCloud Alibaba Nacos Config -->
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  28. </dependency>
  29. <!-- SpringCloud Alibaba Sentinel -->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  33. </dependency>
  34. <!-- SpringCloud Alibaba Sentinel Gateway -->
  35. <dependency>
  36. <groupId>com.alibaba.cloud</groupId>
  37. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  38. </dependency>
  39. <!-- Sentinel Datasource Nacos -->
  40. <dependency>
  41. <groupId>com.alibaba.csp</groupId>
  42. <artifactId>sentinel-datasource-nacos</artifactId>
  43. </dependency>
  44. <!-- SpringBoot Actuator -->
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-actuator</artifactId>
  48. </dependency>
  49. <!--验证码 -->
  50. <dependency>
  51. <groupId>com.github.penggle</groupId>
  52. <artifactId>kaptcha</artifactId>
  53. </dependency>
  54. <!-- Common core-->
  55. <dependency>
  56. <groupId>com.zd.core</groupId>
  57. <artifactId>common-core</artifactId>
  58. <version>3.1.0</version>
  59. <exclusions>
  60. <exclusion>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-web</artifactId>
  63. </exclusion>
  64. <exclusion>
  65. <groupId>com.baomidou</groupId>
  66. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  67. </exclusion>
  68. <exclusion>
  69. <artifactId>mybatis-spring-boot-starter</artifactId>
  70. <groupId>org.mybatis.spring.boot</groupId>
  71. </exclusion>
  72. <exclusion>
  73. <artifactId>poi-ooxml</artifactId>
  74. <groupId>org.apache.poi</groupId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.github.xiaoymin</groupId>
  80. <artifactId>knife4j-spring-ui</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.springfox</groupId>
  84. <artifactId>springfox-swagger2</artifactId>
  85. <version>${swagger.fox.version}</version>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <finalName>${project.artifactId}</finalName>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. <version>${spring-boot.version}</version>
  95. <executions>
  96. <execution>
  97. <goals>
  98. <goal>repackage</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>