pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. <parent>
  5. <artifactId>apollo</artifactId>
  6. <groupId>com.ctrip.framework.apollo</groupId>
  7. <version>1.5.1</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>apollo-demo</artifactId>
  11. <name>Apollo Demo</name>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <java.version>1.7</java.version>
  15. <github.path>${project.artifactId}</github.path>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.ctrip.framework.apollo</groupId>
  20. <artifactId>apollo-client</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <!-- for spring demo -->
  24. <dependency>
  25. <groupId>org.springframework</groupId>
  26. <artifactId>spring-context</artifactId>
  27. </dependency>
  28. <!-- for spring boot demo -->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter</artifactId>
  32. <exclusions>
  33. <exclusion>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-logging</artifactId>
  36. </exclusion>
  37. </exclusions>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-log4j2</artifactId>
  42. </dependency>
  43. <!-- for refresh scope demo -->
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-context</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.logging.log4j</groupId>
  50. <artifactId>log4j-core</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.logging.log4j</groupId>
  54. <artifactId>log4j-api</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.logging.log4j</groupId>
  58. <artifactId>log4j-slf4j-impl</artifactId>
  59. </dependency>
  60. <!-- take over jcl -->
  61. <dependency>
  62. <groupId>org.slf4j</groupId>
  63. <artifactId>jcl-over-slf4j</artifactId>
  64. </dependency>
  65. </dependencies>
  66. </project>