pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  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. <!-- 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. </dependency>
  281. <dependency>
  282. <groupId>com.fasterxml.jackson.core</groupId>
  283. <artifactId>jackson-databind</artifactId>
  284. </dependency>
  285. <dependency>
  286. <groupId>com.fasterxml.jackson.core</groupId>
  287. <artifactId>jackson-annotations</artifactId>
  288. </dependency>
  289. <dependency>
  290. <groupId>com.alibaba</groupId>
  291. <artifactId>fastjson</artifactId>
  292. </dependency>
  293. <!-- velocity -->
  294. <dependency>
  295. <groupId>org.apache.velocity</groupId>
  296. <artifactId>velocity</artifactId>
  297. </dependency>
  298. <!-- mail -->
  299. <dependency>
  300. <groupId>javax.mail</groupId>
  301. <artifactId>mail</artifactId>
  302. </dependency>
  303. <!-- jxls -->
  304. <dependency>
  305. <groupId>net.sf.jxls</groupId>
  306. <artifactId>jxls-core</artifactId>
  307. <version>1.0.4</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>net.sf.jxls</groupId>
  311. <artifactId>jxls-reader</artifactId>
  312. <version>1.0.4</version>
  313. </dependency>
  314. <!-- poi -->
  315. <dependency>
  316. <groupId>org.apache.poi</groupId>
  317. <artifactId>poi</artifactId>
  318. <version>3.17</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>org.apache.poi</groupId>
  322. <artifactId>poi-ooxml</artifactId>
  323. <version>3.17</version>
  324. <exclusions>
  325. <exclusion>
  326. <groupId>org.apache.poi</groupId>
  327. <artifactId>poi</artifactId>
  328. </exclusion>
  329. </exclusions>
  330. </dependency>
  331. <!-- BeeCloud支付集成SDK -->
  332. <dependency>
  333. <groupId>cn.beecloud</groupId>
  334. <artifactId>beecloud-java-sdk</artifactId>
  335. <version>3.1.0</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>jaxen</groupId>
  339. <artifactId>jaxen</artifactId>
  340. <version>1.1.6</version>
  341. <exclusions>
  342. <exclusion>
  343. <groupId>dom4j</groupId>
  344. <artifactId>dom4j</artifactId>
  345. </exclusion>
  346. <exclusion>
  347. <groupId>xml-apis</groupId>
  348. <artifactId>xml-apis</artifactId>
  349. </exclusion>
  350. <exclusion>
  351. <groupId>xerces</groupId>
  352. <artifactId>xmlParserAPIs</artifactId>
  353. </exclusion>
  354. <exclusion>
  355. <groupId>xerces</groupId>
  356. <artifactId>xercesImpl</artifactId>
  357. </exclusion>
  358. <exclusion>
  359. <groupId>xerces</groupId>
  360. <artifactId>xercesImpl</artifactId>
  361. </exclusion>
  362. <exclusion>
  363. <groupId>com.ibm.icu</groupId>
  364. <artifactId>icu4j</artifactId>
  365. </exclusion>
  366. </exclusions>
  367. </dependency>
  368. <!-- kafka消息中间件 -->
  369. <dependency>
  370. <groupId>org.springframework.kafka</groupId>
  371. <artifactId>spring-kafka</artifactId>
  372. <version>1.2.2.RELEASE</version>
  373. </dependency>
  374. <!-- service on dubbo -->
  375. <dependency>
  376. <groupId>com.uas.dfs</groupId>
  377. <artifactId>dfs-api</artifactId>
  378. </dependency>
  379. <!-- search -->
  380. <dependency>
  381. <groupId>com.uas.search</groupId>
  382. <artifactId>search-api</artifactId>
  383. </dependency>
  384. <dependency>
  385. <groupId>com.uas.message</groupId>
  386. <artifactId>message-mail-api</artifactId>
  387. </dependency>
  388. <dependency>
  389. <groupId>com.uas.message</groupId>
  390. <artifactId>message-sms-api</artifactId>
  391. </dependency>
  392. <dependency>
  393. <groupId>com.uas.account</groupId>
  394. <artifactId>account-common</artifactId>
  395. </dependency>
  396. <dependency>
  397. <groupId>net.sourceforge.pinyin4j</groupId>
  398. <artifactId>pinyin4j</artifactId>
  399. <version>1.1.0</version>
  400. </dependency>
  401. <!-- security -->
  402. <dependency>
  403. <groupId>org.springframework.security</groupId>
  404. <artifactId>spring-security-core</artifactId>
  405. </dependency>
  406. <dependency>
  407. <groupId>org.springframework.security</groupId>
  408. <artifactId>spring-security-config</artifactId>
  409. </dependency>
  410. <dependency>
  411. <groupId>org.springframework.security</groupId>
  412. <artifactId>spring-security-web</artifactId>
  413. </dependency>
  414. <!-- swagger-springmvc -->
  415. <dependency>
  416. <groupId>com.mangofactory</groupId>
  417. <artifactId>swagger-springmvc</artifactId>
  418. <version>1.0.2</version>
  419. </dependency>
  420. <dependency>
  421. <groupId>com.mangofactory</groupId>
  422. <artifactId>swagger-models</artifactId>
  423. <version>1.0.2</version>
  424. </dependency>
  425. <dependency>
  426. <groupId>com.wordnik</groupId>
  427. <artifactId>swagger-annotations</artifactId>
  428. <version>1.3.11</version>
  429. </dependency>
  430. <!-- swagger-springmvc dependencies -->
  431. <dependency>
  432. <groupId>com.google.guava</groupId>
  433. <artifactId>guava</artifactId>
  434. <version>15.0</version>
  435. </dependency>
  436. <dependency>
  437. <groupId>com.fasterxml</groupId>
  438. <artifactId>classmate</artifactId>
  439. <version>1.1.0</version>
  440. </dependency>
  441. <dependency>
  442. <groupId>javax.servlet</groupId>
  443. <artifactId>servlet-api</artifactId>
  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. <!--Hutool POI工具类(对MS Office操作)-->
  451. <!--<dependency>
  452. <groupId>org.apache.poi</groupId>
  453. <artifactId>poi-ooxml</artifactId>
  454. <version>3.17</version>
  455. </dependency>-->
  456. <dependency>
  457. <groupId>com.xiaoleilu</groupId>
  458. <artifactId>hutool-poi</artifactId>
  459. <version>3.2.2</version>
  460. <exclusions>
  461. <exclusion>
  462. <groupId>org.apache.poi</groupId>
  463. <artifactId>poi-ooxml</artifactId>
  464. </exclusion>
  465. </exclusions>
  466. </dependency>
  467. </dependencies>
  468. <build>
  469. <finalName>platform-b2c</finalName>
  470. <!-- 受profile影响的目录 -->
  471. <resources>
  472. <resource>
  473. <directory>${basedir}/src/main/resources</directory>
  474. <filtering>true</filtering>
  475. <excludes>
  476. <exclude>**/*.xls</exclude>
  477. </excludes>
  478. </resource>
  479. <!-- xls文件不能filter处理,需区分出来 -->
  480. <resource>
  481. <directory>${basedir}/src/main/resources</directory>
  482. <filtering>false</filtering>
  483. <includes>
  484. <include>**/*.xls</include>
  485. </includes>
  486. </resource>
  487. </resources>
  488. <!-- 在maven生命周期validate阶段生成timestamp -->
  489. <plugins>
  490. <plugin>
  491. <groupId>org.codehaus.mojo</groupId>
  492. <artifactId>buildnumber-maven-plugin</artifactId>
  493. <version>1.3</version>
  494. <executions>
  495. <execution>
  496. <phase>validate</phase>
  497. <goals>
  498. <goal>create-timestamp</goal>
  499. </goals>
  500. </execution>
  501. </executions>
  502. <configuration>
  503. <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
  504. <items>
  505. <item>timestamp</item>
  506. </items>
  507. </configuration>
  508. </plugin>
  509. <plugin>
  510. <groupId>org.apache.maven.plugins</groupId>
  511. <artifactId>maven-compiler-plugin</artifactId>
  512. <configuration>
  513. <source>1.7</source>
  514. <target>1.7</target>
  515. </configuration>
  516. </plugin>
  517. <plugin>
  518. <groupId>com.samaxes.maven</groupId>
  519. <artifactId>minify-maven-plugin</artifactId>
  520. <version>1.7.4</version>
  521. <!-- 静态文件压缩 -->
  522. <executions>
  523. <execution>
  524. <id>default-minify</id>
  525. <phase>prepare-package</phase>
  526. <configuration>
  527. <charset>UTF-8</charset>
  528. <skipMerge>true</skipMerge>
  529. <closureLanguage>ECMASCRIPT5</closureLanguage>
  530. <closureAngularPass>true</closureAngularPass>
  531. <nosuffix>true</nosuffix>
  532. <webappTargetDir>${project.build.directory}/minify</webappTargetDir>
  533. <cssSourceDir>resources</cssSourceDir>
  534. <cssEngine>YUI</cssEngine>
  535. <jsSourceDir>resources</jsSourceDir>
  536. <jsEngine>YUI</jsEngine>
  537. <cssSourceIncludes>
  538. <cssSourceInclude>css/**/*.css</cssSourceInclude>
  539. <cssSourceInclude>data/**/*.json</cssSourceInclude>
  540. </cssSourceIncludes>
  541. <cssSourceExcludes>
  542. <cssSourceExclude>css/**/*.min.css</cssSourceExclude>
  543. </cssSourceExcludes>
  544. <jsSourceIncludes>
  545. <jsSourceInclude>js/**/*.js</jsSourceInclude>
  546. </jsSourceIncludes>
  547. <jsSourceExcludes>
  548. <jsSourceExclude>js/**/*.min.js</jsSourceExclude>
  549. </jsSourceExcludes>
  550. </configuration>
  551. <goals>
  552. <goal>minify</goal>
  553. </goals>
  554. </execution>
  555. </executions>
  556. </plugin>
  557. <plugin>
  558. <artifactId>maven-resources-plugin</artifactId>
  559. <executions>
  560. <execution>
  561. <id>copy-resources</id>
  562. <phase>prepare-package</phase>
  563. <goals>
  564. <goal>copy-resources</goal>
  565. </goals>
  566. <configuration>
  567. <outputDirectory>${project.build.directory}/minify</outputDirectory>
  568. <overwrite>false</overwrite>
  569. <resources>
  570. <resource>
  571. <directory>${basedir}/src/main/webapp</directory>
  572. </resource>
  573. </resources>
  574. </configuration>
  575. </execution>
  576. </executions>
  577. </plugin>
  578. <plugin>
  579. <groupId>com.uas.plugins</groupId>
  580. <artifactId>static-maven-plugin</artifactId>
  581. <version>0.0.2-SNAPSHOT</version>
  582. <!-- 静态资源分离 -->
  583. <executions>
  584. <execution>
  585. <id>default-static</id>
  586. <phase>prepare-package</phase>
  587. <configuration>
  588. <pathMatcher>static</pathMatcher>
  589. <staticUrl>${static-path}</staticUrl>
  590. <webappDir>${project.build.directory}/minify</webappDir>
  591. <sourceDir>/</sourceDir>
  592. <targetDir>${project.build.directory}/statics</targetDir>
  593. <staticDir>/</staticDir>
  594. <sourceIncludes>
  595. <sourceInclude>resources/js/**/*.js</sourceInclude>
  596. <sourceInclude>resources/data/**/*.json</sourceInclude>
  597. <sourceInclude>resources/view/**/*.html</sourceInclude>
  598. <sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
  599. </sourceIncludes>
  600. <!-- http://static.ubtoc.com/css/index.css?_v=1450321871828 -->
  601. <versionSuffix>
  602. <suffix>?_v=${timestamp}</suffix>
  603. <exclude>*/require.js,*.min.js,*.min.css</exclude>
  604. </versionSuffix>
  605. </configuration>
  606. <goals>
  607. <goal>static</goal>
  608. </goals>
  609. </execution>
  610. </executions>
  611. </plugin>
  612. <plugin>
  613. <groupId>org.apache.maven.plugins</groupId>
  614. <artifactId>maven-war-plugin</artifactId>
  615. <version>2.4</version>
  616. <configuration>
  617. <webResources>
  618. <resource>
  619. <directory>${project.build.directory}/statics</directory>
  620. </resource>
  621. <resource>
  622. <directory>${project.build.directory}/minify</directory>
  623. </resource>
  624. </webResources>
  625. </configuration>
  626. </plugin>
  627. <plugin>
  628. <groupId>org.apache.tomcat.maven</groupId>
  629. <artifactId>tomcat7-maven-plugin</artifactId>
  630. <version>2.2</version>
  631. <configuration>
  632. <port>8080</port>
  633. <path>/platform-b2c</path>
  634. <uriEncoding>utf-8</uriEncoding>
  635. </configuration>
  636. </plugin>
  637. </plugins>
  638. <pluginManagement>
  639. <plugins>
  640. <plugin>
  641. <groupId>org.eclipse.m2e</groupId>
  642. <artifactId>lifecycle-mapping</artifactId>
  643. <version>1.0.0</version>
  644. <configuration>
  645. <lifecycleMappingMetadata>
  646. <pluginExecutions>
  647. <pluginExecution>
  648. <pluginExecutionFilter>
  649. <groupId>
  650. org.codehaus.mojo
  651. </groupId>
  652. <artifactId>
  653. buildnumber-maven-plugin
  654. </artifactId>
  655. <versionRange>
  656. [1.3,)
  657. </versionRange>
  658. <goals>
  659. <goal>
  660. create-timestamp
  661. </goal>
  662. </goals>
  663. </pluginExecutionFilter>
  664. <action>
  665. <ignore></ignore>
  666. </action>
  667. </pluginExecution>
  668. </pluginExecutions>
  669. </lifecycleMappingMetadata>
  670. </configuration>
  671. </plugin>
  672. </plugins>
  673. </pluginManagement>
  674. </build>
  675. <distributionManagement>
  676. <!-- 发布release仓库 -->
  677. <repository>
  678. <id>platform-release</id>
  679. <name>platform-release</name>
  680. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  681. </repository>
  682. <!-- 发布快照版本 -->
  683. <snapshotRepository>
  684. <id>platform-snapshots</id>
  685. <name>platform-snapshots</name>
  686. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  687. </snapshotRepository>
  688. </distributionManagement>
  689. </project>