pom.xml.bak2 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.1.15.RELEASE</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.example.nngkxxdp</groupId>
  13. <artifactId>nngkxxdp</artifactId>
  14. <version>0.0.1</version>
  15. <name>nngkxxdp</name>
  16. <description>Demo project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8
  21. </project.reporting.outputEncoding>
  22. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  23. <mybatis-spring-boot-starter>1.3.2</mybatis-spring-boot-starter>
  24. <cn-hutool.version>5.5.2</cn-hutool.version>
  25. <alibaba-fastjson.version>1.2.47</alibaba-fastjson.version>
  26. <kotlin.version>1.0.0</kotlin.version>
  27. <easyexcel.version>3.0.5</easyexcel.version>
  28. <poi.version>3.17</poi.version>
  29. </properties>
  30. <dependencies>
  31. <!-- idea 自动刷新静态文件 -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-devtools</artifactId>
  35. <optional>true</optional>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-tomcat</artifactId>
  44. <scope>compile</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-redis</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-freemarker</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.auth0</groupId>
  56. <artifactId>java-jwt</artifactId>
  57. <version>3.8.2</version>
  58. </dependency>
  59. <!-- Spring Boot Mybatis 依赖 -->
  60. <dependency>
  61. <groupId>org.mybatis.spring.boot</groupId>
  62. <artifactId>mybatis-spring-boot-starter</artifactId>
  63. <version>${mybatis-spring-boot-starter}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>mysql</groupId>
  67. <artifactId>mysql-connector-java</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>cn.hutool</groupId>
  71. <artifactId>hutool-all</artifactId>
  72. <version>${cn-hutool.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>fastjson</artifactId>
  77. <version>${alibaba-fastjson.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.commons</groupId>
  81. <artifactId>commons-pool2</artifactId>
  82. </dependency>
  83. <!-- poi相关 -->
  84. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  85. <dependency>
  86. <groupId>org.apache.poi</groupId>
  87. <artifactId>poi</artifactId>
  88. <version>${poi.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.poi</groupId>
  92. <artifactId>poi-ooxml</artifactId>
  93. <version>${poi.version}</version>
  94. </dependency>
  95. <!--财政局缴费接口 -->
  96. <dependency>
  97. <groupId>commons-codec</groupId>
  98. <artifactId>commons-codec</artifactId>
  99. </dependency>
  100. <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-core -->
  101. <dependency>
  102. <groupId>org.apache.shiro</groupId>
  103. <artifactId>shiro-core</artifactId>
  104. <version>1.4.2</version>
  105. </dependency>
  106. <!-- shiro-spring -->
  107. <dependency>
  108. <groupId>org.apache.shiro</groupId>
  109. <artifactId>shiro-spring</artifactId>
  110. <version>1.4.2</version>
  111. </dependency>
  112. <!-- 自定义切面日志相关 -->
  113. <dependency>
  114. <groupId>org.aspectj</groupId>
  115. <artifactId>aspectjrt</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.aspectj</groupId>
  119. <artifactId>aspectjtools</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.aspectj</groupId>
  123. <artifactId>aspectjweaver</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.assertj</groupId>
  127. <artifactId>assertj-core</artifactId>
  128. </dependency>
  129. <!-- https://mvnrepository.com/artifact/ws.schild/jave-core -->
  130. <dependency>
  131. <groupId>ws.schild</groupId>
  132. <artifactId>jave-core</artifactId>
  133. <version>2.7.3</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>ws.schild</groupId>
  137. <artifactId>jave-nativebin-linux64</artifactId>
  138. <version>2.7.3</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>ws.schild</groupId>
  142. <artifactId>jave-nativebin-win64</artifactId>
  143. <version>2.7.3</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>ws.schild</groupId>
  147. <artifactId>jave-nativebin-win32</artifactId>
  148. <version>2.7.3</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.projectlombok</groupId>
  152. <artifactId>lombok</artifactId>
  153. <version>1.18.12</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.elasticsearch</groupId>
  157. <artifactId>elasticsearch</artifactId>
  158. </dependency>
  159. <!-- Java High Level REST Client -->
  160. <dependency>
  161. <groupId>org.elasticsearch.client</groupId>
  162. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.google.zxing</groupId>
  166. <artifactId>core</artifactId>
  167. <version>3.3.3</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.jsoup</groupId>
  171. <artifactId>jsoup</artifactId>
  172. <version>1.12.1</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.jetbrains.kotlin</groupId>
  176. <artifactId>kotlin-stdlib</artifactId>
  177. <version>${kotlin.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.jetbrains.kotlin</groupId>
  181. <artifactId>kotlin-test</artifactId>
  182. <version>${kotlin.version}</version>
  183. <scope>test</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.alibaba</groupId>
  187. <artifactId>easyexcel</artifactId>
  188. <version>${easyexcel.version}</version>
  189. </dependency>
  190. </dependencies>
  191. <build>
  192. <finalName>nngkxxdp</finalName>
  193. <plugins>
  194. <plugin>
  195. <groupId>org.springframework.boot</groupId>
  196. <artifactId>spring-boot-maven-plugin</artifactId>
  197. <executions>
  198. <execution>
  199. <goals>
  200. <goal>repackage</goal>
  201. </goals>
  202. </execution>
  203. </executions>
  204. <configuration>
  205. <mainClass>com.example.nngkxxdp.NngkxxdpApplication</mainClass>
  206. <fork>true</fork>
  207. <addResources>true</addResources>
  208. <outputDirectory>${project.build.directory}/jar</outputDirectory>
  209. </configuration>
  210. </plugin>
  211. <!-- <plugin>-->
  212. <!-- <groupId>org.jetbrains.kotlin</groupId>-->
  213. <!-- <artifactId>kotlin-maven-plugin</artifactId>-->
  214. <!-- <version>${kotlin.version}</version>-->
  215. <!-- <executions>-->
  216. <!-- <execution>-->
  217. <!-- <id>compile</id>-->
  218. <!-- <phase>compile</phase>-->
  219. <!-- <goals>-->
  220. <!-- <goal>compile</goal>-->
  221. <!-- </goals>-->
  222. <!-- </execution>-->
  223. <!-- <execution>-->
  224. <!-- <id>test-compile</id>-->
  225. <!-- <phase>test-compile</phase>-->
  226. <!-- <goals>-->
  227. <!-- <goal>test-compile</goal>-->
  228. <!-- </goals>-->
  229. <!-- </execution>-->
  230. <!-- </executions>-->
  231. <!-- </plugin>-->
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-jar-plugin</artifactId>
  235. <configuration>
  236. <!-- 不打包资源文件(配置文件和依赖包分开) -->
  237. <excludes>
  238. <exclude>*.yml</exclude>
  239. <exclude>*.properties</exclude>
  240. <exclude>mybatis/**</exclude>
  241. <exclude>static/**</exclude>
  242. </excludes>
  243. <archive>
  244. <manifest>
  245. <addClasspath>true</addClasspath>
  246. <!-- MANIFEST.MF 中 Class-Path 加入前缀 -->
  247. <classpathPrefix>lib/</classpathPrefix>
  248. <!-- jar包不包含唯一版本标识 -->
  249. <useUniqueVersions>false</useUniqueVersions>
  250. <!--指定入口类 -->
  251. <mainClass>com.example.nngkxxdp.NngkxxdpApplication</mainClass>
  252. </manifest>
  253. <manifestEntries>
  254. <!--MANIFEST.MF 中 Class-Path 加入资源文件目录 -->
  255. <Class-Path>./config/</Class-Path>
  256. </manifestEntries>
  257. </archive>
  258. <outputDirectory>${project.build.directory}</outputDirectory>
  259. </configuration>
  260. </plugin>
  261. <plugin>
  262. <artifactId>maven-resources-plugin</artifactId>
  263. <executions>
  264. <execution> <!-- 复制配置文件 -->
  265. <id>copy-resources</id>
  266. <phase>package</phase>
  267. <goals>
  268. <goal>copy-resources</goal>
  269. </goals>
  270. <configuration>
  271. <resources>
  272. <resource>
  273. <directory>src/main/resources</directory>
  274. <includes>
  275. <include>*.yml</include>
  276. <include>*.properties</include>
  277. <include>mybatis/**</include>
  278. <include>static/**</include>
  279. </includes>
  280. </resource>
  281. </resources>
  282. <outputDirectory>${project.build.directory}/config</outputDirectory>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-dependency-plugin</artifactId>
  290. <version>3.1.1</version>
  291. <executions>
  292. <execution>
  293. <id>copy-dependencies</id>
  294. <phase>package</phase>
  295. <goals>
  296. <goal>copy-dependencies</goal>
  297. </goals>
  298. <configuration>
  299. <outputDirectory>${project.build.directory}/lib/</outputDirectory>
  300. </configuration>
  301. </execution>
  302. </executions>
  303. </plugin>
  304. <plugin>
  305. <groupId>org.apache.maven.plugins</groupId>
  306. <artifactId>maven-compiler-plugin</artifactId>
  307. <executions>
  308. <execution>
  309. <id>compile</id>
  310. <phase>compile</phase>
  311. <goals>
  312. <goal>compile</goal>
  313. </goals>
  314. </execution>
  315. <execution>
  316. <id>testCompile</id>
  317. <phase>test-compile</phase>
  318. <goals>
  319. <goal>testCompile</goal>
  320. </goals>
  321. </execution>
  322. </executions>
  323. </plugin>
  324. </plugins>
  325. </build>
  326. <packaging>jar</packaging>
  327. </project>