pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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>BladeX</artifactId>
  7. <groupId>org.springblade</groupId>
  8. <version>2.9.1.RELEASE</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>blade-gateway</artifactId>
  12. <name>${project.artifactId}</name>
  13. <version>${bladex.project.version}</version>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <!--Blade-->
  17. <dependency>
  18. <groupId>org.springblade</groupId>
  19. <artifactId>blade-core-launch</artifactId>
  20. <exclusions>
  21. <exclusion>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </exclusion>
  25. <exclusion>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-undertow</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springblade</groupId>
  33. <artifactId>blade-common</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>org.springblade</groupId>
  37. <artifactId>blade-core-launch</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springblade</groupId>
  43. <artifactId>blade-starter-metrics</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springblade</groupId>
  47. <artifactId>blade-starter-jwt</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>fastjson</artifactId>
  52. </dependency>
  53. <!--Spring-->
  54. <dependency>
  55. <groupId>org.springframework.cloud</groupId>
  56. <artifactId>spring-cloud-starter-gateway</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>de.codecentric</groupId>
  64. <artifactId>spring-boot-admin-starter-client</artifactId>
  65. </dependency>
  66. <!--Hystrix-->
  67. <dependency>
  68. <groupId>org.springframework.cloud</groupId>
  69. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>commons-logging</groupId>
  73. <artifactId>commons-logging</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <!-- Nacos -->
  78. <dependency>
  79. <groupId>com.alibaba.cloud</groupId>
  80. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>com.alibaba.nacos</groupId>
  84. <artifactId>nacos-client</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba.cloud</groupId>
  90. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  91. <exclusions>
  92. <exclusion>
  93. <groupId>com.alibaba.nacos</groupId>
  94. <artifactId>nacos-client</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba.nacos</groupId>
  100. <artifactId>nacos-client</artifactId>
  101. </dependency>
  102. </dependencies>
  103. <build>
  104. <plugins>
  105. <plugin>
  106. <groupId>com.spotify</groupId>
  107. <artifactId>dockerfile-maven-plugin</artifactId>
  108. <configuration>
  109. <username>${docker.username}</username>
  110. <password>${docker.password}</password>
  111. <repository>${docker.registry.url}/${docker.namespace}/${project.artifactId}</repository>
  112. <tag>${project.version}</tag>
  113. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  114. <buildArgs>
  115. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  116. </buildArgs>
  117. <skip>false</skip>
  118. </configuration>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-antrun-plugin</artifactId>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>