pom.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.dzdy</groupId>
  6. <artifactId>springboot-dubbo-consume</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>springboot-dubbo-consume</name>
  10. <description>Demo project for Spring Boot</description>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.6.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <com.alibaba.dubbo.version>2.5.3</com.alibaba.dubbo.version>
  22. <org.apache.zookeeper.version>3.4.6</org.apache.zookeeper.version>
  23. <com.github.sgroschupf.zkclient.version>0.1</com.github.sgroschupf.zkclient.version>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.dzdy</groupId>
  37. <artifactId>springboot-dubbo-provide</artifactId>
  38. <version>0.0.1-SNAPSHOT</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. </dependency>
  44. <!-- dubbo -->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>dubbo</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.springframework</groupId>
  51. <artifactId>spring</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. <version>${com.alibaba.dubbo.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.zookeeper</groupId>
  58. <artifactId>zookeeper</artifactId>
  59. <version>${org.apache.zookeeper.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.github.sgroschupf</groupId>
  63. <artifactId>zkclient</artifactId>
  64. <version>${com.github.sgroschupf.zkclient.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-configuration-processor</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. </project>