pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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-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. <!-- base 引入-->
  19. <dependency>
  20. <groupId>com.ywt</groupId>
  21. <artifactId>ywt-platform-outpatient-sdk</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.kafka</groupId>
  25. <artifactId>spring-kafka</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. </dependencies>
  32. <profiles>
  33. <profile>
  34. <id>dev</id>
  35. <activation>
  36. <activeByDefault>true</activeByDefault>
  37. </activation>
  38. <properties>
  39. <active.profile>dev</active.profile>
  40. </properties>
  41. </profile>
  42. <profile>
  43. <id>test</id>
  44. <properties>
  45. <active.profile>test</active.profile>
  46. </properties>
  47. </profile>
  48. <profile>
  49. <id>product</id>
  50. <properties>
  51. <active.profile>product</active.profile>
  52. </properties>
  53. </profile>
  54. </profiles>
  55. <build>
  56. <filters>
  57. <filter>../config_filters/filters-${active.profile}.properties</filter>
  58. </filters>
  59. <resources>
  60. <resource>
  61. <directory>src/main/resources</directory>
  62. <filtering>true</filtering>
  63. </resource>
  64. </resources>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>3.2</version>
  70. <configuration>
  71. <source>1.8</source>
  72. <target>1.8</target>
  73. <encoding>utf-8</encoding>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-maven-plugin</artifactId>
  79. <executions>
  80. <execution>
  81. <goals>
  82. <goal>repackage</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </project>