pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.hcloud.microserver</groupId>
  6. <artifactId>common-parent</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>common-parent</name>
  10. <description>project-parent</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.18.RELEASE</version>
  15. <relativePath/>
  16. </parent>
  17. <properties>
  18. <spring.cloud.version>Edgware.SR5</spring.cloud.version>
  19. <common.core.version>0.0.1-SNAPSHOT</common.core.version>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  23. <sys.managerclient.version>0.0.1-SNAPSHOT</sys.managerclient.version>
  24. <problem.managerclient.version>0.0.1-SNAPSHOT</problem.managerclient.version>
  25. <org.managerclient.version>0.0.1-SNAPSHOT</org.managerclient.version>
  26. <org.storeclient.version>0.0.1-SNAPSHOT</org.storeclient.version>
  27. <goods.managerclient.version>0.0.1-SNAPSHOT</goods.managerclient.version>
  28. <goods.managerservice.version>0.0.1-SNAPSHOT</goods.managerservice.version>
  29. <store.managerclient.version>0.0.1-SNAPSHOT</store.managerclient.version>
  30. <store.manageservice.version>0.0.1-SNAPSHOT</store.manageservice.version>
  31. <carbon.managerclient.version>0.0.1-SNAPSHOT</carbon.managerclient.version>
  32. <carbon.manageservice.version>0.0.1-SNAPSHOT</carbon.manageservice.version>
  33. <traced.source.web.version>0.0.1-SNAPSHOT</traced.source.web.version>
  34. <store.smart.web.version>0.0.1-SNAPSHOT</store.smart.web.version>
  35. <swagger.version>2.6.1</swagger.version>
  36. <java.version>1.8</java.version>
  37. <shiro.version>1.4.0</shiro.version>
  38. <supply-chain-sys-service.version>0.0.1-SNAPSHOT</supply-chain-sys-service.version>
  39. <supply-chain-sys-client.version>0.0.1-SNAPSHOT</supply-chain-sys-client.version>
  40. <supply.chain.base.client.version>0.0.1-SNAPSHOT</supply.chain.base.client.version>
  41. <supply.chain.base.service.version>0.0.1-SNAPSHOT</supply.chain.base.service.version>
  42. <supply.chain.order.client.version>0.0.1-SNAPSHOT</supply.chain.order.client.version>
  43. <supply.chain.order.service.version>0.0.1-SNAPSHOT</supply.chain.order.service.version>
  44. <supply.chain.web.version>0.0.1-SNAPSHOT</supply.chain.web.version>
  45. <group.meal.sys.service.version>0.0.1-SNAPSHOT</group.meal.sys.service.version>
  46. <group.meal.sys.client.version>0.0.1-SNAPSHOT</group.meal.sys.client.version>
  47. <group.meal.base.client.version>0.0.1-SNAPSHOT</group.meal.base.client.version>
  48. <group.meal.base.service.version>0.0.1-SNAPSHOT</group.meal.base.service.version>
  49. <group.meal.order.client.version>0.0.1-SNAPSHOT</group.meal.order.client.version>
  50. <group.meal.order.service.version>0.0.1-SNAPSHOT</group.meal.order.service.version>
  51. <group.meal.web.version>0.0.1-SNAPSHOT</group.meal.web.version>
  52. <!-- docker 配置 -->
  53. <docker.version>1</docker.version>
  54. <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
  55. </properties>
  56. <profiles>
  57. <profile>
  58. <id>dev</id>
  59. <!--默认激活当前配置-->
  60. <activation>
  61. <activeByDefault>true</activeByDefault>
  62. </activation>
  63. <properties>
  64. <profiles.active>dev</profiles.active>
  65. <!-- Docker 配置 -->
  66. <docker.dockerHost>http://172.16.90.199:2376</docker.dockerHost>
  67. <docker.serviceId>DockerHub</docker.serviceId>
  68. <docker.sslpath></docker.sslpath>
  69. <docker.image.version>1.0.0</docker.image.version>
  70. </properties>
  71. </profile>
  72. <profile>
  73. <id>pro</id>
  74. <properties>
  75. <profiles.active>pro</profiles.active>
  76. <!-- Docker 配置 -->
  77. <docker.dockerHost>http://172.16.90.199:2376</docker.dockerHost>
  78. <docker.serviceId>DockerHub</docker.serviceId>
  79. <!-- <docker.sslpath>../doc/ssl/pro</docker.sslpath> -->
  80. <docker.sslpath></docker.sslpath>
  81. <docker.image.version>${maven.build.timestamp}.${docker.version}</docker.image.version>
  82. </properties>
  83. </profile>
  84. </profiles>
  85. <dependencyManagement>
  86. <dependencies>
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-dependencies</artifactId>
  90. <version>${spring.cloud.version}</version>
  91. <type>pom</type>
  92. <scope>import</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter</artifactId>
  97. <version>1.5.18.RELEASE</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-web</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>fastjson</artifactId>
  106. <version>1.2.58</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>net.sf.dozer</groupId>
  110. <artifactId>dozer</artifactId>
  111. <version>5.5.1</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.google.collections</groupId>
  115. <artifactId>google-collections</artifactId>
  116. <version>1.0</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework.cloud</groupId>
  120. <artifactId>spring-cloud-starter-eureka</artifactId>
  121. <version>LATEST</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.mybatis</groupId>
  125. <artifactId>mybatis</artifactId>
  126. <version>3.4.5</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.mybatis.spring.boot</groupId>
  130. <artifactId>mybatis-spring-boot-starter</artifactId>
  131. <version>1.3.1</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-data-redis</artifactId>
  136. <version>1.5.18.RELEASE</version>
  137. </dependency>
  138. <!--druid -->
  139. <dependency>
  140. <groupId>com.alibaba</groupId>
  141. <artifactId>druid</artifactId>
  142. <version>1.1.9</version>
  143. </dependency>
  144. <!-- 分页支持pageHelper -->
  145. <dependency>
  146. <groupId>com.github.pagehelper</groupId>
  147. <artifactId>pagehelper-spring-boot-starter</artifactId>
  148. <version>1.2.5</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.commons</groupId>
  152. <artifactId>commons-lang3</artifactId>
  153. <version>3.6</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>commons-configuration</groupId>
  157. <artifactId>commons-configuration</artifactId>
  158. <version>1.10</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>commons-fileupload</groupId>
  162. <artifactId>commons-fileupload</artifactId>
  163. <version>1.3.1</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>commons-io</groupId>
  167. <artifactId>commons-io</artifactId>
  168. <version>2.5</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>mysql</groupId>
  172. <artifactId>mysql-connector-java</artifactId>
  173. <version>5.1.47</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>redis.clients</groupId>
  177. <artifactId>jedis</artifactId>
  178. <version>2.9.3</version>
  179. </dependency>
  180. </dependencies>
  181. </dependencyManagement>
  182. <dependencies>
  183. <!--swagger2-->
  184. <dependency>
  185. <groupId>io.springfox</groupId>
  186. <artifactId>springfox-swagger2</artifactId>
  187. <version>2.6.1</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>io.springfox</groupId>
  191. <artifactId>springfox-swagger-ui</artifactId>
  192. <version>2.6.1</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.projectlombok</groupId>
  196. <artifactId>lombok</artifactId>
  197. <version>1.16.18</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.springframework.boot</groupId>
  201. <artifactId>spring-boot-starter-test</artifactId>
  202. <scope>test</scope>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.springframework.boot</groupId>
  206. <artifactId>spring-boot-devtools</artifactId>
  207. <optional>true</optional>
  208. </dependency>
  209. </dependencies>
  210. <!-- 项目部署到私服配置 -->
  211. <distributionManagement> <!-- 远程部署管理信息 -->
  212. <repository> <!--部署项目产生的构件到远程仓库需要的信息 -->
  213. <id>nexus-thirdparty</id>
  214. <name>Nexus Release Repository</name>
  215. <url>http://192.168.1.58:8081/nexus/content/repositories/thirdparty/</url>
  216. </repository>
  217. <snapshotRepository> <!-- 如果没有配置该元素,默认部署到repository元素配置的仓库 -->
  218. <id>nexus-snapshots</id>
  219. <name>Nexus Snapshot Repository</name>
  220. <url>http://192.168.1.58:8081/nexus/content/repositories/snapshots/</url>
  221. </snapshotRepository>
  222. </distributionManagement>
  223. </project>