pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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>xbb</groupId>
  6. <artifactId>bankclear</artifactId>
  7. <version>0.0.1</version>
  8. <packaging>jar</packaging>
  9. <name>bankclear</name>
  10. <description>bank clearing system </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 /> <!-- 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. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-log4j2</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.apache.camel</groupId>
  29. <artifactId>camel-ftp</artifactId>
  30. <version>2.21.0</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-devtools</artifactId>
  35. <scope>runtime</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. <exclusions>
  41. <!-- 排除掉logging,不使用logback,改用log4j2 -->
  42. <exclusion>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-logging</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-freemarker</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-jdbc</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>mysql</groupId>
  63. <artifactId>mysql-connector-java</artifactId>
  64. <scope>runtime</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.jfinal</groupId>
  68. <artifactId>jfinal</artifactId>
  69. <version>3.2</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>fastjson</artifactId>
  74. <version>1.2.76</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.projectlombok</groupId>
  78. <artifactId>lombok</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.mybatis</groupId>
  82. <artifactId>mybatis</artifactId>
  83. <version>3.4.5</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mybatis.spring.boot</groupId>
  87. <artifactId>mybatis-spring-boot-starter</artifactId>
  88. <version>1.3.1</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.httpcomponents</groupId>
  92. <artifactId>httpclient</artifactId>
  93. <version>4.3.3</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-httpclient</groupId>
  97. <artifactId>commons-httpclient</artifactId>
  98. <version>3.1</version>
  99. </dependency>
  100. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  101. <dependency>
  102. <groupId>org.apache.httpcomponents</groupId>
  103. <artifactId>httpcore</artifactId>
  104. <version>4.4.13</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.apache.commons</groupId>
  108. <artifactId>commons-lang3</artifactId>
  109. <version>3.4</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-io</artifactId>
  114. <version>1.3.2</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>druid</artifactId>
  119. <version>1.1.9</version>
  120. </dependency>
  121. </dependencies>
  122. <build>
  123. <resources>
  124. <resource>
  125. <directory>src/main/java</directory>
  126. <includes>
  127. <include>**/*.xml</include>
  128. </includes>
  129. <filtering>false</filtering>
  130. </resource>
  131. <resource>
  132. <directory>src/main/resources</directory>
  133. <excludes>
  134. <exclude>*.sh</exclude>
  135. </excludes>
  136. <filtering>false</filtering>
  137. </resource>
  138. </resources>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-compiler-plugin</artifactId>
  143. <configuration>
  144. <source>1.8</source>
  145. <target>1.8</target>
  146. <encoding>utf-8</encoding>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-maven-plugin</artifactId>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-assembly-plugin</artifactId>
  156. <executions>
  157. <execution>
  158. <id>assembly</id>
  159. <phase>package</phase>
  160. <goals>
  161. <goal>single</goal>
  162. </goals>
  163. <configuration>
  164. <descriptors>
  165. <descriptor>src/main/assembly/assembly.xml</descriptor>
  166. </descriptors>
  167. </configuration>
  168. </execution>
  169. </executions>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-surefire-plugin</artifactId>
  174. <configuration>
  175. <skip>true</skip>
  176. </configuration>
  177. </plugin>
  178. <!-- mybatis generator-->
  179. <plugin>
  180. <groupId>org.mybatis.generator</groupId>
  181. <artifactId>mybatis-generator-maven-plugin</artifactId>
  182. <version>1.3.5</version>
  183. <dependencies>
  184. <dependency>
  185. <groupId> mysql</groupId>
  186. <artifactId> mysql-connector-java</artifactId>
  187. <version>5.1.39</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.mybatis.generator</groupId>
  191. <artifactId>mybatis-generator-core</artifactId>
  192. <version>1.3.5</version>
  193. </dependency>
  194. </dependencies>
  195. <executions>
  196. <execution>
  197. <id>Generate MyBatis Artifacts</id>
  198. <phase>deploy</phase>
  199. <goals>
  200. <goal>generate</goal>
  201. </goals>
  202. </execution>
  203. </executions>
  204. <configuration>
  205. <!--允许移动生成的文件 -->
  206. <verbose>true</verbose>
  207. <!-- 是否覆盖 -->
  208. <overwrite>true</overwrite>
  209. <!-- 自动生成的配置 -->
  210. <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
  211. </configuration>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. </project>