pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.0.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <groupId>com.gct.gateway</groupId>
  13. <artifactId>microarch_bg_common_gateway</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>microarch_bg_common_gateway</name>
  16. <description>网关服务</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <!--common 安全包-->
  22. <dependency>
  23. <groupId>com.gct.common.core</groupId>
  24. <artifactId>common-security</artifactId>
  25. <version>2.0-SNAPSHOT</version>
  26. </dependency>
  27. <!--网关依赖-->
  28. <dependency>
  29. <groupId>org.springframework.cloud</groupId>
  30. <artifactId>spring-cloud-starter-gateway</artifactId>
  31. <version>2.2.5.RELEASE</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-validation</artifactId>
  36. </dependency>
  37. <!--nocas 注册中心依赖-->
  38. <dependency>
  39. <groupId>com.alibaba.cloud</groupId>
  40. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  41. </dependency>
  42. <!--lombok-->
  43. <dependency>
  44. <groupId>org.projectlombok</groupId>
  45. <artifactId>lombok</artifactId>
  46. <optional>true</optional>
  47. </dependency>
  48. <!--swagger-->
  49. <dependency>
  50. <groupId>com.spring4all</groupId>
  51. <artifactId>swagger-spring-boot-starter</artifactId>
  52. <version>1.9.1.RELEASE</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba.cloud</groupId>
  56. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.alibaba.cloud</groupId>
  60. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  61. </dependency>
  62. </dependencies>
  63. <dependencyManagement>
  64. <dependencies>
  65. <!-- Spring Cloud Hoxton -->
  66. <dependency>
  67. <groupId>org.springframework.cloud</groupId>
  68. <artifactId>spring-cloud-dependencies</artifactId>
  69. <version>Hoxton.SR3</version>
  70. <type>pom</type>
  71. <scope>import</scope>
  72. </dependency>
  73. <!-- Spring Cloud Alibaba -->
  74. <dependency>
  75. <groupId>com.alibaba.cloud</groupId>
  76. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  77. <version>2.2.1.RELEASE</version>
  78. <type>pom</type>
  79. <scope>import</scope>
  80. </dependency>
  81. </dependencies>
  82. </dependencyManagement>
  83. <build>
  84. <resources>
  85. <resource>
  86. <directory>src/main/java</directory>
  87. <excludes>
  88. <exclude>**/*.java</exclude>
  89. </excludes>
  90. </resource>
  91. <resource>
  92. <directory>src/main/resources</directory>
  93. <includes>
  94. <include>**/*.*</include>
  95. </includes>
  96. </resource>
  97. </resources>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>