pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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>account</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.account</groupId>
  12. <artifactId>account-service</artifactId>
  13. <properties>
  14. <java.version>11</java.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>cn.reghao.jutil</groupId>
  19. <artifactId>web</artifactId>
  20. <version>1.0.0-SNAPSHOT</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>cn.reghao.tnb.account</groupId>
  24. <artifactId>account-api</artifactId>
  25. <version>1.0.0-SNAPSHOT</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.reghao.tnb.message</groupId>
  29. <artifactId>message-api</artifactId>
  30. <version>1.0.0-SNAPSHOT</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-security</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.security</groupId>
  42. <artifactId>spring-security-jwt</artifactId>
  43. <version>1.1.1.RELEASE</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.security.oauth</groupId>
  47. <artifactId>spring-security-oauth2</artifactId>
  48. <version>2.5.0.RELEASE</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>javax.xml.bind</groupId>
  52. <artifactId>jaxb-api</artifactId>
  53. <version>2.3.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.sun.xml.bind</groupId>
  57. <artifactId>jaxb-impl</artifactId>
  58. <version>2.3.0</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.sun.xml.bind</groupId>
  62. <artifactId>jaxb-core</artifactId>
  63. <version>2.3.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>javax.activation</groupId>
  67. <artifactId>activation</artifactId>
  68. <version>1.1.1</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-data-redis</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.session</groupId>
  76. <artifactId>spring-session-data-redis</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-cache</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>mysql</groupId>
  84. <artifactId>mysql-connector-java</artifactId>
  85. <version>8.0.17</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.zaxxer</groupId>
  89. <artifactId>HikariCP</artifactId>
  90. <version>3.3.1</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.mybatis.spring.boot</groupId>
  94. <artifactId>mybatis-spring-boot-starter</artifactId>
  95. <version>2.1.1</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.dubbo</groupId>
  99. <artifactId>dubbo-spring-boot-starter</artifactId>
  100. <version>2.7.8</version>
  101. </dependency>
  102. <!--<dependency>
  103. <groupId>org.apache.curator</groupId>
  104. <artifactId>curator-recipes</artifactId>
  105. <version>2.12.0</version>
  106. </dependency>-->
  107. <dependency>
  108. <groupId>org.springframework.cloud</groupId>
  109. <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
  110. <exclusions>
  111. <exclusion>
  112. <groupId>org.apache.zookeeper</groupId>
  113. <artifactId>zookeeper</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.zookeeper</groupId>
  119. <artifactId>zookeeper</artifactId>
  120. <version>3.4.8</version>
  121. <exclusions>
  122. <exclusion>
  123. <groupId>org.slf4j</groupId>
  124. <artifactId>slf4j-log4j12</artifactId>
  125. </exclusion>
  126. </exclusions>
  127. </dependency>
  128. <dependency>
  129. <groupId>io.springfox</groupId>
  130. <artifactId>springfox-swagger2</artifactId>
  131. <version>2.9.2</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>io.springfox</groupId>
  135. <artifactId>springfox-swagger-ui</artifactId>
  136. <version>2.9.2</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.boot</groupId>
  140. <artifactId>spring-boot-starter-freemarker</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-starter-amqp</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.springframework.amqp</groupId>
  148. <artifactId>spring-rabbit</artifactId>
  149. </dependency>
  150. </dependencies>
  151. <profiles>
  152. <profile>
  153. <id>dev</id>
  154. <properties>
  155. <profile.active>dev</profile.active>
  156. </properties>
  157. <activation>
  158. <activeByDefault>true</activeByDefault>
  159. </activation>
  160. </profile>
  161. <profile>
  162. <id>test</id>
  163. <properties>
  164. <profile.active>test</profile.active>
  165. </properties>
  166. </profile>
  167. <profile>
  168. <id>prod</id>
  169. <properties>
  170. <profile.active>prod</profile.active>
  171. </properties>
  172. </profile>
  173. <profile>
  174. <id>cluster</id>
  175. <properties>
  176. <profile.active>cluster</profile.active>
  177. </properties>
  178. </profile>
  179. </profiles>
  180. <build>
  181. <finalName>tnb-account</finalName>
  182. <extensions>
  183. <extension>
  184. <groupId>kr.motd.maven</groupId>
  185. <artifactId>os-maven-plugin</artifactId>
  186. <version>1.5.0.Final</version>
  187. </extension>
  188. </extensions>
  189. <resources>
  190. <resource>
  191. <directory>src/main/resources</directory>
  192. <filtering>true</filtering>
  193. <includes>
  194. <include>application.yml</include>
  195. <include>application-${profile.active}.yml</include>
  196. <include>mapper/**</include>
  197. <include>*.xml</include>
  198. <include>static/**</include>
  199. <include>templates/**</include>
  200. <include>menu*.json</include>
  201. </includes>
  202. </resource>
  203. </resources>
  204. <plugins>
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-resources-plugin</artifactId>
  208. <version>2.4.3</version>
  209. <configuration>
  210. <!-- 让 maven 不处理字体 -->
  211. <nonFilteredFileExtensions>
  212. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  213. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  214. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  215. </nonFilteredFileExtensions>
  216. </configuration>
  217. </plugin>
  218. <plugin>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-maven-plugin</artifactId>
  221. <version>2.3.9.RELEASE</version>
  222. <configuration>
  223. <executable>true</executable>
  224. <fork>true</fork>
  225. </configuration>
  226. </plugin>
  227. </plugins>
  228. </build>
  229. </project>