pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.sy.coinage</groupId>
  7. <artifactId>tenant_coinage</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <name>tenant_coinage</name>
  10. <!-- Spring Boot 启动父依赖 -->
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.6.14</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <java.version>1.8</java.version>
  22. <fastjson.version>2.0.20</fastjson.version>
  23. <guava.version>31.1-jre</guava.version>
  24. <druid-spring-boot-starter.version>1.2.16</druid-spring-boot-starter.version>
  25. <mybatis-plus-boot-starter.version>3.5.3.2</mybatis-plus-boot-starter.version>
  26. <commons-io.version>2.11.0</commons-io.version>
  27. <commons-net.version>3.8.0</commons-net.version>
  28. <commons.fileupload.version>1.4</commons.fileupload.version>
  29. <poi.version>4.1.2</poi.version>
  30. <poi-ooxml-schemas.version>4.1.2</poi-ooxml-schemas.version>
  31. <oshi.version>6.4.0</oshi.version>
  32. <hutool-all.version>5.8.11</hutool-all.version>
  33. <springfox.version>3.0.0</springfox.version>
  34. <knife4j.version>3.0.3</knife4j.version>
  35. </properties>
  36. <dependencies>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-devtools</artifactId>
  40. <scope>runtime</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.mysql</groupId>
  44. <artifactId>mysql-connector-j</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.baomidou</groupId>
  48. <artifactId>mybatis-plus-boot-starter</artifactId>
  49. <version>${mybatis-plus-boot-starter.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>druid-spring-boot-starter</artifactId>
  54. <version>${druid-spring-boot-starter.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>${fastjson.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>commons-net</groupId>
  63. <artifactId>commons-net</artifactId>
  64. <version>${commons-net.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-pool2</artifactId>
  69. </dependency>
  70. <!-- Spring Boot Web 依赖 -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-web</artifactId>
  74. </dependency>
  75. <!-- Spring Boot Test 依赖 -->
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-test</artifactId>
  79. <scope>test</scope>
  80. </dependency>
  81. <!-- Spring Boot aop 依赖 -->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-aop</artifactId>
  85. </dependency>
  86. <!-- Spring Boot websocket 依赖 -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-websocket</artifactId>
  90. </dependency>
  91. <!-- https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator -->
  92. <dependency>
  93. <groupId>org.hibernate.validator</groupId>
  94. <artifactId>hibernate-validator</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.google.guava</groupId>
  98. <artifactId>guava</artifactId>
  99. <version>${guava.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.commons</groupId>
  103. <artifactId>commons-lang3</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>commons-io</groupId>
  107. <artifactId>commons-io</artifactId>
  108. <version>${commons-io.version}</version>
  109. </dependency>
  110. <!--文件上传工具类 -->
  111. <dependency>
  112. <groupId>commons-fileupload</groupId>
  113. <artifactId>commons-fileupload</artifactId>
  114. <version>${commons.fileupload.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.httpcomponents</groupId>
  118. <artifactId>httpclient</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.httpcomponents</groupId>
  122. <artifactId>httpmime</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-configuration-processor</artifactId>
  127. <optional>true</optional>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.projectlombok</groupId>
  131. <artifactId>lombok</artifactId>
  132. <scope>provided</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-starter-data-redis</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-cache</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.poi</groupId>
  144. <artifactId>poi-ooxml-schemas</artifactId>
  145. <version>${poi-ooxml-schemas.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.apache.poi</groupId>
  149. <artifactId>poi-ooxml</artifactId>
  150. <version>${poi.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.poi</groupId>
  154. <artifactId>poi</artifactId>
  155. <version>${poi.version}</version>
  156. </dependency>
  157. <!-- https://mvnrepository.com/artifact/com.github.oshi/oshi-core -->
  158. <!-- 获取系统信息 -->
  159. <dependency>
  160. <groupId>com.github.oshi</groupId>
  161. <artifactId>oshi-core</artifactId>
  162. <version>${oshi.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>cn.hutool</groupId>
  166. <artifactId>hutool-all</artifactId>
  167. <version>${hutool-all.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-starter-quartz</artifactId>
  172. </dependency>
  173. <!-- swagger3 -->
  174. <dependency>
  175. <groupId>io.springfox</groupId>
  176. <artifactId>springfox-boot-starter</artifactId>
  177. <version>${springfox.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.github.xiaoymin</groupId>
  181. <artifactId>knife4j-spring-boot-starter</artifactId>
  182. <version>${knife4j.version}</version>
  183. </dependency>
  184. <!-- https://mvnrepository.com/artifact/com.zebra/zsdk-api -->
  185. <dependency>
  186. <groupId>com.zebra</groupId>
  187. <artifactId>zsdk</artifactId>
  188. <version>2.14.5198</version>
  189. </dependency>
  190. </dependencies>
  191. <build>
  192. <resources>
  193. <!-- 控制资源文件的拷贝 -->
  194. <resource>
  195. <directory>src/main/resources</directory>
  196. <targetPath>${project.build.directory}/classes</targetPath>
  197. </resource>
  198. </resources>
  199. <plugins>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-surefire-plugin</artifactId>
  203. <configuration>
  204. <skip>true</skip>
  205. <skipTests>true</skipTests>
  206. </configuration>
  207. <executions>
  208. <execution>
  209. <id>surefire-it</id>
  210. <phase>integration-test</phase>
  211. <goals>
  212. <goal>test</goal>
  213. </goals>
  214. <configuration>
  215. <skip>false</skip>
  216. </configuration>
  217. </execution>
  218. </executions>
  219. </plugin>
  220. <!-- 设置源文件编码方式 -->
  221. <plugin>
  222. <groupId>org.apache.maven.plugins</groupId>
  223. <artifactId>maven-compiler-plugin</artifactId>
  224. <configuration>
  225. <source>${java.version}</source>
  226. <target>${java.version}</target>
  227. <encoding>${project.build.sourceEncoding}</encoding>
  228. </configuration>
  229. </plugin>
  230. <!-- The configuration of maven-jar-plugin -->
  231. <plugin>
  232. <groupId>org.apache.maven.plugins</groupId>
  233. <artifactId>maven-jar-plugin</artifactId>
  234. <!-- The configuration of the plugin -->
  235. <configuration>
  236. <!-- Configuration of the archiver -->
  237. <archive>
  238. <!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
  239. <addMavenDescriptor>false</addMavenDescriptor>
  240. <!-- Manifest specific configuration -->
  241. <manifest>
  242. <!-- 是否要把第三方jar放到manifest的classpath中 -->
  243. <addClasspath>true</addClasspath>
  244. <!-- 生成的manifest中classpath的前缀,因为要把第三方jar放到lib目录下,所以classpath的前缀是lib/ -->
  245. <classpathPrefix>lib/</classpathPrefix>
  246. <!-- 应用的main class -->
  247. <mainClass>com.sy.coinage.WebApplication</mainClass>
  248. </manifest>
  249. </archive>
  250. </configuration>
  251. </plugin>
  252. <!-- The configuration of maven-assembly-plugin -->
  253. <plugin>
  254. <groupId>org.apache.maven.plugins</groupId>
  255. <artifactId>maven-assembly-plugin</artifactId>
  256. <!-- The configuration of the plugin -->
  257. <configuration>
  258. <!-- Specifies the configuration file of the assembly plugin -->
  259. <descriptors>
  260. <descriptor>assembly.xml</descriptor>
  261. </descriptors>
  262. </configuration>
  263. <executions>
  264. <execution>
  265. <id>make-assembly</id>
  266. <phase>package</phase>
  267. <goals>
  268. <goal>single</goal>
  269. </goals>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. <!-- <plugin>-->
  274. <!-- <groupId>net.revelc.code.formatter</groupId>-->
  275. <!-- <artifactId>formatter-maven-plugin</artifactId>-->
  276. <!-- <version>2.22.0</version>-->
  277. <!-- <configuration>-->
  278. <!-- <configFile>${project.basedir}/eclipse-java-google-style.xml</configFile>-->
  279. <!-- <excludes>-->
  280. <!-- <exclude>**/*Doc.java</exclude>-->
  281. <!-- </excludes>-->
  282. <!-- <encoding>UTF-8</encoding>-->
  283. <!-- </configuration>-->
  284. <!-- <executions>-->
  285. <!-- <execution>-->
  286. <!-- <goals>-->
  287. <!-- <goal>validate</goal>-->
  288. <!-- </goals>-->
  289. <!-- </execution>-->
  290. <!-- </executions>-->
  291. <!-- </plugin>-->
  292. <!-- <plugin>-->
  293. <!-- <groupId>com.weiller</groupId>-->
  294. <!-- <artifactId>mybatis-plus-generator-maven-plugin</artifactId>-->
  295. <!-- <version>1.0.0</version>-->
  296. <!-- <configuration>-->
  297. <!-- <configurationFile>${basedir}/src/main/resources/generator-config.yml</configurationFile>-->
  298. <!-- </configuration>-->
  299. <!-- <dependencies>-->
  300. <!-- &lt;!&ndash; https://mvnrepository.com/artifact/mysql/mysql-connector-java &ndash;&gt;-->
  301. <!-- <dependency>-->
  302. <!-- <groupId>mysql</groupId>-->
  303. <!-- <artifactId>mysql-connector-java</artifactId>-->
  304. <!-- <version>8.0.33</version>-->
  305. <!-- </dependency>-->
  306. <!-- </dependencies>-->
  307. <!-- </plugin>-->
  308. </plugins>
  309. </build>
  310. </project>