pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.ywt</groupId>
  8. <artifactId>ywt-platform-outpatient-parent</artifactId>
  9. <version>1.0.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>ywt-platform-outpatient-web</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.ywt</groupId>
  20. <artifactId>ywt-platform-outpatient-sdk</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.apache.dubbo</groupId>
  24. <artifactId>dubbo-spring-boot-starter</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.apache.dubbo</groupId>
  28. <artifactId>dubbo-registry-nacos</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-jetty</artifactId>
  37. </dependency>
  38. <!-- 自动装配dubbo-->
  39. <dependency>
  40. <groupId>org.apache.dubbo</groupId>
  41. <artifactId>dubbo-spring-boot-starter</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.dubbo</groupId>
  45. <artifactId>dubbo-registry-nacos</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.google.protobuf</groupId>
  53. <artifactId>protobuf-java</artifactId>
  54. <version>3.19.6</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.google.protobuf</groupId>
  58. <artifactId>protobuf-java-util</artifactId>
  59. <version>3.19.6</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.slf4j</groupId>
  63. <artifactId>slf4j-api</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>ch.qos.logback</groupId>
  67. <artifactId>logback-classic</artifactId>
  68. </dependency>
  69. <!-- &lt;!&ndash; 注册中心 &ndash;&gt; -->
  70. <dependency>
  71. <groupId>com.alibaba.cloud</groupId>
  72. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  73. <version>2021.0.5.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springframework.cloud</groupId>
  77. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  78. <version>2.2.10.RELEASE</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.cloud</groupId>
  82. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  83. <version>3.1.7</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.slf4j</groupId>
  87. <artifactId>slf4j-api</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>ch.qos.logback</groupId>
  91. <artifactId>logback-classic</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-data-redis</artifactId>
  96. <version>2.7.16</version>
  97. </dependency>
  98. <!-- jdbc 驱动引入-->
  99. <dependency>
  100. <groupId>mysql</groupId>
  101. <artifactId>mysql-connector-java</artifactId>
  102. </dependency>
  103. </dependencies>
  104. <profiles>
  105. <profile>
  106. <id>dev</id>
  107. <activation>
  108. <activeByDefault>true</activeByDefault>
  109. </activation>
  110. <properties>
  111. <active.profile>dev</active.profile>
  112. </properties>
  113. </profile>
  114. <profile>
  115. <id>test</id>
  116. <properties>
  117. <active.profile>test</active.profile>
  118. </properties>
  119. </profile>
  120. <profile>
  121. <id>product</id>
  122. <properties>
  123. <active.profile>product</active.profile>
  124. </properties>
  125. </profile>
  126. </profiles>
  127. <build>
  128. <filters>
  129. <filter>../config_filters/filters-${active.profile}.properties</filter>
  130. </filters>
  131. <resources>
  132. <resource>
  133. <directory>src/main/resources</directory>
  134. <filtering>true</filtering>
  135. </resource>
  136. </resources>
  137. <plugins>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-compiler-plugin</artifactId>
  141. <version>3.2</version>
  142. <configuration>
  143. <source>1.8</source>
  144. <target>1.8</target>
  145. <encoding>utf-8</encoding>
  146. </configuration>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-maven-plugin</artifactId>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. </project>