pom.xml 6.9 KB

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