pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>mall</artifactId>
  7. <groupId>cn.reghao.tnb</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>cn.reghao.tnb.mall</groupId>
  12. <artifactId>mall-service</artifactId>
  13. <properties>
  14. <maven.compiler.source>11</maven.compiler.source>
  15. <maven.compiler.target>11</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.reghao.tnb.mall</groupId>
  20. <artifactId>mall-api</artifactId>
  21. <version>1.0.0-SNAPSHOT</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>cn.reghao.jutil</groupId>
  25. <artifactId>web</artifactId>
  26. <version>1.0.0-SNAPSHOT</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>cn.reghao.tnb</groupId>
  30. <artifactId>common</artifactId>
  31. <version>1.0.0-SNAPSHOT</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>cn.reghao.tnb.account</groupId>
  35. <artifactId>account-api</artifactId>
  36. <version>1.0.0-SNAPSHOT</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.reghao.tnb.user</groupId>
  40. <artifactId>user-api</artifactId>
  41. <version>1.0.0-SNAPSHOT</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.reghao.tnb.file</groupId>
  45. <artifactId>file-api</artifactId>
  46. <version>1.0.0-SNAPSHOT</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.dom4j</groupId>
  50. <artifactId>dom4j</artifactId>
  51. <version>2.1.1</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>mysql</groupId>
  55. <artifactId>mysql-connector-java</artifactId>
  56. <version>8.0.17</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.zaxxer</groupId>
  60. <artifactId>HikariCP</artifactId>
  61. <version>3.3.1</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.mybatis.spring.boot</groupId>
  65. <artifactId>mybatis-spring-boot-starter</artifactId>
  66. <version>2.1.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.aspectj</groupId>
  70. <artifactId>aspectjweaver</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.shardingsphere</groupId>
  74. <artifactId>sharding-jdbc-spring-boot-starter</artifactId>
  75. <version>4.1.1</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.shardingsphere</groupId>
  79. <artifactId>sharding-core-common</artifactId>
  80. <version>4.1.1</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.dubbo</groupId>
  84. <artifactId>dubbo-spring-boot-starter</artifactId>
  85. <version>2.7.8</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>org.apache.zookeeper</groupId>
  93. <artifactId>zookeeper</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.zookeeper</groupId>
  99. <artifactId>zookeeper</artifactId>
  100. <version>3.4.6</version>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>org.slf4j</groupId>
  104. <artifactId>slf4j-log4j12</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-data-redis</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>io.springfox</groupId>
  114. <artifactId>springfox-swagger2</artifactId>
  115. <version>2.9.2</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.springfox</groupId>
  119. <artifactId>springfox-swagger-ui</artifactId>
  120. <version>2.9.2</version>
  121. </dependency>
  122. </dependencies>
  123. <profiles>
  124. <profile>
  125. <id>dev</id>
  126. <properties>
  127. <profile.active>dev</profile.active>
  128. </properties>
  129. <activation>
  130. <activeByDefault>true</activeByDefault>
  131. </activation>
  132. </profile>
  133. <profile>
  134. <id>test</id>
  135. <properties>
  136. <profile.active>test</profile.active>
  137. </properties>
  138. </profile>
  139. <profile>
  140. <id>prod</id>
  141. <properties>
  142. <profile.active>prod</profile.active>
  143. </properties>
  144. </profile>
  145. <profile>
  146. <id>cluster</id>
  147. <properties>
  148. <profile.active>cluster</profile.active>
  149. </properties>
  150. </profile>
  151. </profiles>
  152. <build>
  153. <finalName>tnb-mall</finalName>
  154. <extensions>
  155. <extension>
  156. <groupId>kr.motd.maven</groupId>
  157. <artifactId>os-maven-plugin</artifactId>
  158. <version>1.5.0.Final</version>
  159. </extension>
  160. </extensions>
  161. <resources>
  162. <resource>
  163. <directory>src/main/resources</directory>
  164. <filtering>true</filtering>
  165. <includes>
  166. <include>application.yml</include>
  167. <include>application-${profile.active}.yml</include>
  168. <include>mapper/**</include>
  169. <include>*.xml</include>
  170. </includes>
  171. </resource>
  172. </resources>
  173. <plugins>
  174. <plugin>
  175. <groupId>org.springframework.boot</groupId>
  176. <artifactId>spring-boot-maven-plugin</artifactId>
  177. <configuration>
  178. <executable>true</executable>
  179. <fork>true</fork>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. </project>