pom.xml 5.4 KB

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