pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.lantone</groupId>
  7. <artifactId>emrais</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>mdsp-service</artifactId>
  11. <name>mdsp-service</name>
  12. <packaging>jar</packaging>
  13. <description>公司内部质控业务外其他数据源简易交互集中处理服务</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.diagbot</groupId>
  17. <artifactId>common</artifactId>
  18. <version>0.0.1-SNAPSHOT</version>
  19. <exclusions>
  20. <exclusion>
  21. <groupId>com.github.promeg</groupId>
  22. <artifactId>tinypinyin</artifactId>
  23. </exclusion>
  24. </exclusions>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.lantone</groupId>
  28. <artifactId>common</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.alibaba</groupId>
  32. <artifactId>druid-spring-boot-starter</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.baomidou</groupId>
  40. <artifactId>mybatis-plus-boot-starter</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.baomidou</groupId>
  44. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  45. <version>${dynamic-datasource-spring-boot-starter.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-config</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.cloud</groupId>
  57. <artifactId>spring-cloud-starter-openfeign</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>io.github.openfeign</groupId>
  61. <artifactId>feign-okhttp</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>cn.afterturn</groupId>
  65. <artifactId>easypoi-spring-boot-starter</artifactId>
  66. </dependency>
  67. </dependencies>
  68. <!-- <build>-->
  69. <!-- <plugins>-->
  70. <!-- <plugin>-->
  71. <!-- <groupId>org.springframework.boot</groupId>-->
  72. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  73. <!-- </plugin>-->
  74. <!-- <plugin>-->
  75. <!-- <groupId>com.spotify</groupId>-->
  76. <!-- <artifactId>docker-maven-plugin</artifactId>-->
  77. <!-- </plugin>-->
  78. <!-- </plugins>-->
  79. <!-- </build>-->
  80. <!-- <build>-->
  81. <!-- <plugins>-->
  82. <!-- <plugin>-->
  83. <!-- <groupId>org.springframework.boot</groupId>-->
  84. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  85. <!-- </plugin>-->
  86. <!-- </plugins>-->
  87. <!-- <resources>-->
  88. <!-- <resource>-->
  89. <!-- <directory>src/main/java</directory>-->
  90. <!-- <includes>-->
  91. <!-- <include>**/*.properties</include>-->
  92. <!-- <include>**/*.xml</include>-->
  93. <!-- <include>**/*.json</include>-->
  94. <!-- </includes>-->
  95. <!-- <filtering>false</filtering>-->
  96. <!-- </resource>-->
  97. <!-- <resource>-->
  98. <!-- <directory>src/main/resources</directory>-->
  99. <!-- <includes>-->
  100. <!-- <include>**/*.*</include>-->
  101. <!-- </includes>-->
  102. <!-- </resource>-->
  103. <!-- </resources>-->
  104. <!-- <finalName>mdsp-service</finalName>-->
  105. <!-- </build>-->
  106. <build>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. </plugin>
  112. <!-- 添加docker-maven插件 -->
  113. <plugin>
  114. <groupId>com.spotify</groupId>
  115. <artifactId>docker-maven-plugin</artifactId>
  116. <version>1.1.1</version>
  117. <configuration>
  118. <imageName>${docker.image.prefix}/${project.artifactId}:${project.version}</imageName>
  119. <forceTags>true</forceTags>
  120. <!--镜像的FROM,使用压缩的小镜像-->
  121. <baseImage>frolvlad/alpine-oraclejre8:slim</baseImage>
  122. <entryPoint>["java", "-jar", "-Xms256m", "-Xmx1024m", "-Duser.timezone=GMT+8", "/${project.build.finalName}.jar"]</entryPoint>
  123. <resources>
  124. <resource>
  125. <targetPath>/</targetPath>
  126. <directory>${project.build.directory}</directory>
  127. <include>${project.build.finalName}.jar</include>
  128. </resource>
  129. </resources>
  130. <serverId>docker-registry</serverId>
  131. <registryUrl>${registryUrl}</registryUrl>
  132. </configuration>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. </project>