pom.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732
  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. <artifactId>platform-b2c</artifactId>
  5. <packaging>war</packaging>
  6. <name>platform-b2c Maven Webapp</name>
  7. <url>http://maven.apache.org</url>
  8. <parent>
  9. <groupId>com.uas.platform</groupId>
  10. <artifactId>platform</artifactId>
  11. <version>0.0.1-SNAPSHOT</version>
  12. </parent>
  13. <profiles>
  14. <profile>
  15. <!-- 开发环境 -->
  16. <id>dev</id>
  17. <properties>
  18. <profile>dev</profile>
  19. <!-- static plugin -->
  20. <static-path>static</static-path>
  21. </properties>
  22. <!-- 默认 -->
  23. <activation>
  24. <activeByDefault>true</activeByDefault>
  25. </activation>
  26. </profile>
  27. <profile>
  28. <!-- 测试环境 -->
  29. <id>test</id>
  30. <properties>
  31. <profile>test</profile>
  32. <!-- static plugin -->
  33. <static-path>static</static-path>
  34. </properties>
  35. </profile>
  36. <profile>
  37. <!-- 生产环境 -->
  38. <id>prod</id>
  39. <properties>
  40. <profile>prod</profile>
  41. <!-- static plugin -->
  42. <static-path>https://static.usoftmall.com</static-path>
  43. </properties>
  44. </profile>
  45. <profile>
  46. <!-- 生产环境 -->
  47. <id>cloud</id>
  48. <properties>
  49. <profile>cloud</profile>
  50. <!-- static plugin -->
  51. <static-path>static</static-path>
  52. </properties>
  53. </profile>
  54. </profiles>
  55. <dependencies>
  56. <dependency>
  57. <groupId>javax.servlet</groupId>
  58. <artifactId>javax.servlet-api</artifactId>
  59. <version>3.0.1</version>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>javax.servlet</groupId>
  64. <artifactId>servlet-api</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>junit</groupId>
  68. <artifactId>junit</artifactId>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>log4j</groupId>
  73. <artifactId>log4j</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.uas.platform</groupId>
  77. <artifactId>platform-core</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.uas.api</groupId>
  81. <artifactId>b2c-erp-api</artifactId>
  82. <version>0.0.5-SNAPSHOT</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.caucho</groupId>
  86. <artifactId>hessian</artifactId>
  87. </dependency>
  88. <!-- spring -->
  89. <dependency>
  90. <groupId>org.springframework</groupId>
  91. <artifactId>spring-core</artifactId>
  92. <exclusions>
  93. <exclusion>
  94. <groupId>commons-logging</groupId>
  95. <artifactId>commons-logging</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework</groupId>
  101. <artifactId>spring-context</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.springframework</groupId>
  105. <artifactId>spring-context-support</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>spring-webmvc</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework</groupId>
  113. <artifactId>spring-jdbc</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework</groupId>
  117. <artifactId>spring-tx</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springframework</groupId>
  121. <artifactId>spring-aop</artifactId>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework</groupId>
  125. <artifactId>spring-aspects</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springframework</groupId>
  129. <artifactId>spring-test</artifactId>
  130. <version>4.1.6.RELEASE</version>
  131. </dependency>
  132. <!-- jpa -->
  133. <dependency>
  134. <groupId>org.springframework.data</groupId>
  135. <artifactId>spring-data-jpa</artifactId>
  136. </dependency>
  137. <!-- mongodb spring -->
  138. <dependency>
  139. <groupId>org.springframework.data</groupId>
  140. <artifactId>spring-data-mongodb</artifactId>
  141. <version>1.5.2.RELEASE</version>
  142. </dependency>
  143. <!-- xstream -->
  144. <dependency>
  145. <groupId>com.thoughtworks.xstream</groupId>
  146. <artifactId>xstream</artifactId>
  147. <version>1.3.1</version>
  148. </dependency>
  149. <!-- fileupload -->
  150. <dependency>
  151. <groupId>commons-fileupload</groupId>
  152. <artifactId>commons-fileupload</artifactId>
  153. <version>1.3.1</version>
  154. </dependency>
  155. <!-- hibernate -->
  156. <dependency>
  157. <groupId>org.hibernate</groupId>
  158. <artifactId>hibernate-core</artifactId>
  159. <exclusions>
  160. <exclusion>
  161. <groupId>xml-apis</groupId>
  162. <artifactId>xml-apis</artifactId>
  163. </exclusion>
  164. </exclusions>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.hibernate</groupId>
  168. <artifactId>hibernate-entitymanager</artifactId>
  169. <exclusions>
  170. <exclusion>
  171. <groupId>cglib</groupId>
  172. <artifactId>cglib</artifactId>
  173. </exclusion>
  174. <exclusion>
  175. <groupId>dom4j</groupId>
  176. <artifactId>dom4j</artifactId>
  177. </exclusion>
  178. </exclusions>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.hibernate.javax.persistence</groupId>
  182. <artifactId>hibernate-jpa-2.1-api</artifactId>
  183. </dependency>
  184. <dependency>
  185. <groupId>commons-collections</groupId>
  186. <artifactId>commons-collections</artifactId>
  187. </dependency>
  188. <dependency>
  189. <groupId>org.hibernate</groupId>
  190. <artifactId>hibernate-validator</artifactId>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.slf4j</groupId>
  194. <artifactId>slf4j-api</artifactId>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.slf4j</groupId>
  198. <artifactId>jcl-over-slf4j</artifactId>
  199. </dependency>
  200. <dependency>
  201. <groupId>org.slf4j</groupId>
  202. <artifactId>slf4j-log4j12</artifactId>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.aspectj</groupId>
  206. <artifactId>aspectjrt</artifactId>
  207. </dependency>
  208. <dependency>
  209. <groupId>org.aspectj</groupId>
  210. <artifactId>aspectjweaver</artifactId>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.apache.commons</groupId>
  214. <artifactId>commons-lang3</artifactId>
  215. </dependency>
  216. <dependency>
  217. <groupId>javax.validation</groupId>
  218. <artifactId>validation-api</artifactId>
  219. </dependency>
  220. <dependency>
  221. <groupId>javax.transaction</groupId>
  222. <artifactId>jta</artifactId>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.hibernate</groupId>
  226. <artifactId>hibernate-ehcache</artifactId>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.github.debop</groupId>
  230. <artifactId>hibernate-redis</artifactId>
  231. <version>2.3.1</version>
  232. </dependency>
  233. <!-- jdbc -->
  234. <dependency>
  235. <groupId>com.oracle</groupId>
  236. <artifactId>ojdbc6</artifactId>
  237. </dependency>
  238. <!-- mysql -->
  239. <dependency>
  240. <groupId>mysql</groupId>
  241. <artifactId>mysql-connector-java</artifactId>
  242. <version>5.1.21</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>org.springframework</groupId>
  246. <artifactId>spring-orm</artifactId>
  247. </dependency>
  248. <dependency>
  249. <groupId>commons-pool</groupId>
  250. <artifactId>commons-pool</artifactId>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-dbcp</groupId>
  254. <artifactId>commons-dbcp</artifactId>
  255. </dependency>
  256. <!-- redis -->
  257. <dependency>
  258. <groupId>redis.clients</groupId>
  259. <artifactId>jedis</artifactId>
  260. <version>2.7.3</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.springframework.data</groupId>
  264. <artifactId>spring-data-redis</artifactId>
  265. <version>1.6.0.RELEASE</version>
  266. </dependency>
  267. <!-- spring mobile -->
  268. <dependency>
  269. <groupId>org.springframework.mobile</groupId>
  270. <artifactId>spring-mobile-device</artifactId>
  271. </dependency>
  272. <!--json-lib -->
  273. <dependency>
  274. <groupId>net.sf.json-lib</groupId>
  275. <artifactId>json-lib</artifactId>
  276. <classifier>jdk15</classifier>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.codehaus.jackson</groupId>
  280. <artifactId>jackson-core-asl</artifactId>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.codehaus.jackson</groupId>
  284. <artifactId>jackson-mapper-asl</artifactId>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.fasterxml.jackson.core</groupId>
  288. <artifactId>jackson-core</artifactId>
  289. <version>2.9.6</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>com.fasterxml.jackson.core</groupId>
  293. <artifactId>jackson-databind</artifactId>
  294. <version>2.9.6</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>com.fasterxml.jackson.core</groupId>
  298. <artifactId>jackson-annotations</artifactId>
  299. <version>2.9.6</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>com.alibaba</groupId>
  303. <artifactId>fastjson</artifactId>
  304. </dependency>
  305. <!-- velocity -->
  306. <dependency>
  307. <groupId>org.apache.velocity</groupId>
  308. <artifactId>velocity</artifactId>
  309. </dependency>
  310. <!-- mail -->
  311. <dependency>
  312. <groupId>javax.mail</groupId>
  313. <artifactId>mail</artifactId>
  314. </dependency>
  315. <!-- jxls -->
  316. <dependency>
  317. <groupId>net.sf.jxls</groupId>
  318. <artifactId>jxls-core</artifactId>
  319. <version>1.0.4</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>net.sf.jxls</groupId>
  323. <artifactId>jxls-reader</artifactId>
  324. <version>1.0.4</version>
  325. </dependency>
  326. <!-- poi -->
  327. <dependency>
  328. <groupId>org.apache.poi</groupId>
  329. <artifactId>poi</artifactId>
  330. <version>3.17</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>org.apache.poi</groupId>
  334. <artifactId>poi-ooxml</artifactId>
  335. <version>3.17</version>
  336. <exclusions>
  337. <exclusion>
  338. <groupId>org.apache.poi</groupId>
  339. <artifactId>poi</artifactId>
  340. </exclusion>
  341. </exclusions>
  342. </dependency>
  343. <!-- BeeCloud支付集成SDK -->
  344. <dependency>
  345. <groupId>cn.beecloud</groupId>
  346. <artifactId>beecloud-java-sdk</artifactId>
  347. <version>3.1.0</version>
  348. </dependency>
  349. <dependency>
  350. <groupId>jaxen</groupId>
  351. <artifactId>jaxen</artifactId>
  352. <version>1.1.6</version>
  353. <exclusions>
  354. <exclusion>
  355. <groupId>dom4j</groupId>
  356. <artifactId>dom4j</artifactId>
  357. </exclusion>
  358. <exclusion>
  359. <groupId>xml-apis</groupId>
  360. <artifactId>xml-apis</artifactId>
  361. </exclusion>
  362. <exclusion>
  363. <groupId>xerces</groupId>
  364. <artifactId>xmlParserAPIs</artifactId>
  365. </exclusion>
  366. <exclusion>
  367. <groupId>xerces</groupId>
  368. <artifactId>xercesImpl</artifactId>
  369. </exclusion>
  370. <exclusion>
  371. <groupId>xerces</groupId>
  372. <artifactId>xercesImpl</artifactId>
  373. </exclusion>
  374. <exclusion>
  375. <groupId>com.ibm.icu</groupId>
  376. <artifactId>icu4j</artifactId>
  377. </exclusion>
  378. </exclusions>
  379. </dependency>
  380. <!-- kafka消息中间件 -->
  381. <dependency>
  382. <groupId>org.springframework.kafka</groupId>
  383. <artifactId>spring-kafka</artifactId>
  384. <version>1.2.2.RELEASE</version>
  385. </dependency>
  386. <!-- service on dubbo -->
  387. <dependency>
  388. <groupId>com.uas.dfs</groupId>
  389. <artifactId>dfs-api</artifactId>
  390. </dependency>
  391. <!-- search -->
  392. <dependency>
  393. <groupId>com.uas.search</groupId>
  394. <artifactId>search-api</artifactId>
  395. </dependency>
  396. <dependency>
  397. <groupId>com.uas.message</groupId>
  398. <artifactId>message-mail-api</artifactId>
  399. </dependency>
  400. <dependency>
  401. <groupId>com.uas.message</groupId>
  402. <artifactId>message-sms-api</artifactId>
  403. </dependency>
  404. <dependency>
  405. <groupId>com.uas.account</groupId>
  406. <artifactId>account-common</artifactId>
  407. <version>0.0.1-SNAPSHOT</version>
  408. </dependency>
  409. <dependency>
  410. <groupId>com.uas.sso</groupId>
  411. <artifactId>sso-common</artifactId>
  412. <version>0.0.1-SNAPSHOT</version>
  413. <exclusions>
  414. <exclusion>
  415. <artifactId>tomcat-embed-core</artifactId>
  416. <groupId>org.apache.tomcat.embed</groupId>
  417. </exclusion>
  418. </exclusions>
  419. </dependency>
  420. <!-- security -->
  421. <dependency>
  422. <groupId>org.springframework.security</groupId>
  423. <artifactId>spring-security-core</artifactId>
  424. </dependency>
  425. <dependency>
  426. <groupId>org.springframework.security</groupId>
  427. <artifactId>spring-security-config</artifactId>
  428. </dependency>
  429. <dependency>
  430. <groupId>org.springframework.security</groupId>
  431. <artifactId>spring-security-web</artifactId>
  432. </dependency>
  433. <!-- swagger-springmvc -->
  434. <dependency>
  435. <groupId>com.mangofactory</groupId>
  436. <artifactId>swagger-springmvc</artifactId>
  437. <version>1.0.2</version>
  438. </dependency>
  439. <dependency>
  440. <groupId>com.mangofactory</groupId>
  441. <artifactId>swagger-models</artifactId>
  442. <version>1.0.2</version>
  443. </dependency>
  444. <dependency>
  445. <groupId>com.wordnik</groupId>
  446. <artifactId>swagger-annotations</artifactId>
  447. <version>1.3.11</version>
  448. </dependency>
  449. <!-- swagger-springmvc dependencies -->
  450. <dependency>
  451. <groupId>com.google.guava</groupId>
  452. <artifactId>guava</artifactId>
  453. <version>15.0</version>
  454. </dependency>
  455. <dependency>
  456. <groupId>com.fasterxml</groupId>
  457. <artifactId>classmate</artifactId>
  458. <version>1.1.0</version>
  459. </dependency>
  460. <dependency>
  461. <groupId>javax.servlet</groupId>
  462. <artifactId>servlet-api</artifactId>
  463. </dependency>
  464. <dependency>
  465. <groupId>com.uas.ps</groupId>
  466. <artifactId>ps-core</artifactId>
  467. <version>0.0.1-SNAPSHOT</version>
  468. </dependency>
  469. <dependency>
  470. <groupId>com.uas.ps</groupId>
  471. <artifactId>ps-entity</artifactId>
  472. <version>0.0.1-SNAPSHOT</version>
  473. </dependency>
  474. <dependency>
  475. <groupId>com.uas.ps</groupId>
  476. <artifactId>ps-entity</artifactId>
  477. <version>0.0.1-SNAPSHOT</version>
  478. </dependency>
  479. <dependency>
  480. <groupId>net.sourceforge.pinyin4j</groupId>
  481. <artifactId>pinyin4j</artifactId>
  482. <version>1.1.0</version>
  483. </dependency>
  484. <!--Hutool POI工具类(对MS Office操作)-->
  485. <!--<dependency>
  486. <groupId>org.apache.poi</groupId>
  487. <artifactId>poi-ooxml</artifactId>
  488. <version>3.17</version>
  489. </dependency>-->
  490. <dependency>
  491. <groupId>com.xiaoleilu</groupId>
  492. <artifactId>hutool-poi</artifactId>
  493. <version>3.2.2</version>
  494. <exclusions>
  495. <exclusion>
  496. <groupId>org.apache.poi</groupId>
  497. <artifactId>poi-ooxml</artifactId>
  498. </exclusion>
  499. </exclusions>
  500. </dependency>
  501. </dependencies>
  502. <build>
  503. <finalName>platform-b2c</finalName>
  504. <!-- 受profile影响的目录 -->
  505. <resources>
  506. <resource>
  507. <directory>${basedir}/src/main/resources</directory>
  508. <filtering>true</filtering>
  509. <excludes>
  510. <exclude>**/*.xls</exclude>
  511. </excludes>
  512. </resource>
  513. <!-- xls文件不能filter处理,需区分出来 -->
  514. <resource>
  515. <directory>${basedir}/src/main/resources</directory>
  516. <filtering>false</filtering>
  517. <includes>
  518. <include>**/*.xls</include>
  519. </includes>
  520. </resource>
  521. </resources>
  522. <!-- 在maven生命周期validate阶段生成timestamp -->
  523. <plugins>
  524. <plugin>
  525. <groupId>org.codehaus.mojo</groupId>
  526. <artifactId>buildnumber-maven-plugin</artifactId>
  527. <version>1.3</version>
  528. <executions>
  529. <execution>
  530. <phase>validate</phase>
  531. <goals>
  532. <goal>create-timestamp</goal>
  533. </goals>
  534. </execution>
  535. </executions>
  536. <configuration>
  537. <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
  538. <items>
  539. <item>timestamp</item>
  540. </items>
  541. </configuration>
  542. </plugin>
  543. <plugin>
  544. <groupId>org.apache.maven.plugins</groupId>
  545. <artifactId>maven-compiler-plugin</artifactId>
  546. <configuration>
  547. <source>1.8</source>
  548. <target>1.8</target>
  549. </configuration>
  550. </plugin>
  551. <plugin>
  552. <groupId>com.samaxes.maven</groupId>
  553. <artifactId>minify-maven-plugin</artifactId>
  554. <version>1.7.4</version>
  555. <!-- 静态文件压缩 -->
  556. <executions>
  557. <execution>
  558. <id>default-minify</id>
  559. <phase>prepare-package</phase>
  560. <configuration>
  561. <charset>UTF-8</charset>
  562. <skipMerge>true</skipMerge>
  563. <closureLanguage>ECMASCRIPT5</closureLanguage>
  564. <closureAngularPass>true</closureAngularPass>
  565. <nosuffix>true</nosuffix>
  566. <webappTargetDir>${project.build.directory}/minify</webappTargetDir>
  567. <cssSourceDir>resources</cssSourceDir>
  568. <cssEngine>YUI</cssEngine>
  569. <jsSourceDir>resources</jsSourceDir>
  570. <jsEngine>YUI</jsEngine>
  571. <cssSourceIncludes>
  572. <cssSourceInclude>css/**/*.css</cssSourceInclude>
  573. <cssSourceInclude>data/**/*.json</cssSourceInclude>
  574. </cssSourceIncludes>
  575. <cssSourceExcludes>
  576. <cssSourceExclude>css/**/*.min.css</cssSourceExclude>
  577. </cssSourceExcludes>
  578. <jsSourceIncludes>
  579. <jsSourceInclude>js/**/*.js</jsSourceInclude>
  580. </jsSourceIncludes>
  581. <jsSourceExcludes>
  582. <jsSourceExclude>js/**/*.min.js</jsSourceExclude>
  583. </jsSourceExcludes>
  584. </configuration>
  585. <goals>
  586. <goal>minify</goal>
  587. </goals>
  588. </execution>
  589. </executions>
  590. </plugin>
  591. <plugin>
  592. <artifactId>maven-resources-plugin</artifactId>
  593. <executions>
  594. <execution>
  595. <id>copy-resources</id>
  596. <phase>prepare-package</phase>
  597. <goals>
  598. <goal>copy-resources</goal>
  599. </goals>
  600. <configuration>
  601. <outputDirectory>${project.build.directory}/minify</outputDirectory>
  602. <overwrite>false</overwrite>
  603. <resources>
  604. <resource>
  605. <directory>${basedir}/src/main/webapp</directory>
  606. </resource>
  607. </resources>
  608. </configuration>
  609. </execution>
  610. </executions>
  611. </plugin>
  612. <plugin>
  613. <groupId>com.uas.plugins</groupId>
  614. <artifactId>static-maven-plugin</artifactId>
  615. <version>0.0.2-SNAPSHOT</version>
  616. <!-- 静态资源分离 -->
  617. <executions>
  618. <execution>
  619. <id>default-static</id>
  620. <phase>prepare-package</phase>
  621. <configuration>
  622. <pathMatcher>static</pathMatcher>
  623. <staticUrl>${static-path}</staticUrl>
  624. <webappDir>${project.build.directory}/minify</webappDir>
  625. <sourceDir>/</sourceDir>
  626. <targetDir>${project.build.directory}/statics</targetDir>
  627. <staticDir>/</staticDir>
  628. <sourceIncludes>
  629. <sourceInclude>resources/js/**/*.js</sourceInclude>
  630. <sourceInclude>resources/data/**/*.json</sourceInclude>
  631. <sourceInclude>resources/view/**/*.html</sourceInclude>
  632. <sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
  633. </sourceIncludes>
  634. <!-- http://static.ubtoc.com/css/index.css?_v=1450321871828 -->
  635. <versionSuffix>
  636. <suffix>?_v=${timestamp}</suffix>
  637. <exclude>*/require.js,*.min.js,*.min.css</exclude>
  638. </versionSuffix>
  639. </configuration>
  640. <goals>
  641. <goal>static</goal>
  642. </goals>
  643. </execution>
  644. </executions>
  645. </plugin>
  646. <plugin>
  647. <groupId>org.apache.maven.plugins</groupId>
  648. <artifactId>maven-war-plugin</artifactId>
  649. <version>2.4</version>
  650. <configuration>
  651. <webResources>
  652. <resource>
  653. <directory>${project.build.directory}/statics</directory>
  654. </resource>
  655. <resource>
  656. <directory>${project.build.directory}/minify</directory>
  657. </resource>
  658. </webResources>
  659. </configuration>
  660. </plugin>
  661. <plugin>
  662. <groupId>org.apache.tomcat.maven</groupId>
  663. <artifactId>tomcat7-maven-plugin</artifactId>
  664. <version>2.2</version>
  665. <configuration>
  666. <port>8080</port>
  667. <path>/</path>
  668. <uriEncoding>utf-8</uriEncoding>
  669. </configuration>
  670. </plugin>
  671. </plugins>
  672. <pluginManagement>
  673. <plugins>
  674. <plugin>
  675. <groupId>org.eclipse.m2e</groupId>
  676. <artifactId>lifecycle-mapping</artifactId>
  677. <version>1.0.0</version>
  678. <configuration>
  679. <lifecycleMappingMetadata>
  680. <pluginExecutions>
  681. <pluginExecution>
  682. <pluginExecutionFilter>
  683. <groupId>
  684. org.codehaus.mojo
  685. </groupId>
  686. <artifactId>
  687. buildnumber-maven-plugin
  688. </artifactId>
  689. <versionRange>
  690. [1.3,)
  691. </versionRange>
  692. <goals>
  693. <goal>
  694. create-timestamp
  695. </goal>
  696. </goals>
  697. </pluginExecutionFilter>
  698. <action>
  699. <ignore></ignore>
  700. </action>
  701. </pluginExecution>
  702. </pluginExecutions>
  703. </lifecycleMappingMetadata>
  704. </configuration>
  705. </plugin>
  706. </plugins>
  707. </pluginManagement>
  708. </build>
  709. <distributionManagement>
  710. <!-- 发布release仓库 -->
  711. <repository>
  712. <id>platform-release</id>
  713. <name>platform-release</name>
  714. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  715. </repository>
  716. <!-- 发布快照版本 -->
  717. <snapshotRepository>
  718. <id>platform-snapshots</id>
  719. <name>platform-snapshots</name>
  720. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  721. </snapshotRepository>
  722. </distributionManagement>
  723. </project>