pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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>content</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.content</groupId>
  12. <artifactId>content-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</groupId>
  20. <artifactId>log</artifactId>
  21. <version>1.0.0-SNAPSHOT</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>cn.reghao.tnb.content</groupId>
  25. <artifactId>content-api</artifactId>
  26. <version>1.0.0-SNAPSHOT</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>cn.reghao.tnb.message</groupId>
  30. <artifactId>message-api</artifactId>
  31. <version>1.0.0-SNAPSHOT</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>cn.reghao.tnb.search</groupId>
  35. <artifactId>search-api</artifactId>
  36. <version>1.0.0-SNAPSHOT</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>cn.reghao.tnb.file</groupId>
  40. <artifactId>file-api</artifactId>
  41. <version>1.0.0-SNAPSHOT</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>cn.reghao.jutil</groupId>
  45. <artifactId>web</artifactId>
  46. <version>1.0.0-SNAPSHOT</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>cn.reghao.tnb</groupId>
  50. <artifactId>common</artifactId>
  51. <version>1.0.0-SNAPSHOT</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>cn.reghao.tnb.account</groupId>
  55. <artifactId>account-api</artifactId>
  56. <version>1.0.0-SNAPSHOT</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>cn.reghao.tnb.user</groupId>
  60. <artifactId>user-api</artifactId>
  61. <version>1.0.0-SNAPSHOT</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.dom4j</groupId>
  65. <artifactId>dom4j</artifactId>
  66. <version>2.1.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. <version>8.0.17</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.zaxxer</groupId>
  75. <artifactId>HikariCP</artifactId>
  76. <version>3.3.1</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.mybatis.spring.boot</groupId>
  80. <artifactId>mybatis-spring-boot-starter</artifactId>
  81. <version>2.1.1</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.shardingsphere</groupId>
  85. <artifactId>sharding-jdbc-spring-boot-starter</artifactId>
  86. <version>4.1.1</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.shardingsphere</groupId>
  90. <artifactId>sharding-core-common</artifactId>
  91. <version>4.1.1</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-amqp</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.amqp</groupId>
  103. <artifactId>spring-rabbit</artifactId>
  104. </dependency>
  105. <!--<dependency>
  106. <groupId>org.springframework.cloud</groupId>
  107. <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
  108. <exclusions>
  109. <exclusion>
  110. <groupId>org.apache.zookeeper</groupId>
  111. <artifactId>zookeeper</artifactId>
  112. </exclusion>
  113. </exclusions>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.zookeeper</groupId>
  117. <artifactId>zookeeper</artifactId>
  118. <version>3.7.2</version>
  119. <exclusions>
  120. <exclusion>
  121. <groupId>org.slf4j</groupId>
  122. <artifactId>slf4j-log4j12</artifactId>
  123. </exclusion>
  124. </exclusions>
  125. </dependency>-->
  126. <dependency>
  127. <groupId>org.springframework.cloud</groupId>
  128. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  129. </dependency>
  130. <!--<dependency>
  131. <groupId>org.springframework.cloud</groupId>
  132. <artifactId>spring-cloud-starter-zookeeper-config</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.cloud</groupId>
  136. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  137. </dependency>-->
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-data-redis</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.jsoup</groupId>
  144. <artifactId>jsoup</artifactId>
  145. <version>1.12.1</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>junit</groupId>
  149. <artifactId>junit</artifactId>
  150. <version>4.12</version>
  151. <scope>test</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.mockito</groupId>
  155. <artifactId>mockito-core</artifactId>
  156. <version>3.7.7</version>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springdoc</groupId>
  161. <artifactId>springdoc-openapi-ui</artifactId>
  162. <version>1.7.0</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-starter-actuator</artifactId>
  167. </dependency>
  168. <dependency>
  169. <groupId>io.micrometer</groupId>
  170. <artifactId>micrometer-core</artifactId>
  171. </dependency>
  172. <dependency>
  173. <groupId>io.micrometer</groupId>
  174. <artifactId>micrometer-registry-prometheus</artifactId>
  175. </dependency>
  176. </dependencies>
  177. <profiles>
  178. <profile>
  179. <id>dev</id>
  180. <properties>
  181. <profile.active>dev</profile.active>
  182. </properties>
  183. <activation>
  184. <activeByDefault>true</activeByDefault>
  185. </activation>
  186. </profile>
  187. <profile>
  188. <id>test</id>
  189. <properties>
  190. <profile.active>test</profile.active>
  191. </properties>
  192. </profile>
  193. <profile>
  194. <id>cluster</id>
  195. <properties>
  196. <profile.active>cluster</profile.active>
  197. </properties>
  198. </profile>
  199. </profiles>
  200. <build>
  201. <finalName>tnb-content</finalName>
  202. <extensions>
  203. <extension>
  204. <groupId>kr.motd.maven</groupId>
  205. <artifactId>os-maven-plugin</artifactId>
  206. <version>1.5.0.Final</version>
  207. </extension>
  208. </extensions>
  209. <resources>
  210. <resource>
  211. <directory>src/main/resources</directory>
  212. <filtering>true</filtering>
  213. <includes>
  214. <!--<include>bootstrap.yml</include>-->
  215. <include>application.yml</include>
  216. <include>application-${profile.active}.yml</include>
  217. <include>mapper/**</include>
  218. <include>*.xml</include>
  219. </includes>
  220. </resource>
  221. </resources>
  222. <plugins>
  223. <plugin>
  224. <groupId>org.springframework.boot</groupId>
  225. <artifactId>spring-boot-maven-plugin</artifactId>
  226. <version>${springboot.version}</version>
  227. <executions>
  228. <execution>
  229. <goals>
  230. <goal>repackage</goal>
  231. </goals>
  232. </execution>
  233. </executions>
  234. </plugin>
  235. </plugins>
  236. </build>
  237. </project>