pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. <!-- apollo支持 -->
  17. <dependency>
  18. <groupId>com.yihu.jkzl</groupId>
  19. <artifactId>apollo-client</artifactId>
  20. </dependency>
  21. <!-- 支持Tomcat启动 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. <exclusions>
  26. <exclusion>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-tomcat</artifactId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-tomcat</artifactId>
  35. <scope>provided</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>javax.servlet</groupId>
  39. <artifactId>javax.servlet-api</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.tomcat.embed</groupId>
  43. <artifactId>tomcat-embed-jasper</artifactId>
  44. </dependency>
  45. <!-- 支持Tomcat启动 -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-actuator</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.cloud</groupId>
  52. <artifactId>spring-cloud-starter-eureka</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.cloud</groupId>
  56. <artifactId>spring-cloud-starter-zuul</artifactId>
  57. </dependency>
  58. <!-- <dependency>
  59. <groupId>org.springframework.cloud</groupId>
  60. <artifactId>spring-cloud-starter-config</artifactId>
  61. </dependency>-->
  62. <!--<dependency>
  63. <groupId>org.springframework.cloud</groupId>
  64. <artifactId>spring-cloud-starter-zipkin</artifactId>
  65. </dependency>-->
  66. <!-- 安全认证中心-->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-security</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.security.oauth</groupId>
  73. <artifactId>spring-security-oauth2</artifactId>
  74. </dependency>
  75. <!-- 安全认证中心-->
  76. <!-- Redis -->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-data-redis</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>redis.clients</groupId>
  83. <artifactId>jedis</artifactId>
  84. </dependency>
  85. <!-- Redis -->
  86. <!-- JdbcTemplate-->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-jdbc</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>mysql</groupId>
  93. <artifactId>mysql-connector-java</artifactId>
  94. <scope>runtime</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.commons</groupId>
  98. <artifactId>commons-dbcp2</artifactId>
  99. </dependency>
  100. <!-- JdbcTemplate-->
  101. <dependency>
  102. <groupId>com.yihu.jw</groupId>
  103. <artifactId>common-web</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.yihu.jw</groupId>
  107. <artifactId>common-rest-model</artifactId>
  108. </dependency>
  109. </dependencies>
  110. <build>
  111. <finalName>ag-basic</finalName>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-maven-plugin</artifactId>
  116. </plugin>
  117. <plugin>
  118. <artifactId>maven-war-plugin</artifactId>
  119. <configuration>
  120. <failOnMissingWebXml>false</failOnMissingWebXml>
  121. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  122. </configuration>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>