pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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/maven-v4_0_0.xsd">
  4. <parent>
  5. <groupId>com.ctrip.framework.apollo</groupId>
  6. <artifactId>apollo</artifactId>
  7. <version>1.1.2</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>apollo-client</artifactId>
  12. <name>Apollo Client</name>
  13. <properties>
  14. <java.version>1.7</java.version>
  15. <github.path>${project.artifactId}</github.path>
  16. </properties>
  17. <dependencyManagement>
  18. <dependencies>
  19. <!-- Spring Boot 2 requires Java 8, so we need to manually stick to 1.5.x version in order to compile apollo-client against Java 7 -->
  20. <!-- This is only for apollo-client compilation use, because optional Spring dependencies are not transitive -->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-dependencies</artifactId>
  24. <version>1.5.16.RELEASE</version>
  25. <type>pom</type>
  26. <scope>import</scope>
  27. </dependency>
  28. </dependencies>
  29. </dependencyManagement>
  30. <dependencies>
  31. <!-- apollo -->
  32. <dependency>
  33. <groupId>com.ctrip.framework.apollo</groupId>
  34. <artifactId>apollo-core</artifactId>
  35. </dependency>
  36. <!-- end of apollo -->
  37. <!-- guice -->
  38. <dependency>
  39. <groupId>com.google.inject</groupId>
  40. <artifactId>guice</artifactId>
  41. </dependency>
  42. <!-- end of guice -->
  43. <!-- log -->
  44. <dependency>
  45. <groupId>org.slf4j</groupId>
  46. <artifactId>slf4j-api</artifactId>
  47. </dependency>
  48. <!-- optional spring dependency -->
  49. <dependency>
  50. <groupId>org.springframework</groupId>
  51. <artifactId>spring-context</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <!-- optional spring boot dependency -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-autoconfigure</artifactId>
  58. <optional>true</optional>
  59. </dependency>
  60. <!-- test -->
  61. <dependency>
  62. <groupId>org.eclipse.jetty</groupId>
  63. <artifactId>jetty-server</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <!-- take over jcl -->
  67. <dependency>
  68. <groupId>org.slf4j</groupId>
  69. <artifactId>jcl-over-slf4j</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.logging.log4j</groupId>
  74. <artifactId>log4j-slf4j-impl</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.logging.log4j</groupId>
  79. <artifactId>log4j-core</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <!-- end of test -->
  83. </dependencies>
  84. </project>