pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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>ag-basic</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. </dependency>
  53. <!--<dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-starter-zipkin</artifactId>
  56. </dependency>-->
  57. <!-- 安全认证中心-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-security</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.security.oauth</groupId>
  64. <artifactId>spring-security-oauth2</artifactId>
  65. </dependency>
  66. <!-- 安全认证中心-->
  67. <!-- Redis -->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-data-redis</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>redis.clients</groupId>
  74. <artifactId>jedis</artifactId>
  75. </dependency>
  76. <!-- Redis -->
  77. <dependency>
  78. <groupId>com.yihu.jw</groupId>
  79. <artifactId>common-web</artifactId>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <finalName>ag-basic</finalName>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. </plugin>
  89. <plugin>
  90. <artifactId>maven-war-plugin</artifactId>
  91. <configuration>
  92. <failOnMissingWebXml>false</failOnMissingWebXml>
  93. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>