1
0

pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2021 Apollo Authors
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. ~
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <parent>
  21. <artifactId>apollo</artifactId>
  22. <groupId>com.ctrip.framework.apollo</groupId>
  23. <version>${revision}</version>
  24. </parent>
  25. <modelVersion>4.0.0</modelVersion>
  26. <artifactId>apollo-demo</artifactId>
  27. <name>Apollo Demo</name>
  28. <packaging>jar</packaging>
  29. <properties>
  30. <java.version>1.7</java.version>
  31. <github.path>${project.artifactId}</github.path>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>com.ctrip.framework.apollo</groupId>
  36. <artifactId>apollo-client</artifactId>
  37. <version>${project.version}</version>
  38. </dependency>
  39. <!-- for spring demo -->
  40. <dependency>
  41. <groupId>org.springframework</groupId>
  42. <artifactId>spring-context</artifactId>
  43. </dependency>
  44. <!-- for spring boot demo -->
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter</artifactId>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-logging</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-log4j2</artifactId>
  58. </dependency>
  59. <!-- for refresh scope demo -->
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-context</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.logging.log4j</groupId>
  66. <artifactId>log4j-core</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.logging.log4j</groupId>
  70. <artifactId>log4j-api</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.logging.log4j</groupId>
  74. <artifactId>log4j-slf4j-impl</artifactId>
  75. </dependency>
  76. <!-- take over jcl -->
  77. <dependency>
  78. <groupId>org.slf4j</groupId>
  79. <artifactId>jcl-over-slf4j</artifactId>
  80. </dependency>
  81. </dependencies>
  82. </project>