pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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>data</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.data</groupId>
  12. <artifactId>data-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.content</groupId>
  20. <artifactId>content-api</artifactId>
  21. <version>1.0.0-SNAPSHOT</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-webflux</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-test</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-r2dbc</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>mysql</groupId>
  41. <artifactId>mysql-connector-java</artifactId>
  42. <scope>runtime</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>dev.miku</groupId>
  46. <artifactId>r2dbc-mysql</artifactId>
  47. <version>0.8.2.RELEASE</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-amqp</artifactId>
  52. <version>2.0.3.RELEASE</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.projectreactor</groupId>
  60. <artifactId>reactor-core</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.projectreactor</groupId>
  64. <artifactId>reactor-tools</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.projectreactor</groupId>
  68. <artifactId>reactor-test</artifactId>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.cloud</groupId>
  73. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-security</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  82. </dependency>
  83. </dependencies>
  84. <profiles>
  85. <profile>
  86. <id>dev</id>
  87. <properties>
  88. <profile.active>dev</profile.active>
  89. </properties>
  90. <activation>
  91. <activeByDefault>true</activeByDefault>
  92. </activation>
  93. </profile>
  94. <profile>
  95. <id>test</id>
  96. <properties>
  97. <profile.active>test</profile.active>
  98. </properties>
  99. </profile>
  100. <profile>
  101. <id>cluster</id>
  102. <properties>
  103. <profile.active>cluster</profile.active>
  104. </properties>
  105. </profile>
  106. </profiles>
  107. <build>
  108. <finalName>tnb-data</finalName>
  109. <extensions>
  110. <extension>
  111. <groupId>kr.motd.maven</groupId>
  112. <artifactId>os-maven-plugin</artifactId>
  113. <version>1.5.0.Final</version>
  114. </extension>
  115. </extensions>
  116. <resources>
  117. <resource>
  118. <directory>src/main/resources</directory>
  119. <filtering>true</filtering>
  120. <includes>
  121. <include>application.yml</include>
  122. <include>application-${profile.active}.yml</include>
  123. <include>mapper/**</include>
  124. <include>*.xml</include>
  125. </includes>
  126. </resource>
  127. </resources>
  128. <plugins>
  129. <plugin>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-maven-plugin</artifactId>
  132. <version>${springboot.version}</version>
  133. <executions>
  134. <execution>
  135. <goals>
  136. <goal>repackage</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>