pom.xml 2.7 KB

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