pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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-sdk</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-base</artifactId>
  21. <!-- <version>${service.version}</version>-->
  22. </dependency>
  23. <dependency>
  24. <groupId>com.ywt</groupId>
  25. <artifactId>ywt-platform-outpatient-common</artifactId>
  26. <version>${service.version}</version>
  27. </dependency>
  28. <!-- 自动装配dubbo-->
  29. <dependency>
  30. <groupId>org.apache.dubbo</groupId>
  31. <artifactId>dubbo-spring-boot-starter</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.dubbo</groupId>
  35. <artifactId>dubbo-registry-nacos</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.google.protobuf</groupId>
  43. <artifactId>protobuf-java</artifactId>
  44. <version>${protobuf.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.google.protobuf</groupId>
  48. <artifactId>protobuf-java-util</artifactId>
  49. <version>${protobuf.version}</version>
  50. <!-- <version>3.19.6</version>-->
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.slf4j</groupId>
  59. <artifactId>slf4j-api</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>ch.qos.logback</groupId>
  63. <artifactId>logback-classic</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-data-jpa</artifactId>
  68. <exclusions>
  69. <exclusion>
  70. <groupId>org.slf4j</groupId>
  71. <artifactId>jcl-over-slf4j</artifactId>
  72. </exclusion>
  73. <exclusion>
  74. <groupId>org.slf4j</groupId>
  75. <artifactId>jul-to-slf4j</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-web</artifactId>
  82. <exclusions>
  83. <exclusion>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-tomcat</artifactId>
  86. </exclusion>
  87. </exclusions>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-jetty</artifactId>
  92. </dependency>
  93. <!-- <dependency>-->
  94. <!-- <groupId>org.springframework.boot</groupId>-->
  95. <!-- <artifactId>spring-boot-starter-redis</artifactId>-->
  96. <!-- </dependency>-->
  97. <dependency>
  98. <groupId>org.springframework</groupId>
  99. <artifactId>spring-jdbc</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.httpcomponents</groupId>
  103. <artifactId>httpclient</artifactId>
  104. </dependency>
  105. <!-- <dependency>-->
  106. <!-- <groupId>com.google.guava</groupId>-->
  107. <!-- <artifactId>guava</artifactId>-->
  108. <!-- <version>${guava.version}</version>-->
  109. <!-- </dependency>-->
  110. <dependency>
  111. <groupId>mysql</groupId>
  112. <artifactId>mysql-connector-java</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>io.grpc</groupId>
  116. <artifactId>grpc-netty</artifactId>
  117. <!-- <version>1.7.0</version>-->
  118. </dependency>
  119. <dependency>
  120. <groupId>io.grpc</groupId>
  121. <artifactId>grpc-protobuf</artifactId>
  122. <!-- <version>1.7.0</version>-->
  123. </dependency>
  124. <dependency>
  125. <groupId>io.grpc</groupId>
  126. <artifactId>grpc-stub</artifactId>
  127. <!-- <version>1.7.0</version>-->
  128. </dependency>
  129. <!-- 引入swagger包 -->
  130. <dependency>
  131. <groupId>io.springfox</groupId>
  132. <artifactId>springfox-swagger2</artifactId>
  133. <!-- <version>2.2.2</version>-->
  134. </dependency>
  135. <dependency>
  136. <groupId>io.springfox</groupId>
  137. <artifactId>springfox-swagger-ui</artifactId>
  138. <!-- <version>2.2.2</version>-->
  139. </dependency>
  140. </dependencies>
  141. <profiles>
  142. <profile>
  143. <id>dev</id>
  144. <activation>
  145. <activeByDefault>true</activeByDefault>
  146. </activation>
  147. <properties>
  148. <active.profile>dev</active.profile>
  149. </properties>
  150. </profile>
  151. <profile>
  152. <id>test</id>
  153. <properties>
  154. <active.profile>test</active.profile>
  155. </properties>
  156. </profile>
  157. <profile>
  158. <id>product</id>
  159. <properties>
  160. <active.profile>product</active.profile>
  161. </properties>
  162. </profile>
  163. <profile>
  164. <id>preproduct</id>
  165. <properties>
  166. <active.profile>preproduct</active.profile>
  167. </properties>
  168. </profile>
  169. </profiles>
  170. <build>
  171. <filters>
  172. <filter>config_fillters/filters-${active.profile}.properties</filter>
  173. </filters>
  174. <resources>
  175. <resource>
  176. <directory>src/main/resources</directory>
  177. <filtering>true</filtering>
  178. </resource>
  179. </resources>
  180. <plugins>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-compiler-plugin</artifactId>
  184. <!-- <version>3.2</version>-->
  185. <configuration>
  186. <source>1.8</source>
  187. <target>1.8</target>
  188. <encoding>utf-8</encoding>
  189. </configuration>
  190. </plugin>
  191. <plugin>
  192. <groupId>org.springframework.boot</groupId>
  193. <artifactId>spring-boot-maven-plugin</artifactId>
  194. </plugin>
  195. </plugins>
  196. </build>
  197. </project>