pom.xml 21 KB

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