pom.xml 4.9 KB

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