pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.ywt</groupId>
  6. <artifactId>his-open-api</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>his-open-api</name>
  10. <description>HIS OPEN API</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.7.6</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <!-- maven 私服 start -->
  18. <repositories>
  19. <repository>
  20. <id>nexus</id>
  21. <name>Team Nexus Repository</name>
  22. <url>http://nexus.ywtinfo.com/repository/maven-public/</url>
  23. </repository>
  24. </repositories>
  25. <pluginRepositories>
  26. <pluginRepository>
  27. <id>nexus</id>
  28. <name>Team Nexus Repository</name>
  29. <url>http://nexus.ywtinfo.com/repository/maven-public/</url>
  30. </pluginRepository>
  31. </pluginRepositories>
  32. <!-- end maven 私服 -->
  33. <properties>
  34. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  35. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  36. <java.version>1.8</java.version>
  37. </properties>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-web</artifactId>
  42. <exclusions>
  43. <exclusion>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-tomcat</artifactId>
  46. </exclusion>
  47. <exclusion>
  48. <artifactId>log4j-to-slf4j</artifactId>
  49. <groupId>org.apache.logging.log4j</groupId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-jetty</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework</groupId>
  59. <artifactId>spring-jdbc</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.httpcomponents</groupId>
  63. <artifactId>httpclient</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.google.guava</groupId>
  67. <artifactId>guava</artifactId>
  68. <version>20.0</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>io.grpc</groupId>
  76. <artifactId>grpc-netty</artifactId>
  77. <version>1.7.0</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.grpc</groupId>
  81. <artifactId>grpc-protobuf</artifactId>
  82. <version>1.7.0</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.grpc</groupId>
  86. <artifactId>grpc-stub</artifactId>
  87. <version>1.7.0</version>
  88. </dependency>
  89. <!-- https://mvnrepository.com/artifact/net.sf.barcode4j/barcode4j-light -->
  90. <dependency>
  91. <groupId>net.sf.barcode4j</groupId>
  92. <artifactId>barcode4j-light</artifactId>
  93. <version>2.0</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>ywt</groupId>
  97. <artifactId>ywt-rpc-core</artifactId>
  98. <version>1.0-SNAPSHOT</version>
  99. </dependency>
  100. <!-- qrCode生成器 -->
  101. <!-- https://mvnrepository.com/artifact/net.glxn.qrgen/javase -->
  102. <dependency>
  103. <groupId>net.glxn.qrgen</groupId>
  104. <artifactId>javase</artifactId>
  105. <version>2.0</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.auth0</groupId>
  109. <artifactId>java-jwt</artifactId>
  110. <version>3.18.3</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.google.protobuf</groupId>
  114. <artifactId>protobuf-java</artifactId>
  115. <version>3.19.6</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.dubbo</groupId>
  119. <artifactId>dubbo-spring-boot-starter</artifactId>
  120. <version>3.2.7</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.ywt</groupId>
  124. <artifactId>ywt-biz-common</artifactId>
  125. <version>1.0.0-SNAPSHOT</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.dubbo</groupId>
  129. <artifactId>dubbo-spring-boot-starter</artifactId>
  130. <version>3.2.7</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.dubbo</groupId>
  134. <artifactId>dubbo-registry-nacos</artifactId>
  135. <version>3.2.7</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.alibaba.nacos</groupId>
  139. <artifactId>nacos-client</artifactId>
  140. <version>2.2.1</version>
  141. </dependency>
  142. </dependencies>
  143. <profiles>
  144. <profile>
  145. <id>dev</id>
  146. <activation>
  147. <activeByDefault>true</activeByDefault>
  148. </activation>
  149. <properties>
  150. <active.profile>dev</active.profile>
  151. </properties>
  152. </profile>
  153. <profile>
  154. <id>test</id>
  155. <properties>
  156. <active.profile>test</active.profile>
  157. </properties>
  158. </profile>
  159. <profile>
  160. <id>product</id>
  161. <properties>
  162. <active.profile>product</active.profile>
  163. </properties>
  164. </profile>
  165. <profile>
  166. <id>preproduct</id>
  167. <properties>
  168. <active.profile>preproduct</active.profile>
  169. </properties>
  170. </profile>
  171. </profiles>
  172. <build>
  173. <filters>
  174. <filter>config_filters/filters-${active.profile}.properties</filter>
  175. </filters>
  176. <resources>
  177. <resource>
  178. <directory>src/main/resources</directory>
  179. <filtering>true</filtering>
  180. </resource>
  181. </resources>
  182. <plugins>
  183. <plugin>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-maven-plugin</artifactId>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-compiler-plugin</artifactId>
  190. <version>3.2</version>
  191. <configuration>
  192. <source>1.8</source>
  193. <target>1.8</target>
  194. <encoding>UTF-8</encoding>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>