pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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.0.5.RELEASE</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. </dependencies>
  113. <profiles>
  114. <profile>
  115. <id>dev</id>
  116. <activation>
  117. <activeByDefault>true</activeByDefault>
  118. </activation>
  119. <properties>
  120. <active.profile>dev</active.profile>
  121. </properties>
  122. </profile>
  123. <profile>
  124. <id>test</id>
  125. <properties>
  126. <active.profile>test</active.profile>
  127. </properties>
  128. </profile>
  129. <profile>
  130. <id>product</id>
  131. <properties>
  132. <active.profile>product</active.profile>
  133. </properties>
  134. </profile>
  135. <profile>
  136. <id>preproduct</id>
  137. <properties>
  138. <active.profile>preproduct</active.profile>
  139. </properties>
  140. </profile>
  141. </profiles>
  142. <build>
  143. <filters>
  144. <filter>config_filters/filters-${active.profile}.properties</filter>
  145. </filters>
  146. <resources>
  147. <resource>
  148. <directory>src/main/resources</directory>
  149. <filtering>true</filtering>
  150. </resource>
  151. </resources>
  152. <plugins>
  153. <plugin>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-maven-plugin</artifactId>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-compiler-plugin</artifactId>
  160. <version>3.2</version>
  161. <configuration>
  162. <source>1.8</source>
  163. <target>1.8</target>
  164. <encoding>UTF-8</encoding>
  165. </configuration>
  166. </plugin>
  167. </plugins>
  168. </build>
  169. </project>