pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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>com.yihu.jw</groupId>
  7. <artifactId>wlyy-parent-pom</artifactId>
  8. <version>2.0.0</version>
  9. <relativePath>../../wlyy-parent-pom/pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>basic-gateway</artifactId>
  13. <version>${parent.version}</version>
  14. <packaging>war</packaging>
  15. <dependencies>
  16. <!-- 支持Tomcat启动 -->
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. <exclusions>
  21. <exclusion>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-tomcat</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-tomcat</artifactId>
  30. <scope>provided</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>javax.servlet</groupId>
  34. <artifactId>javax.servlet-api</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.tomcat.embed</groupId>
  38. <artifactId>tomcat-embed-jasper</artifactId>
  39. </dependency>
  40. <!-- 支持Tomcat启动 -->
  41. <dependency>
  42. <groupId>org.springframework.cloud</groupId>
  43. <artifactId>spring-cloud-starter-eureka</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.cloud</groupId>
  47. <artifactId>spring-cloud-starter-zuul</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-config</artifactId>
  52. <scope>${dependency.scope}</scope>
  53. </dependency>
  54. <!-- 安全认证中心-->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-security</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.security.oauth</groupId>
  61. <artifactId>spring-security-oauth2</artifactId>
  62. </dependency>
  63. <!-- 安全认证中心-->
  64. <!-- Redis -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-data-redis</artifactId>
  68. <scope>${dependency.scope}</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>redis.clients</groupId>
  72. <artifactId>jedis</artifactId>
  73. </dependency>
  74. <!-- Redis -->
  75. </dependencies>
  76. </project>