pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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-batch</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-jetty</artifactId>
  44. </dependency>
  45. <!-- 自动装配dubbo-->
  46. <dependency>
  47. <groupId>org.apache.dubbo</groupId>
  48. <artifactId>dubbo-spring-boot-starter</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.alibaba.nacos</groupId>
  52. <artifactId>nacos-client</artifactId>
  53. </dependency>
  54. <!-- 注册中心 -->
  55. <dependency>
  56. <groupId>com.alibaba.cloud</groupId>
  57. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.slf4j</groupId>
  61. <artifactId>jcl-over-slf4j</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.google.protobuf</groupId>
  65. <artifactId>protobuf-java</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.ywt</groupId>
  69. <artifactId>ywt-biz-common</artifactId>
  70. </dependency>
  71. </dependencies>
  72. <profiles>
  73. <profile>
  74. <id>dev</id>
  75. <activation>
  76. <activeByDefault>true</activeByDefault>
  77. </activation>
  78. <properties>
  79. <active.profile>dev</active.profile>
  80. </properties>
  81. </profile>
  82. <profile>
  83. <id>test</id>
  84. <properties>
  85. <active.profile>test</active.profile>
  86. </properties>
  87. </profile>
  88. <profile>
  89. <id>product</id>
  90. <properties>
  91. <active.profile>product</active.profile>
  92. </properties>
  93. </profile>
  94. </profiles>
  95. <build>
  96. <filters>
  97. <filter>../config_filters/filters-${active.profile}.properties</filter>
  98. </filters>
  99. <resources>
  100. <resource>
  101. <directory>src/main/resources</directory>
  102. <filtering>true</filtering>
  103. </resource>
  104. </resources>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-compiler-plugin</artifactId>
  109. <version>3.2</version>
  110. <configuration>
  111. <source>1.8</source>
  112. <target>1.8</target>
  113. <encoding>utf-8</encoding>
  114. </configuration>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. <executions>
  120. <execution>
  121. <goals>
  122. <goal>repackage</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </project>