pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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-device</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>depot-device</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. <dependency>
  29. <groupId>org.mybatis.spring.boot</groupId>
  30. <artifactId>mybatis-spring-boot-starter</artifactId>
  31. <version>1.3.1</version>
  32. </dependency>
  33. <!-- 引入spring boot自带的pagehelper插件 -->
  34. <dependency>
  35. <groupId>com.github.pagehelper</groupId>
  36. <artifactId>pagehelper-spring-boot-starter</artifactId>
  37. <version>1.2.3</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.cloud</groupId>
  45. <artifactId>spring-cloud-starter-config</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.commons</groupId>
  49. <artifactId>commons-lang3</artifactId>
  50. <version>3.7</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-security</artifactId>
  55. </dependency>
  56. <!-- swagger2 -->
  57. <dependency>
  58. <groupId>io.springfox</groupId>
  59. <artifactId>springfox-swagger2</artifactId>
  60. <version>2.6.1</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger-ui</artifactId>
  65. <version>2.6.1</version>
  66. </dependency>
  67. <!-- 加载mybatis逆向生成工具包 -->
  68. <dependency>
  69. <groupId>org.mybatis.generator</groupId>
  70. <artifactId>mybatis-generator-core</artifactId>
  71. <!-- 注意版本.这里我使用的是1.3.2 -->
  72. <version>1.3.2</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-test</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.poi</groupId>
  81. <artifactId>poi-ooxml</artifactId>
  82. <version>3.9</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-data-redis</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.session</groupId>
  90. <artifactId>spring-session-data-redis</artifactId>
  91. </dependency>
  92. <!-- 阿里巴巴json -->
  93. <dependency>
  94. <groupId>com.alibaba</groupId>
  95. <artifactId>fastjson</artifactId>
  96. <version>1.2.37</version>
  97. </dependency>
  98. <!-- gbase依赖包 -->
  99. <dependency>
  100. <groupId>com.gbase8s</groupId>
  101. <artifactId>ifxjdbc</artifactId>
  102. <version>1.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.gbase</groupId>
  106. <artifactId>druid</artifactId>
  107. <version>1.0.28</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.cloud</groupId>
  111. <artifactId>spring-cloud-starter-openfeign</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.cloud</groupId>
  115. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  116. </dependency>
  117. </dependencies>
  118. <dependencyManagement>
  119. <dependencies>
  120. <dependency>
  121. <groupId>org.springframework.cloud</groupId>
  122. <artifactId>spring-cloud-dependencies</artifactId>
  123. <version>${spring-cloud.version}</version>
  124. <type>pom</type>
  125. <scope>import</scope>
  126. </dependency>
  127. </dependencies>
  128. </dependencyManagement>
  129. <build>
  130. <finalName>${project.artifactId}</finalName>
  131. <plugins>
  132. <plugin>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-maven-plugin</artifactId>
  135. </plugin>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-war-plugin</artifactId>
  139. <version>2.6</version>
  140. <configuration>
  141. <failOnMissingWebXml>false</failOnMissingWebXml>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  146. <resources>
  147. <resource>
  148. <directory>src/main/java</directory>
  149. <includes>
  150. <include>**/*.properties</include>
  151. <include>**/*.xml</include>
  152. <include>**/*.store</include>
  153. </includes>
  154. <filtering>false</filtering>
  155. </resource>
  156. <resource>
  157. <directory>src/main/resources</directory>
  158. </resource>
  159. </resources>
  160. </build>
  161. <repositories>
  162. <repository>
  163. <id>spring-milestones</id>
  164. <name>Spring Milestones</name>
  165. <url>https://repo.spring.io/milestone</url>
  166. <snapshots>
  167. <enabled>false</enabled>
  168. </snapshots>
  169. </repository>
  170. </repositories>
  171. </project>