pom.xml 2.7 KB

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