pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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.yihu.jkzl</groupId>
  7. <version>1.1.0-RELEASE</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. <spring-demo.version>4.3.6.RELEASE</spring-demo.version>
  17. </properties>
  18. <dependencyManagement>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework</groupId>
  22. <artifactId>spring-context</artifactId>
  23. <version>${spring-demo.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework</groupId>
  27. <artifactId>spring-aop</artifactId>
  28. <version>${spring-demo.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework</groupId>
  32. <artifactId>spring-beans</artifactId>
  33. <version>${spring-demo.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-core</artifactId>
  38. <version>${spring-demo.version}</version>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>commons-logging</groupId>
  42. <artifactId>commons-logging</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework</groupId>
  48. <artifactId>spring-expression</artifactId>
  49. <version>${spring-demo.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework</groupId>
  53. <artifactId>spring-asm</artifactId>
  54. <version>${spring-demo.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>cglib</groupId>
  58. <artifactId>cglib</artifactId>
  59. <version>2.2.2</version>
  60. </dependency>
  61. </dependencies>
  62. </dependencyManagement>
  63. <dependencies>
  64. <dependency>
  65. <groupId>com.yihu.jkzl</groupId>
  66. <artifactId>apollo-client</artifactId>
  67. <version>${project.version}</version>
  68. </dependency>
  69. <!-- for spring demo -->
  70. <dependency>
  71. <groupId>org.springframework</groupId>
  72. <artifactId>spring-context</artifactId>
  73. </dependency>
  74. <!-- for spring boot demo -->
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter</artifactId>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-logging</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-log4j2</artifactId>
  88. </dependency>
  89. <!-- for refresh scope demo -->
  90. <dependency>
  91. <groupId>org.springframework.cloud</groupId>
  92. <artifactId>spring-cloud-context</artifactId>
  93. </dependency>
  94. <!-- required for spring 3.1.0 -->
  95. <dependency>
  96. <groupId>cglib</groupId>
  97. <artifactId>cglib</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.logging.log4j</groupId>
  101. <artifactId>log4j-core</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.logging.log4j</groupId>
  105. <artifactId>log4j-api</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.logging.log4j</groupId>
  109. <artifactId>log4j-slf4j-impl</artifactId>
  110. </dependency>
  111. <!-- take over jcl -->
  112. <dependency>
  113. <groupId>org.slf4j</groupId>
  114. <artifactId>jcl-over-slf4j</artifactId>
  115. </dependency>
  116. </dependencies>
  117. </project>