pom.xml 20 KB

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