pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.boot</groupId>
  43. <artifactId>spring-boot-starter-actuator</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.cloud</groupId>
  47. <artifactId>spring-cloud-starter-eureka</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-zuul</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-starter-config</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.retry</groupId>
  59. <artifactId>spring-retry</artifactId>
  60. </dependency>
  61. <!--<dependency>
  62. <groupId>org.springframework.cloud</groupId>
  63. <artifactId>spring-cloud-starter-zipkin</artifactId>
  64. </dependency>-->
  65. <!-- 安全认证中心-->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-security</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.security.oauth</groupId>
  72. <artifactId>spring-security-oauth2</artifactId>
  73. </dependency>
  74. <!-- 安全认证中心-->
  75. <!-- Redis -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-data-redis</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>redis.clients</groupId>
  82. <artifactId>jedis</artifactId>
  83. </dependency>
  84. <!-- Redis -->
  85. <!-- JdbcTemplate-->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-jdbc</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>mysql</groupId>
  92. <artifactId>mysql-connector-java</artifactId>
  93. <scope>runtime</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.commons</groupId>
  97. <artifactId>commons-dbcp2</artifactId>
  98. </dependency>
  99. <!-- JdbcTemplate-->
  100. <dependency>
  101. <groupId>com.yihu.jw</groupId>
  102. <artifactId>common-web</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.yihu.jw</groupId>
  106. <artifactId>common-rest-model</artifactId>
  107. </dependency>
  108. </dependencies>
  109. <build>
  110. <finalName>ag-basic</finalName>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-maven-plugin</artifactId>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-war-plugin</artifactId>
  118. <configuration>
  119. <failOnMissingWebXml>false</failOnMissingWebXml>
  120. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  121. </configuration>
  122. </plugin>
  123. </plugins>
  124. </build>
  125. </project>