pom.xml 2.9 KB

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