pom.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.ylcm</groupId>
  5. <artifactId>yangguang</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <name>ssm Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <!-- 属性 -->
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <spring.version>4.3.14.RELEASE</spring.version>
  14. <jackson.version>2.5.0</jackson.version>
  15. </properties>
  16. <profiles>
  17. <profile>
  18. <id>dev</id>
  19. <properties>
  20. <config.dir>dev</config.dir>
  21. </properties>
  22. <activation>
  23. <activeByDefault>true</activeByDefault>
  24. </activation>
  25. </profile>
  26. <profile>
  27. <id>qa</id>
  28. <properties>
  29. <config.dir>qa</config.dir>
  30. </properties>
  31. </profile>
  32. <profile>
  33. <id>prod</id>
  34. <properties>
  35. <config.dir>prod</config.dir>
  36. </properties>
  37. </profile>
  38. </profiles>
  39. <dependencies>
  40. <dependency>
  41. <groupId>junit</groupId>
  42. <artifactId>junit</artifactId>
  43. <version>4.12</version>
  44. <scope>test</scope>
  45. </dependency>
  46. <!-- spring -->
  47. <dependency>
  48. <groupId>org.springframework</groupId>
  49. <artifactId>spring-core</artifactId>
  50. <version>${spring.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework</groupId>
  54. <artifactId>spring-beans</artifactId>
  55. <version>${spring.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-context</artifactId>
  60. <version>${spring.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework</groupId>
  64. <artifactId>spring-tx</artifactId>
  65. <version>${spring.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework</groupId>
  69. <artifactId>spring-web</artifactId>
  70. <version>${spring.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-webmvc</artifactId>
  75. <version>${spring.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework</groupId>
  79. <artifactId>spring-jdbc</artifactId>
  80. <version>${spring.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework</groupId>
  84. <artifactId>spring-test</artifactId>
  85. <version>${spring.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework</groupId>
  89. <artifactId>spring-aop</artifactId>
  90. <version>${spring.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework</groupId>
  94. <artifactId>spring-aspects</artifactId>
  95. <version>${spring.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework</groupId>
  99. <artifactId>spring-context-support</artifactId>
  100. <version>${spring.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework</groupId>
  104. <artifactId>spring-expression</artifactId>
  105. <version>${spring.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>spring-orm</artifactId>
  110. <version>${spring.version}</version>
  111. </dependency>
  112. <!-- mybatis 包 -->
  113. <!-- <dependency> -->
  114. <!-- <groupId>org.mybatis</groupId> -->
  115. <!-- <artifactId>mybatis</artifactId> -->
  116. <!-- <version>3.4.5</version> -->
  117. <!-- </dependency> -->
  118. <!--mybatis spring 插件 -->
  119. <!-- <dependency> -->
  120. <!-- <groupId>org.mybatis</groupId> -->
  121. <!-- <artifactId>mybatis-spring</artifactId> -->
  122. <!-- <version>1.3.0</version> -->
  123. <!-- </dependency> -->
  124. <dependency>
  125. <groupId>com.baomidou</groupId>
  126. <artifactId>mybatis-plus-boot-starter</artifactId>
  127. <version>3.2.0</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.mybatis</groupId>
  131. <artifactId>mybatis-typehandlers-jsr310</artifactId>
  132. <version>1.0.2</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.baomidou</groupId>
  136. <artifactId>mybatis-plus-generator</artifactId>
  137. <version>3.2.0</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.baomidou</groupId>
  141. <artifactId>mybatis-plus-extension</artifactId>
  142. <version>3.2.0</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.freemarker</groupId>
  146. <artifactId>freemarker</artifactId>
  147. <version>2.3.29</version>
  148. </dependency>
  149. <!-- mysql连接 -->
  150. <dependency>
  151. <groupId>mysql</groupId>
  152. <artifactId>mysql-connector-java</artifactId>
  153. <version>8.0.19</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.aspectj</groupId>
  157. <artifactId>aspectjweaver</artifactId>
  158. <version>1.8.4</version>
  159. </dependency>
  160. <!-- servlet -->
  161. <dependency>
  162. <groupId>javax.servlet</groupId>
  163. <artifactId>javax.servlet-api</artifactId>
  164. <version>3.0.1</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>javax.servlet</groupId>
  168. <artifactId>jstl</artifactId>
  169. <version>1.2</version>
  170. </dependency>
  171. <!--
  172. &lt;!&ndash; json &ndash;&gt;
  173. <dependency>
  174. <groupId>org.codehaus.jackson</groupId>
  175. <artifactId>jackson-mapper-asl</artifactId>
  176. <version>1.9.13</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.fasterxml.jackson.core</groupId>
  180. <artifactId>jackson-annotations</artifactId>
  181. <version>${jackson.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.fasterxml.jackson.core</groupId>
  185. <artifactId>jackson-core</artifactId>
  186. <version>${jackson.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.fasterxml.jackson.core</groupId>
  190. <artifactId>jackson-databind</artifactId>
  191. <version>${jackson.version}</version>
  192. </dependency>
  193. -->
  194. <dependency>
  195. <groupId>com.aliyun</groupId>
  196. <artifactId>aliyun-java-sdk-sts</artifactId>
  197. <version>2.1.6</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.aliyun.oss</groupId>
  201. <artifactId>aliyun-sdk-oss</artifactId>
  202. <version>2.0.6</version>
  203. </dependency>
  204. <!-- https://mvnrepository.com/artifact/aopalliance/aopalliance -->
  205. <dependency>
  206. <groupId>aopalliance</groupId>
  207. <artifactId>aopalliance</artifactId>
  208. <version>1.0</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>commons-beanutils</groupId>
  212. <artifactId>commons-beanutils</artifactId>
  213. <version>1.7.0</version>
  214. </dependency>
  215. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  216. <dependency>
  217. <groupId>commons-codec</groupId>
  218. <artifactId>commons-codec</artifactId>
  219. <version>1.10</version>
  220. </dependency>
  221. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
  222. <dependency>
  223. <groupId>org.apache.commons</groupId>
  224. <artifactId>commons-collections4</artifactId>
  225. <version>4.1</version>
  226. </dependency>
  227. <!-- https://mvnrepository.com/artifact/commons-collections/commons-collections -->
  228. <dependency>
  229. <groupId>commons-collections</groupId>
  230. <artifactId>commons-collections</artifactId>
  231. <version>3.2.1</version>
  232. </dependency>
  233. <!-- https://mvnrepository.com/artifact/commons-dbcp/commons-dbcp -->
  234. <dependency>
  235. <groupId>commons-dbcp</groupId>
  236. <artifactId>commons-dbcp</artifactId>
  237. <version>1.4</version>
  238. </dependency>
  239. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  240. <dependency>
  241. <groupId>commons-fileupload</groupId>
  242. <artifactId>commons-fileupload</artifactId>
  243. <version>1.2.2</version>
  244. </dependency>
  245. <!-- 文件上传 -->
  246. <dependency>
  247. <groupId>commons-io</groupId>
  248. <artifactId>commons-io</artifactId>
  249. <version>2.4</version>
  250. </dependency>
  251. <!-- https://mvnrepository.com/artifact/commons-lang/commons-lang -->
  252. <dependency>
  253. <groupId>commons-lang</groupId>
  254. <artifactId>commons-lang</artifactId>
  255. <version>2.6</version>
  256. </dependency>
  257. <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
  258. <dependency>
  259. <groupId>commons-logging</groupId>
  260. <artifactId>commons-logging</artifactId>
  261. <version>1.1.1</version>
  262. </dependency>
  263. <!-- https://mvnrepository.com/artifact/commons-pool/commons-pool -->
  264. <dependency>
  265. <groupId>commons-pool</groupId>
  266. <artifactId>commons-pool</artifactId>
  267. <version>1.6</version>
  268. </dependency>
  269. <!-- https://mvnrepository.com/artifact/dom4j/dom4j -->
  270. <dependency>
  271. <groupId>dom4j</groupId>
  272. <artifactId>dom4j</artifactId>
  273. <version>1.6.1</version>
  274. </dependency>
  275. <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
  276. <dependency>
  277. <groupId>com.alibaba</groupId>
  278. <artifactId>druid</artifactId>
  279. <version>1.1.21</version>
  280. </dependency>
  281. <!-- https://mvnrepository.com/artifact/net.sf.ezmorph/ezmorph -->
  282. <dependency>
  283. <groupId>net.sf.ezmorph</groupId>
  284. <artifactId>ezmorph</artifactId>
  285. <version>1.0.6</version>
  286. </dependency>
  287. <!-- https://mvnrepository.com/artifact/org.gnu/gnu-crypto -->
  288. <dependency>
  289. <groupId>org.gnu</groupId>
  290. <artifactId>gnu-crypto</artifactId>
  291. <version>2.0.1</version>
  292. </dependency>
  293. <!-- https://mvnrepository.com/artifact/org.hamcrest/hamcrest-core -->
  294. <dependency>
  295. <groupId>org.hamcrest</groupId>
  296. <artifactId>hamcrest-core</artifactId>
  297. <version>1.3</version>
  298. <scope>test</scope>
  299. </dependency>
  300. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
  301. <dependency>
  302. <groupId>org.apache.httpcomponents</groupId>
  303. <artifactId>httpclient</artifactId>
  304. <version>4.5.2</version>
  305. </dependency>
  306. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore -->
  307. <dependency>
  308. <groupId>org.apache.httpcomponents</groupId>
  309. <artifactId>httpcore</artifactId>
  310. <version>4.4.6</version>
  311. </dependency>
  312. <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime -->
  313. <dependency>
  314. <groupId>org.apache.httpcomponents</groupId>
  315. <artifactId>httpmime</artifactId>
  316. <version>4.5.2</version>
  317. </dependency>
  318. <!-- https://mvnrepository.com/artifact/com.github.axet/java-unrar -->
  319. <dependency>
  320. <groupId>com.github.axet</groupId>
  321. <artifactId>java-unrar</artifactId>
  322. <version>1.7.0-8</version>
  323. </dependency>
  324. <!-- https://mvnrepository.com/artifact/jdom/jdom -->
  325. <dependency>
  326. <groupId>jdom</groupId>
  327. <artifactId>jdom</artifactId>
  328. <version>1.1</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>net.sf.json-lib</groupId>
  332. <artifactId>json-lib</artifactId>
  333. <classifier>jdk15</classifier>
  334. <version>2.4</version>
  335. </dependency>
  336. <!-- https://mvnrepository.com/artifact/javax.transaction/jta -->
  337. <dependency>
  338. <groupId>javax.transaction</groupId>
  339. <artifactId>jta</artifactId>
  340. <version>1.1</version>
  341. </dependency>
  342. <!-- https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl -->
  343. <dependency>
  344. <groupId>net.sourceforge.jexcelapi</groupId>
  345. <artifactId>jxl</artifactId>
  346. <version>2.6.12</version>
  347. </dependency>
  348. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  349. <dependency>
  350. <groupId>log4j</groupId>
  351. <artifactId>log4j</artifactId>
  352. <version>1.2.17</version>
  353. </dependency>
  354. <!-- https://mvnrepository.com/artifact/org.mybatis.caches/mybatis-memcached -->
  355. <!-- <dependency> -->
  356. <!-- <groupId>org.mybatis.caches</groupId> -->
  357. <!-- <artifactId>mybatis-memcached</artifactId> -->
  358. <!-- <version>1.0.0</version> -->
  359. <!-- </dependency> -->
  360. <!-- https://mvnrepository.com/artifact/ognl/ognl -->
  361. <dependency>
  362. <groupId>ognl</groupId>
  363. <artifactId>ognl</artifactId>
  364. <version>2.6.7</version>
  365. </dependency>
  366. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
  367. <!-- <dependency> -->
  368. <!-- <groupId>org.apache.poi</groupId> -->
  369. <!-- <artifactId>poi</artifactId> -->
  370. <!-- <version>3.15</version> -->
  371. <!-- </dependency> -->
  372. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
  373. <!-- <dependency> -->
  374. <!-- <groupId>org.apache.poi</groupId> -->
  375. <!-- <artifactId>poi-ooxml</artifactId> -->
  376. <!-- <version>3.15</version> -->
  377. <!-- </dependency> -->
  378. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-schemas -->
  379. <!-- <dependency> -->
  380. <!-- <groupId>org.apache.poi</groupId> -->
  381. <!-- <artifactId>poi-ooxml-schemas</artifactId> -->
  382. <!-- <version>3.15</version> -->
  383. <!-- </dependency> -->
  384. <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-scratchpad -->
  385. <!-- <dependency> -->
  386. <!-- <groupId>org.apache.poi</groupId> -->
  387. <!-- <artifactId>poi-scratchpad</artifactId> -->
  388. <!-- <version>3.15</version> -->
  389. <!-- </dependency> -->
  390. <!-- <dependency> -->
  391. <!-- <groupId>org.apache.poi</groupId> -->
  392. <!-- <artifactId>poi-excelant</artifactId> -->
  393. <!-- <version>3.15</version> -->
  394. <!-- </dependency> -->
  395. <!-- <dependency> -->
  396. <!-- <groupId>org.apache.poi</groupId> -->
  397. <!-- <artifactId>poi-examples</artifactId> -->
  398. <!-- <version>3.15</version> -->
  399. <!-- </dependency> -->
  400. <!-- https://mvnrepository.com/artifact/taglibs/standard -->
  401. <dependency>
  402. <groupId>taglibs</groupId>
  403. <artifactId>standard</artifactId>
  404. <version>1.1.2</version>
  405. </dependency>
  406. <!-- https://mvnrepository.com/artifact/org.apache.xmlbeans/xmlbeans -->
  407. <dependency>
  408. <groupId>org.apache.xmlbeans</groupId>
  409. <artifactId>xmlbeans</artifactId>
  410. <version>2.6.0</version>
  411. </dependency>
  412. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
  413. <dependency>
  414. <groupId>org.slf4j</groupId>
  415. <artifactId>slf4j-api</artifactId>
  416. <version>1.7.25</version>
  417. </dependency>
  418. <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
  419. <dependency>
  420. <groupId>org.slf4j</groupId>
  421. <artifactId>slf4j-log4j12</artifactId>
  422. <version>1.7.21</version>
  423. </dependency>
  424. <dependency>
  425. <groupId>org.projectlombok</groupId>
  426. <artifactId>lombok</artifactId>
  427. <version>1.18.10</version>
  428. </dependency>
  429. <!--Swagger-UI API文档生产工具-->
  430. <dependency>
  431. <groupId>io.springfox</groupId>
  432. <artifactId>springfox-swagger2</artifactId>
  433. <version>2.9.2</version>
  434. </dependency>
  435. <dependency>
  436. <groupId>io.springfox</groupId>
  437. <artifactId>springfox-swagger-ui</artifactId>
  438. <version>2.9.2</version>
  439. </dependency>
  440. <dependency>
  441. <groupId>io.swagger</groupId>
  442. <artifactId>swagger-annotations</artifactId>
  443. <version>1.5.21</version>
  444. </dependency>
  445. <dependency>
  446. <groupId>io.swagger</groupId>
  447. <artifactId>swagger-models</artifactId>
  448. <version>1.5.21</version>
  449. </dependency>
  450. <!-- fastjson -->
  451. <dependency>
  452. <groupId>com.alibaba</groupId>
  453. <artifactId>fastjson</artifactId>
  454. <version>1.2.61</version>
  455. </dependency>
  456. <!-- 阿里开源EXCEL -->
  457. <dependency>
  458. <groupId>com.alibaba</groupId>
  459. <artifactId>easyexcel</artifactId>
  460. <version>2.1.6</version>
  461. <exclusions>
  462. <exclusion>
  463. <groupId>org.ehcache</groupId>
  464. <artifactId>ehcache</artifactId>
  465. </exclusion>
  466. </exclusions>
  467. </dependency>
  468. <dependency>
  469. <groupId>jakarta.validation</groupId>
  470. <artifactId>jakarta.validation-api</artifactId>
  471. <version>2.0.2</version>
  472. </dependency>
  473. <!-- ehcache缓存 -->
  474. <dependency>
  475. <groupId>net.sf.ehcache</groupId>
  476. <artifactId>ehcache</artifactId>
  477. <version>2.10.6</version>
  478. </dependency>
  479. </dependencies>
  480. <build>
  481. <finalName>${artifactId}-${version}</finalName>
  482. <plugins>
  483. <plugin>
  484. <groupId>org.apache.tomcat.maven</groupId>
  485. <artifactId>tomcat7-maven-plugin</artifactId>
  486. <version>2.1</version>
  487. <configuration>
  488. <port>8080</port>
  489. <path>/yangguang</path>
  490. <uriEncoding>UTF-8</uriEncoding>
  491. <finalName>mgr</finalName>
  492. <server>tomcat7</server>
  493. </configuration>
  494. </plugin>
  495. <plugin>
  496. <groupId>org.codehaus.mojo</groupId>
  497. <artifactId>tomcat-maven-plugin</artifactId>
  498. <version>1.1</version>
  499. <configuration>
  500. <path>/wp</path>
  501. <port>8080</port>
  502. <uriEncoding>UTF-8</uriEncoding>
  503. <url>http://localhost:8080/manager/html</url>
  504. <server>tomcat6</server>
  505. </configuration>
  506. </plugin>
  507. <plugin>
  508. <groupId>org.apache.maven.plugins</groupId>
  509. <artifactId>maven-compiler-plugin</artifactId>
  510. <version>3.3</version>
  511. <configuration>
  512. <!-- 指定source和target的版本 -->
  513. <source>1.8</source>
  514. <target>1.8</target>
  515. </configuration>
  516. </plugin>
  517. </plugins>
  518. <resources>
  519. <resource>
  520. <directory>src/main/resource</directory>
  521. <includes>
  522. <include>**/*.xml</include>
  523. </includes>
  524. <excludes>
  525. <exclude>*.properties</exclude>
  526. </excludes>
  527. <filtering>true</filtering>
  528. </resource>
  529. <resource>
  530. <directory>src/main/resource/env/${config.dir}</directory>
  531. </resource>
  532. </resources>
  533. </build>
  534. <repositories>
  535. <!-- <repository> -->
  536. <!-- <id>central</id> -->
  537. <!-- <name>Central Repository</name> -->
  538. <!-- <url>http://nexus.yaozhitech.com/repository/maven-public/</url> -->
  539. <!-- <layout>default</layout> -->
  540. <!-- <snapshots> -->
  541. <!-- <enabled>false</enabled> -->
  542. <!-- </snapshots> -->
  543. <!-- </repository> -->
  544. <repository>
  545. <id>maven-aliyun-com</id>
  546. <name>Maven Aliyuan</name>
  547. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  548. <releases>
  549. <enabled>true</enabled>
  550. </releases>
  551. <snapshots>
  552. <enabled>false</enabled>
  553. </snapshots>
  554. </repository>
  555. <repository>
  556. <id>mvn-repository</id>
  557. <name>Maven Repository</name>
  558. <url>http://mvnrepository.com/</url>
  559. <snapshots>
  560. <enabled>false</enabled>
  561. </snapshots>
  562. </repository>
  563. </repositories>
  564. </project>