pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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.6.2</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>apollo-configservice</artifactId>
  12. <name>Apollo ConfigService</name>
  13. <properties>
  14. <github.path>${project.artifactId}</github.path>
  15. </properties>
  16. <dependencies>
  17. <!-- apollo -->
  18. <dependency>
  19. <groupId>com.ctrip.framework.apollo</groupId>
  20. <artifactId>apollo-biz</artifactId>
  21. </dependency>
  22. <!-- end of apollo -->
  23. <!-- eureka -->
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  27. <exclusions>
  28. <exclusion>
  29. <artifactId>spring-cloud-starter-netflix-archaius</artifactId>
  30. <groupId>org.springframework.cloud</groupId>
  31. </exclusion>
  32. <exclusion>
  33. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  34. <groupId>org.springframework.cloud</groupId>
  35. </exclusion>
  36. <exclusion>
  37. <artifactId>ribbon-eureka</artifactId>
  38. <groupId>com.netflix.ribbon</groupId>
  39. </exclusion>
  40. <exclusion>
  41. <artifactId>aws-java-sdk-core</artifactId>
  42. <groupId>com.amazonaws</groupId>
  43. </exclusion>
  44. <exclusion>
  45. <artifactId>aws-java-sdk-ec2</artifactId>
  46. <groupId>com.amazonaws</groupId>
  47. </exclusion>
  48. <exclusion>
  49. <artifactId>aws-java-sdk-autoscaling</artifactId>
  50. <groupId>com.amazonaws</groupId>
  51. </exclusion>
  52. <exclusion>
  53. <artifactId>aws-java-sdk-sts</artifactId>
  54. <groupId>com.amazonaws</groupId>
  55. </exclusion>
  56. <exclusion>
  57. <artifactId>aws-java-sdk-route53</artifactId>
  58. <groupId>com.amazonaws</groupId>
  59. </exclusion>
  60. <!-- duplicated with spring-security-core -->
  61. <exclusion>
  62. <groupId>org.springframework.security</groupId>
  63. <artifactId>spring-security-crypto</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <!-- end of eureka -->
  68. <dependency>
  69. <groupId>com.h2database</groupId>
  70. <artifactId>h2</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <!-- JDK 1.8+ -->
  74. <dependency>
  75. <groupId>javax.xml.bind</groupId>
  76. <artifactId>jaxb-api</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.sun.xml.bind</groupId>
  80. <artifactId>jaxb-impl</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.glassfish.jaxb</groupId>
  84. <artifactId>jaxb-runtime</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>javax.activation</groupId>
  88. <artifactId>activation</artifactId>
  89. </dependency>
  90. <!-- end of JDK 1.8+ -->
  91. <!-- JDK 11+ -->
  92. <dependency>
  93. <groupId>org.javassist</groupId>
  94. <artifactId>javassist</artifactId>
  95. </dependency>
  96. <!-- end of JDK 11+ -->
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-maven-plugin</artifactId>
  103. <configuration>
  104. <executable>true</executable>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>com.spotify</groupId>
  109. <artifactId>docker-maven-plugin</artifactId>
  110. <version>0.4.13</version>
  111. <configuration>
  112. <imageName>${project.artifactId}</imageName>
  113. <dockerDirectory>src/main/docker</dockerDirectory>
  114. <resources>
  115. <resource>
  116. <targetPath>/</targetPath>
  117. <directory>${project.build.directory}</directory>
  118. <include>*.zip</include>
  119. </resource>
  120. </resources>
  121. </configuration>
  122. </plugin>
  123. <plugin>
  124. <artifactId>maven-assembly-plugin</artifactId>
  125. <executions>
  126. <execution>
  127. <phase>package</phase>
  128. <goals>
  129. <goal>single</goal>
  130. </goals>
  131. <configuration>
  132. <finalName>${project.artifactId}-${project.version}-${package.environment}</finalName>
  133. <appendAssemblyId>false</appendAssemblyId>
  134. <descriptors>
  135. <descriptor>src/assembly/assembly-descriptor.xml</descriptor>
  136. </descriptors>
  137. </configuration>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>