pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>sckw-service-platform</artifactId>
  7. <groupId>com.sckw</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sckw-gateway</artifactId>
  12. <description> 网关模块 </description>
  13. <properties>
  14. <maven.compiler.source>17</maven.compiler.source>
  15. <maven.compiler.target>17</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <!--web-->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter</artifactId>
  22. <exclusions>
  23. <exclusion>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-logging</artifactId>
  26. </exclusion>
  27. </exclusions>
  28. </dependency>
  29. <!--log4j2日志-->
  30. <!--全局日志排除-->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-logging</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>*</groupId>
  37. <artifactId>*</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <!--采用log4j2 日志输出方式-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-log4j2</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-autoconfigure</artifactId>
  49. <optional>true</optional>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.cloud</groupId>
  57. <artifactId>spring-cloud-loadbalancer</artifactId>
  58. </dependency>
  59. <!--GateWay ⽹关-->
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-gateway</artifactId>
  63. </dependency>
  64. <!--注册中心客户端-->
  65. <dependency>
  66. <groupId>com.alibaba.cloud</groupId>
  67. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  68. </dependency>
  69. <!--配置中心客户端-->
  70. <dependency>
  71. <groupId>com.alibaba.cloud</groupId>
  72. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.alibaba.fastjson2</groupId>
  80. <artifactId>fastjson2</artifactId>
  81. <version>2.0.57</version>
  82. <scope>compile</scope>
  83. </dependency>
  84. </dependencies>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. <executions>
  91. <execution>
  92. <goals>
  93. <goal>repackage</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>