pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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>message</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.message</groupId>
  12. <artifactId>message-service</artifactId>
  13. <properties>
  14. <maven.compiler.source>17</maven.compiler.source>
  15. <maven.compiler.target>17</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.reghao.tnb</groupId>
  20. <artifactId>common</artifactId>
  21. <version>1.0.0-SNAPSHOT</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>cn.reghao.tnb.message</groupId>
  25. <artifactId>message-api</artifactId>
  26. <version>1.0.0-SNAPSHOT</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>cn.reghao.tnb.account</groupId>
  30. <artifactId>account-api</artifactId>
  31. <version>1.0.0-SNAPSHOT</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-web</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.mysql</groupId>
  44. <artifactId>mysql-connector-j</artifactId>
  45. <version>8.0.31</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.zaxxer</groupId>
  49. <artifactId>HikariCP</artifactId>
  50. <version>3.3.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.mybatis.spring.boot</groupId>
  54. <artifactId>mybatis-spring-boot-starter</artifactId>
  55. <version>3.0.4</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.sun.mail</groupId>
  59. <artifactId>javax.mail</artifactId>
  60. <version>1.6.2</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-websocket</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-data-redis</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-amqp</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.amqp</groupId>
  76. <artifactId>spring-rabbit</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.cloud</groupId>
  80. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  81. </dependency>
  82. <!--<dependency>
  83. <groupId>org.springframework.cloud</groupId>
  84. <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
  85. <version>2.2.10.RELEASE</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.cloud</groupId>
  89. <artifactId>spring-cloud-starter-netflix-turbine</artifactId>
  90. <version>2.2.10.RELEASE</version>
  91. </dependency>-->
  92. <dependency>
  93. <groupId>org.dom4j</groupId>
  94. <artifactId>dom4j</artifactId>
  95. <version>2.1.1</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.thoughtworks.xstream</groupId>
  99. <artifactId>xstream</artifactId>
  100. <version>1.4.9</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>net.sf.json-lib</groupId>
  104. <artifactId>json-lib</artifactId>
  105. <version>2.4</version>
  106. <classifier>jdk15</classifier>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springdoc</groupId>
  110. <artifactId>springdoc-openapi-ui</artifactId>
  111. <version>1.7.0</version>
  112. </dependency>
  113. </dependencies>
  114. <profiles>
  115. <profile>
  116. <id>dev</id>
  117. <properties>
  118. <profile.active>dev</profile.active>
  119. </properties>
  120. <activation>
  121. <activeByDefault>true</activeByDefault>
  122. </activation>
  123. </profile>
  124. <profile>
  125. <id>test</id>
  126. <properties>
  127. <profile.active>test</profile.active>
  128. </properties>
  129. </profile>
  130. <profile>
  131. <id>cluster</id>
  132. <properties>
  133. <profile.active>cluster</profile.active>
  134. </properties>
  135. </profile>
  136. </profiles>
  137. <build>
  138. <finalName>tnb-message</finalName>
  139. <extensions>
  140. <extension>
  141. <groupId>kr.motd.maven</groupId>
  142. <artifactId>os-maven-plugin</artifactId>
  143. <version>1.5.0.Final</version>
  144. </extension>
  145. </extensions>
  146. <resources>
  147. <resource>
  148. <directory>src/main/resources</directory>
  149. <filtering>true</filtering>
  150. <includes>
  151. <include>application.yml</include>
  152. <include>application-${profile.active}.yml</include>
  153. <include>mapper/**</include>
  154. <include>*.xml</include>
  155. </includes>
  156. </resource>
  157. </resources>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-compiler-plugin</artifactId>
  162. <version>3.11.0</version>
  163. <configuration>
  164. <compilerArgs>
  165. <arg>-parameters</arg>
  166. </compilerArgs>
  167. </configuration>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-maven-plugin</artifactId>
  172. <version>${springboot.version}</version>
  173. <executions>
  174. <execution>
  175. <goals>
  176. <goal>repackage</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. </project>