pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.chinaitop</groupId>
  6. <artifactId>depot-web-qinghai</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>war</packaging>
  9. <name>depot-web-qinghai</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.0.4.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  22. <skipTests>true</skipTests>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <!-- 引入spring boot自带的pagehelper插件 -->
  30. <dependency>
  31. <groupId>com.github.pagehelper</groupId>
  32. <artifactId>pagehelper-spring-boot-starter</artifactId>
  33. <version>1.2.3</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-starter-config</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-config-server</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.mybatis.spring.boot</groupId>
  45. <artifactId>mybatis-spring-boot-starter</artifactId>
  46. <version>1.3.2</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.cloud</groupId>
  50. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.cloud</groupId>
  54. <artifactId>spring-cloud-starter-netflix-zuul</artifactId>
  55. </dependency>
  56. <!-- 网络抖动出现第一次调用失败,启用了重试功能 -->
  57. <dependency>
  58. <groupId>org.springframework.retry</groupId>
  59. <artifactId>spring-retry</artifactId>
  60. </dependency>
  61. <!--<dependency>-->
  62. <!--<groupId>org.springframework.boot</groupId>-->
  63. <!--<artifactId>spring-boot-starter-tomcat</artifactId>-->
  64. <!--<scope>provided</scope>-->
  65. <!--</dependency>-->
  66. <dependency>
  67. <groupId>mysql</groupId>
  68. <artifactId>mysql-connector-java</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-test</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-data-redis</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.session</groupId>
  81. <artifactId>spring-session-data-redis</artifactId>
  82. </dependency>
  83. <!-- gbase依赖包 -->
  84. <dependency>
  85. <groupId>com.gbase8s</groupId>
  86. <artifactId>ifxjdbc</artifactId>
  87. <version>1.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.gbase</groupId>
  91. <artifactId>druid</artifactId>
  92. <version>1.0.28</version>
  93. </dependency>
  94. <!-- 阿里巴巴json -->
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>fastjson</artifactId>
  98. <version>1.2.37</version>
  99. </dependency>
  100. </dependencies>
  101. <dependencyManagement>
  102. <dependencies>
  103. <dependency>
  104. <groupId>org.springframework.cloud</groupId>
  105. <artifactId>spring-cloud-dependencies</artifactId>
  106. <version>${spring-cloud.version}</version>
  107. <type>pom</type>
  108. <scope>import</scope>
  109. </dependency>
  110. </dependencies>
  111. </dependencyManagement>
  112. <build>
  113. <finalName>${project.artifactId}</finalName>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <version>2.5.5</version>
  119. </plugin>
  120. </plugins>
  121. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  122. <resources>
  123. <resource>
  124. <directory>src/main/java</directory>
  125. <includes>
  126. <include>**/*.properties</include>
  127. <include>**/*.xml</include>
  128. </includes>
  129. <filtering>false</filtering>
  130. </resource>
  131. <resource>
  132. <directory>src/main/resources</directory>
  133. </resource>
  134. </resources>
  135. </build>
  136. <repositories>
  137. <repository>
  138. <id>spring-milestones</id>
  139. <name>Spring Milestones</name>
  140. <url>https://repo.spring.io/milestone</url>
  141. <snapshots>
  142. <enabled>false</enabled>
  143. </snapshots>
  144. </repository>
  145. </repositories>
  146. </project>