pom.xml 6.2 KB

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