pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.dc</groupId>
  5. <artifactId>standard-reprot</artifactId>
  6. <version>1.0.0</version>
  7. <name>implementing-standard-report</name>
  8. <description>implementing-standard-report</description>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.6.6</version>
  13. <relativePath/>
  14. </parent>
  15. <properties>
  16. <ccboot.version>1.0.0</ccboot.version>
  17. <java.version>1.8</java.version>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <mybatis-plus.version>3.5.1</mybatis-plus.version>
  21. <druid.version>1.2.8</druid.version>
  22. <commons.version>2.11.0</commons.version>
  23. <aliyun-java-sdk-core.version>3.2.3</aliyun-java-sdk-core.version>
  24. <aliyun-java-sdk-dysmsapi.version>1.0.0</aliyun-java-sdk-dysmsapi.version>
  25. <aliyun.oss.version>3.6.0</aliyun.oss.version>
  26. <guava.version>31.1-jre</guava.version>
  27. <jedis.version>2.9.3</jedis.version>
  28. <log4j2.version>2.17.1</log4j2.version>
  29. <spring-boot.version>2.6.6</spring-boot.version>
  30. </properties>
  31. <dependencies>
  32. <!--集成springmvc框架并实现自动配置 -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-validation</artifactId>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>org.apache.tomcat.embed</groupId>
  44. <artifactId>tomcat-embed-el</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>jakarta.servlet</groupId>
  50. <artifactId>jakarta.servlet-api</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-mail</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-aop</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-actuator</artifactId>
  68. </dependency>
  69. <!-- freemarker -->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-freemarker</artifactId>
  73. </dependency>
  74. <!-- commons -->
  75. <dependency>
  76. <groupId>commons-io</groupId>
  77. <artifactId>commons-io</artifactId>
  78. <version>${commons.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-lang</groupId>
  82. <artifactId>commons-lang</artifactId>
  83. <version>2.6</version>
  84. </dependency>
  85. <!-- Lombok -->
  86. <dependency>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. </dependency>
  90. <!-- mybatis-plus -->
  91. <dependency>
  92. <groupId>com.baomidou</groupId>
  93. <artifactId>mybatis-plus-boot-starter</artifactId>
  94. <version>${mybatis-plus.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.baomidou</groupId>
  98. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  99. <version>${mybatis-plus.version}</version>
  100. </dependency>
  101. <!-- druid -->
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>druid-spring-boot-starter</artifactId>
  105. <version>${druid.version}</version>
  106. </dependency>
  107. <!-- json -->
  108. <dependency>
  109. <groupId>com.alibaba</groupId>
  110. <artifactId>fastjson</artifactId>
  111. <version>1.2.83</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>oscar</groupId>
  115. <artifactId>oscarJDBC8</artifactId>
  116. <version>1.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>hibernate</groupId>
  120. <artifactId>oscarHibernate54</artifactId>
  121. <version>5.4</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.hibernate</groupId>
  125. <artifactId>hibernate-core</artifactId>
  126. <exclusions>
  127. <exclusion>
  128. <groupId>commons-collections</groupId>
  129. <artifactId>commons-collections</artifactId>
  130. </exclusion>
  131. </exclusions>
  132. </dependency>
  133. <!-- Quartz定时任务 -->
  134. <dependency>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-starter-quartz</artifactId>
  137. </dependency>
  138. <!-- Swagger API文档 -->
  139. <dependency>
  140. <groupId>io.springfox</groupId>
  141. <artifactId>springfox-swagger2</artifactId>
  142. <version>2.9.2</version>
  143. <exclusions>
  144. <exclusion>
  145. <artifactId>swagger-annotations</artifactId>
  146. <groupId>io.swagger</groupId>
  147. </exclusion>
  148. <exclusion>
  149. <artifactId>swagger-models</artifactId>
  150. <groupId>io.swagger</groupId>
  151. </exclusion>
  152. <exclusion>
  153. <artifactId>guava</artifactId>
  154. <groupId>com.google.guava</groupId>
  155. </exclusion>
  156. </exclusions>
  157. </dependency>
  158. <dependency>
  159. <groupId>io.springfox</groupId>
  160. <artifactId>springfox-swagger-ui</artifactId>
  161. <version>2.9.2</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.github.xiaoymin</groupId>
  165. <artifactId>swagger-bootstrap-ui</artifactId>
  166. <version>1.9.6</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>io.springfox</groupId>
  170. <artifactId>springfox-bean-validators</artifactId>
  171. <version>2.9.2</version>
  172. <exclusions>
  173. <exclusion>
  174. <artifactId>guava</artifactId>
  175. <groupId>com.google.guava</groupId>
  176. </exclusion>
  177. </exclusions>
  178. </dependency>
  179. <!-- # 增加两个配置解决 NumberFormatException -->
  180. <dependency>
  181. <groupId>io.swagger</groupId>
  182. <artifactId>swagger-annotations</artifactId>
  183. <version>1.6.6</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>io.swagger</groupId>
  187. <artifactId>swagger-models</artifactId>
  188. <version>1.6.6</version>
  189. </dependency>
  190. <!-- Redis -->
  191. <dependency>
  192. <groupId>org.springframework.boot</groupId>
  193. <artifactId>spring-boot-starter-data-redis</artifactId>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.apache.commons</groupId>
  197. <artifactId>commons-pool2</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>cn.hutool</groupId>
  201. <artifactId>hutool-all</artifactId>
  202. <version>5.7.22</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>com.google.guava</groupId>
  206. <artifactId>guava</artifactId>
  207. <version>${guava.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>javax.websocket</groupId>
  211. <artifactId>javax.websocket-api</artifactId>
  212. <version>1.0</version>
  213. </dependency>
  214. <!-- websocket -->
  215. <dependency>
  216. <groupId>org.springframework.boot</groupId>
  217. <artifactId>spring-boot-starter-websocket</artifactId>
  218. <exclusions>
  219. <exclusion>
  220. <groupId>org.springframework.boot</groupId>
  221. <artifactId>spring-boot-starter-web</artifactId>
  222. </exclusion>
  223. </exclusions>
  224. </dependency>
  225. <!-- 离线IP地址定位库 -->
  226. <dependency>
  227. <groupId>org.lionsoul</groupId>
  228. <artifactId>ip2region</artifactId>
  229. <version>1.7.2</version>
  230. </dependency>
  231. <dependency>
  232. <groupId>eu.bitwalker</groupId>
  233. <artifactId>UserAgentUtils</artifactId>
  234. <version>1.20</version>
  235. </dependency>
  236. <!-- linux的管理 -->
  237. <dependency>
  238. <groupId>ch.ethz.ganymed</groupId>
  239. <artifactId>ganymed-ssh2</artifactId>
  240. <version>build210</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>com.jcraft</groupId>
  244. <artifactId>jsch</artifactId>
  245. <version>0.1.55</version>
  246. </dependency>
  247. <!-- https://mvnrepository.com/artifact/com.lowagie/itext -->
  248. <dependency>
  249. <groupId>com.lowagie</groupId>
  250. <artifactId>itext</artifactId>
  251. <version>2.1.7</version>
  252. </dependency>
  253. <!-- https://mvnrepository.com/artifact/com.lowagie/itext-rtf -->
  254. <dependency>
  255. <groupId>com.lowagie</groupId>
  256. <artifactId>itext-rtf</artifactId>
  257. <version>2.1.7</version>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.eclipse.paho</groupId>
  261. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  262. <version>1.2.5</version>
  263. <scope>compile</scope>
  264. </dependency>
  265. <dependency>
  266. <groupId>junit</groupId>
  267. <artifactId>junit</artifactId>
  268. <version>4.11</version>
  269. <scope>test</scope>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.apache.commons</groupId>
  273. <artifactId>commons-lang3</artifactId>
  274. <version>3.12.0</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.apache.httpcomponents</groupId>
  278. <artifactId>httpclient</artifactId>
  279. </dependency>
  280. <dependency>
  281. <groupId>com.alibaba</groupId>
  282. <artifactId>easyexcel</artifactId>
  283. <version>3.1.0</version>
  284. </dependency>
  285. </dependencies>
  286. <dependencyManagement>
  287. <dependencies>
  288. <dependency>
  289. <groupId>junit</groupId>
  290. <artifactId>junit</artifactId>
  291. <version>4.11</version>
  292. <scope>test</scope>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.apache.commons</groupId>
  296. <artifactId>commons-lang3</artifactId>
  297. <version>3.4</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>org.eclipse.paho</groupId>
  301. <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
  302. <version>1.2.5</version>
  303. <scope>compile</scope>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.antlr</groupId>
  307. <artifactId>ST4</artifactId>
  308. <version>4.0.8</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.jvnet.sorcerer</groupId>
  312. <artifactId>sorcerer-javac</artifactId>
  313. <version>0.8</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>cn.smallbun.screw</groupId>
  317. <artifactId>screw-core</artifactId>
  318. <version>1.0.5</version>
  319. <scope>test</scope>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.apache.poi</groupId>
  323. <artifactId>poi-ooxml</artifactId>
  324. <version>4.1.2</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.apache.poi</groupId>
  328. <artifactId>poi</artifactId>
  329. <version>4.1.2</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>org.apache.poi</groupId>
  333. <artifactId>poi-ooxml-schemas</artifactId>
  334. <version>4.1.2</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.apache.cxf</groupId>
  338. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  339. <version>3.4.6</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.slf4j</groupId>
  343. <artifactId>slf4j-api</artifactId>
  344. <version>1.7.36</version> <!-- 使用你所需要的版本 -->
  345. </dependency>
  346. <!-- Logback as the logging implementation -->
  347. <dependency>
  348. <groupId>ch.qos.logback</groupId>
  349. <artifactId>logback-classic</artifactId>
  350. <version>1.2.6</version> <!-- 使用你所需要的版本 -->
  351. </dependency>
  352. </dependencies>
  353. </dependencyManagement>
  354. <repositories>
  355. <repository>
  356. <id>jxrc-releases</id>
  357. <name>jxrc-releases</name>
  358. <layout>default</layout>
  359. <url>http://218.65.96.111:2012/repository/maven-public/</url>
  360. <releases>
  361. <enabled>true</enabled>
  362. </releases>
  363. <snapshots>
  364. <updatePolicy>always</updatePolicy>
  365. <enabled>true</enabled>
  366. </snapshots>
  367. </repository>
  368. </repositories>
  369. <build>
  370. <plugins>
  371. <plugin>
  372. <groupId>org.springframework.boot</groupId>
  373. <artifactId>spring-boot-maven-plugin</artifactId>
  374. <configuration>
  375. <executable>true</executable>
  376. <excludes>
  377. <exclude>
  378. <groupId>org.springframework.boot</groupId>
  379. <artifactId>spring-boot-configuration-processor</artifactId>
  380. </exclude>
  381. </excludes>
  382. </configuration>
  383. </plugin>
  384. <plugin>
  385. <groupId>org.apache.maven.plugins</groupId>
  386. <artifactId>maven-compiler-plugin</artifactId>
  387. <configuration>
  388. <source>1.8</source>
  389. <target>1.8</target>
  390. <encoding>UTF-8</encoding>
  391. </configuration>
  392. </plugin>
  393. <!-- 打包跳过测试 -->
  394. <plugin>
  395. <groupId>org.apache.maven.plugins</groupId>
  396. <artifactId>maven-surefire-plugin</artifactId>
  397. <configuration>
  398. <skipTests>true</skipTests>
  399. </configuration>
  400. </plugin>
  401. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  402. <plugin>
  403. <groupId>org.apache.maven.plugins</groupId>
  404. <artifactId>maven-resources-plugin</artifactId>
  405. <configuration>
  406. <nonFilteredFileExtensions>
  407. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  408. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  409. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  410. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  411. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  412. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  413. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  414. </nonFilteredFileExtensions>
  415. </configuration>
  416. </plugin>
  417. </plugins>
  418. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  419. <plugins>
  420. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  421. <plugin>
  422. <artifactId>maven-clean-plugin</artifactId>
  423. <version>3.1.0</version>
  424. </plugin>
  425. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  426. <plugin>
  427. <artifactId>maven-resources-plugin</artifactId>
  428. <version>3.0.2</version>
  429. </plugin>
  430. <plugin>
  431. <artifactId>maven-compiler-plugin</artifactId>
  432. <version>3.8.0</version>
  433. </plugin>
  434. <plugin>
  435. <artifactId>maven-surefire-plugin</artifactId>
  436. <version>2.22.1</version>
  437. </plugin>
  438. <plugin>
  439. <artifactId>maven-jar-plugin</artifactId>
  440. <version>3.0.2</version>
  441. <configuration>
  442. <archive>
  443. <manifest>
  444. <mainClass>com.dc.standard.report.ImplementingStandardReportApplication</mainClass>
  445. </manifest>
  446. </archive>
  447. </configuration>
  448. </plugin>
  449. <plugin>
  450. <artifactId>maven-install-plugin</artifactId>
  451. <version>2.5.2</version>
  452. </plugin>
  453. <plugin>
  454. <artifactId>maven-deploy-plugin</artifactId>
  455. <version>2.8.2</version>
  456. </plugin>
  457. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  458. <plugin>
  459. <artifactId>maven-site-plugin</artifactId>
  460. <version>3.7.1</version>
  461. </plugin>
  462. <plugin>
  463. <artifactId>maven-project-info-reports-plugin</artifactId>
  464. <version>3.0.0</version>
  465. </plugin>
  466. </plugins>
  467. </pluginManagement>
  468. <resources>
  469. <resource>
  470. <directory>src/main/resources</directory>
  471. <filtering>true</filtering>
  472. </resource>
  473. <resource>
  474. <directory>src/main/java</directory>
  475. <includes>
  476. <include>**/*.xml</include>
  477. <include>**/*.json</include>
  478. <include>**/*.ftl</include>
  479. </includes>
  480. </resource>
  481. </resources>
  482. </build>
  483. </project>