pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~
  4. ~ Copyright (c) 2018-2025, lengleng All rights reserved.
  5. ~
  6. ~ Redistribution and use in source and binary forms, with or without
  7. ~ modification, are permitted provided that the following conditions are met:
  8. ~
  9. ~ Redistributions of source code must retain the above copyright notice,
  10. ~ this list of conditions and the following disclaimer.
  11. ~ Redistributions in binary form must reproduce the above copyright
  12. ~ notice, this list of conditions and the following disclaimer in the
  13. ~ documentation and/or other materials provided with the distribution.
  14. ~ Neither the name of the pig4cloud.com developer nor the names of its
  15. ~ contributors may be used to endorse or promote products derived from
  16. ~ this software without specific prior written permission.
  17. ~ Author: lengleng (wangiegie@gmail.com)
  18. ~
  19. -->
  20. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>com.pig4cloud</groupId>
  25. <artifactId>pigx</artifactId>
  26. <version>2.5.1</version>
  27. </parent>
  28. <artifactId>pigx-gateway</artifactId>
  29. <packaging>jar</packaging>
  30. <description>pigx 服务网关,基于 spring cloud gateway</description>
  31. <dependencies>
  32. <!--gateway 网关依赖,内置webflux 依赖-->
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-gateway</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  40. </dependency>
  41. <!--动态路由组件-->
  42. <dependency>
  43. <groupId>com.pig4cloud</groupId>
  44. <artifactId>pigx-common-gateway</artifactId>
  45. </dependency>
  46. <!--配置中心客户端-->
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-starter-config</artifactId>
  50. </dependency>
  51. <!--验证码-->
  52. <dependency>
  53. <groupId>com.github.axet</groupId>
  54. <artifactId>kaptcha</artifactId>
  55. <version>${kaptcha.version}</version>
  56. </dependency>
  57. <!--hutool-->
  58. <dependency>
  59. <groupId>com.pig4cloud</groupId>
  60. <artifactId>pigx-common-core</artifactId>
  61. </dependency>
  62. <!--缓存-->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-data-redis</artifactId>
  66. </dependency>
  67. <!--接口文档-->
  68. <dependency>
  69. <groupId>io.springfox</groupId>
  70. <artifactId>springfox-swagger-ui</artifactId>
  71. <version>${swagger.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>io.springfox</groupId>
  75. <artifactId>springfox-swagger2</artifactId>
  76. <version>${swagger.version}</version>
  77. </dependency>
  78. </dependencies>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-maven-plugin</artifactId>
  84. </plugin>
  85. <plugin>
  86. <groupId>com.spotify</groupId>
  87. <artifactId>docker-maven-plugin</artifactId>
  88. <version>${docker.plugin.version}</version>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>