pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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. <dependency>
  191. <groupId>org.mitre.dsmiley.httpproxy</groupId>
  192. <artifactId>smiley-http-proxy-servlet</artifactId>
  193. <version>1.12.1</version>
  194. </dependency>
  195. </dependencies>
  196. <profiles>
  197. <profile>
  198. <id>dev</id>
  199. <activation>
  200. <!--默认环境-->
  201. <activeByDefault>true</activeByDefault>
  202. </activation>
  203. <properties>
  204. <spring.profiles.active>dev</spring.profiles.active>
  205. </properties>
  206. </profile>
  207. <profile>
  208. <id>test</id>
  209. <properties>
  210. <spring.profiles.active>test</spring.profiles.active>
  211. </properties>
  212. </profile>
  213. <profile>
  214. <id>prod</id>
  215. <properties>
  216. <spring.profiles.active>prod</spring.profiles.active>
  217. </properties>
  218. </profile>
  219. <profile>
  220. <id>test116</id>
  221. <properties>
  222. <spring.profiles.active>test116</spring.profiles.active>
  223. </properties>
  224. </profile>
  225. </profiles>
  226. <build>
  227. <finalName>nngkxxdp</finalName>
  228. <plugins>
  229. <plugin>
  230. <groupId>org.springframework.boot</groupId>
  231. <artifactId>spring-boot-maven-plugin</artifactId>
  232. </plugin>
  233. <plugin>
  234. <groupId>org.jetbrains.kotlin</groupId>
  235. <artifactId>kotlin-maven-plugin</artifactId>
  236. <version>${kotlin.version}</version>
  237. <executions>
  238. <execution>
  239. <id>compile</id>
  240. <phase>compile</phase>
  241. <goals>
  242. <goal>compile</goal>
  243. </goals>
  244. </execution>
  245. <execution>
  246. <id>test-compile</id>
  247. <phase>test-compile</phase>
  248. <goals>
  249. <goal>test-compile</goal>
  250. </goals>
  251. </execution>
  252. </executions>
  253. </plugin>
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-compiler-plugin</artifactId>
  257. <executions>
  258. <execution>
  259. <id>compile</id>
  260. <phase>compile</phase>
  261. <goals>
  262. <goal>compile</goal>
  263. </goals>
  264. </execution>
  265. <execution>
  266. <id>testCompile</id>
  267. <phase>test-compile</phase>
  268. <goals>
  269. <goal>testCompile</goal>
  270. </goals>
  271. </execution>
  272. </executions>
  273. </plugin>
  274. </plugins>
  275. <resources>
  276. <resource>
  277. <directory>src/main/resources</directory>
  278. <filtering>true</filtering>
  279. <includes>
  280. <include>application.yml</include>
  281. <include>application-${spring.profiles.active}.yml</include>
  282. </includes>
  283. </resource>
  284. <resource>
  285. <directory>src/main/resources</directory>
  286. <filtering>false</filtering>
  287. <excludes>
  288. <exclude>application*.yml</exclude>
  289. <exclude>lib/*</exclude>
  290. </excludes>
  291. </resource>
  292. </resources>
  293. </build>
  294. <packaging>jar</packaging>
  295. </project>