pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.yihu.ehr</groupId>
  7. <artifactId>ehr-cloud-parent</artifactId>
  8. <version>1.13.0</version>
  9. </parent>
  10. <artifactId>svr-eip-dfs</artifactId>
  11. <packaging>jar</packaging>
  12. <name>svr-eip-dfs</name>
  13. <description>eip file and zbus mq module</description>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-test</artifactId>
  26. <scope>test</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.cloud</groupId>
  30. <artifactId>spring-cloud-starter-eureka</artifactId>
  31. <exclusions>
  32. <exclusion>
  33. <artifactId>netty-codec-http</artifactId>
  34. <groupId>io.netty</groupId>
  35. </exclusion>
  36. <exclusion>
  37. <artifactId>netty-transport</artifactId>
  38. <groupId>io.netty</groupId>
  39. </exclusion>
  40. <exclusion>
  41. <artifactId>netty-transport-native-epoll</artifactId>
  42. <groupId>io.netty</groupId>
  43. </exclusion>
  44. <exclusion>
  45. <artifactId>netty-handler</artifactId>
  46. <groupId>io.netty</groupId>
  47. </exclusion>
  48. <exclusion>
  49. <artifactId>netty-buffer</artifactId>
  50. <groupId>io.netty</groupId>
  51. </exclusion>
  52. <exclusion>
  53. <artifactId>netty-codec</artifactId>
  54. <groupId>io.netty</groupId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.cloud</groupId>
  60. <artifactId>spring-cloud-starter-config</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.mongodb</groupId>
  68. <artifactId>mongo-java-driver</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.zbus</groupId>
  72. <artifactId>zbus</artifactId>
  73. </dependency>
  74. <!-- 强制指定netty版本...否则由于父pom指定了netty版本号, io.zbus里面的netty的pom指定版本无效 -->
  75. <dependency>
  76. <groupId>io.netty</groupId>
  77. <artifactId>netty-all</artifactId>
  78. <version>4.0.51.Final</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-io</groupId>
  82. <artifactId>commons-io</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.data</groupId>
  86. <artifactId>spring-data-mongodb</artifactId>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. <version>${version.spring-boot}</version>
  95. <executions>
  96. <execution>
  97. <goals>
  98. <goal>repackage</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. <configuration>
  103. <mainClass>com.yihu.hos.dfs.HosDfsApplication</mainClass>
  104. </configuration>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </project>