pom.xml 19 KB

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