pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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>0.11.0</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-eureka-server</artifactId>
  27. <exclusions>
  28. <exclusion>
  29. <artifactId>
  30. spring-cloud-starter-archaius
  31. </artifactId>
  32. <groupId>org.springframework.cloud</groupId>
  33. </exclusion>
  34. <exclusion>
  35. <artifactId>spring-cloud-starter-ribbon</artifactId>
  36. <groupId>org.springframework.cloud</groupId>
  37. </exclusion>
  38. <exclusion>
  39. <artifactId>ribbon-eureka</artifactId>
  40. <groupId>com.netflix.ribbon</groupId>
  41. </exclusion>
  42. <exclusion>
  43. <artifactId>aws-java-sdk-core</artifactId>
  44. <groupId>com.amazonaws</groupId>
  45. </exclusion>
  46. <exclusion>
  47. <artifactId>aws-java-sdk-ec2</artifactId>
  48. <groupId>com.amazonaws</groupId>
  49. </exclusion>
  50. <exclusion>
  51. <artifactId>aws-java-sdk-autoscaling</artifactId>
  52. <groupId>com.amazonaws</groupId>
  53. </exclusion>
  54. <exclusion>
  55. <artifactId>aws-java-sdk-sts</artifactId>
  56. <groupId>com.amazonaws</groupId>
  57. </exclusion>
  58. <exclusion>
  59. <artifactId>aws-java-sdk-route53</artifactId>
  60. <groupId>com.amazonaws</groupId>
  61. </exclusion>
  62. <!-- duplicated with spring-security-core -->
  63. <exclusion>
  64. <groupId>org.springframework.security</groupId>
  65. <artifactId>spring-security-crypto</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <!-- end of eureka -->
  70. <dependency>
  71. <groupId>com.h2database</groupId>
  72. <artifactId>h2</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. </dependencies>
  76. <build>
  77. <plugins>
  78. <plugin>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-maven-plugin</artifactId>
  81. <configuration>
  82. <executable>true</executable>
  83. </configuration>
  84. </plugin>
  85. <plugin>
  86. <groupId>com.spotify</groupId>
  87. <artifactId>docker-maven-plugin</artifactId>
  88. <version>0.4.13</version>
  89. <configuration>
  90. <imageName>${project.artifactId}</imageName>
  91. <dockerDirectory>src/main/docker</dockerDirectory>
  92. <resources>
  93. <resource>
  94. <targetPath>/</targetPath>
  95. <directory>${project.build.directory}</directory>
  96. <include>*.zip</include>
  97. </resource>
  98. </resources>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-assembly-plugin</artifactId>
  103. <executions>
  104. <execution>
  105. <phase>package</phase>
  106. <goals>
  107. <goal>single</goal>
  108. </goals>
  109. <configuration>
  110. <finalName>${project.artifactId}-${project.version}-${package.environment}</finalName>
  111. <appendAssemblyId>false</appendAssemblyId>
  112. <descriptors>
  113. <descriptor>src/assembly/assembly-descriptor.xml</descriptor>
  114. </descriptors>
  115. </configuration>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>