pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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>ywt-platform-outpatient-parent</artifactId>
  7. <groupId>com.ywt</groupId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ywt-platform-outpatient-taihe-rpc</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. <!-- xxl-job-core -->
  19. <dependency>
  20. <groupId>com.xuxueli</groupId>
  21. <artifactId>xxl-job-core</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-data-jpa</artifactId>
  26. <exclusions>
  27. <exclusion>
  28. <groupId>org.slf4j</groupId>
  29. <artifactId>jcl-over-slf4j</artifactId>
  30. </exclusion>
  31. <exclusion>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>jul-to-slf4j</artifactId>
  34. </exclusion>
  35. </exclusions>
  36. </dependency>
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-web</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-jetty</artifactId>
  48. </dependency>
  49. <!-- 自动装配dubbo-->
  50. <dependency>
  51. <groupId>org.apache.dubbo</groupId>
  52. <artifactId>dubbo-spring-boot-starter</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>com.alibaba.nacos</groupId>
  56. <artifactId>nacos-client</artifactId>
  57. </dependency>
  58. <!-- 注册中心 -->
  59. <dependency>
  60. <groupId>com.alibaba.cloud</groupId>
  61. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.cloud</groupId>
  65. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  66. <version>2.2.10.RELEASE</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.slf4j</groupId>
  70. <artifactId>jcl-over-slf4j</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>ch.qos.logback</groupId>
  74. <artifactId>logback-classic</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.google.protobuf</groupId>
  78. <artifactId>protobuf-java</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.ywt</groupId>
  82. <artifactId>ywt-biz-common</artifactId>
  83. </dependency>
  84. </dependencies>
  85. <profiles>
  86. <profile>
  87. <id>dev</id>
  88. <activation>
  89. <activeByDefault>true</activeByDefault>
  90. </activation>
  91. <properties>
  92. <active.profile>dev</active.profile>
  93. </properties>
  94. </profile>
  95. <profile>
  96. <id>test</id>
  97. <properties>
  98. <active.profile>test</active.profile>
  99. </properties>
  100. </profile>
  101. <profile>
  102. <id>product</id>
  103. <properties>
  104. <active.profile>product</active.profile>
  105. </properties>
  106. </profile>
  107. </profiles>
  108. <build>
  109. <filters>
  110. <filter>../config_filters/filters-${active.profile}.properties</filter>
  111. </filters>
  112. <resources>
  113. <resource>
  114. <directory>src/main/resources</directory>
  115. <filtering>true</filtering>
  116. </resource>
  117. </resources>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-compiler-plugin</artifactId>
  122. <version>3.2</version>
  123. <configuration>
  124. <source>1.8</source>
  125. <target>1.8</target>
  126. <encoding>utf-8</encoding>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-maven-plugin</artifactId>
  132. <executions>
  133. <execution>
  134. <goals>
  135. <goal>repackage</goal>
  136. </goals>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </project>