pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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.tnb</groupId>
  19. <artifactId>common</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.springframework.cloud</groupId>
  99. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springdoc</groupId>
  103. <artifactId>springdoc-openapi-ui</artifactId>
  104. <version>1.7.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-freemarker</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-amqp</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.amqp</groupId>
  116. <artifactId>spring-rabbit</artifactId>
  117. </dependency>
  118. </dependencies>
  119. <profiles>
  120. <profile>
  121. <id>dev</id>
  122. <properties>
  123. <profile.active>dev</profile.active>
  124. </properties>
  125. <activation>
  126. <activeByDefault>true</activeByDefault>
  127. </activation>
  128. </profile>
  129. <profile>
  130. <id>test</id>
  131. <properties>
  132. <profile.active>test</profile.active>
  133. </properties>
  134. </profile>
  135. <profile>
  136. <id>cluster</id>
  137. <properties>
  138. <profile.active>cluster</profile.active>
  139. </properties>
  140. </profile>
  141. </profiles>
  142. <build>
  143. <finalName>tnb-account</finalName>
  144. <extensions>
  145. <extension>
  146. <groupId>kr.motd.maven</groupId>
  147. <artifactId>os-maven-plugin</artifactId>
  148. <version>1.5.0.Final</version>
  149. </extension>
  150. </extensions>
  151. <resources>
  152. <resource>
  153. <directory>src/main/resources</directory>
  154. <filtering>true</filtering>
  155. <includes>
  156. <include>application.yml</include>
  157. <include>application-${profile.active}.yml</include>
  158. <include>mapper/**</include>
  159. <include>*.xml</include>
  160. <include>static/**</include>
  161. <include>templates/**</include>
  162. <include>menu*.json</include>
  163. </includes>
  164. </resource>
  165. </resources>
  166. <plugins>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-resources-plugin</artifactId>
  170. <version>2.4.3</version>
  171. <configuration>
  172. <!-- 让 maven 不处理字体 -->
  173. <nonFilteredFileExtensions>
  174. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  175. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  176. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  177. </nonFilteredFileExtensions>
  178. </configuration>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-maven-plugin</artifactId>
  183. <version>${springboot.version}</version>
  184. <executions>
  185. <execution>
  186. <goals>
  187. <goal>repackage</goal>
  188. </goals>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. </plugins>
  193. </build>
  194. </project>