1
0

pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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.1.2</version>
  8. <relativePath>../pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>apollo-adminservice</artifactId>
  12. <name>Apollo AdminService</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. <dependency>
  24. <groupId>org.springframework.cloud</groupId>
  25. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  26. <scope>test</scope>
  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. </exclusions>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.h2database</groupId>
  64. <artifactId>h2</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-maven-plugin</artifactId>
  73. <configuration>
  74. <executable>true</executable>
  75. </configuration>
  76. </plugin>
  77. <plugin>
  78. <groupId>com.spotify</groupId>
  79. <artifactId>docker-maven-plugin</artifactId>
  80. <version>0.4.13</version>
  81. <configuration>
  82. <imageName>${project.artifactId}</imageName>
  83. <dockerDirectory>src/main/docker</dockerDirectory>
  84. <resources>
  85. <resource>
  86. <targetPath>/</targetPath>
  87. <directory>${project.build.directory}</directory>
  88. <include>*.zip</include>
  89. </resource>
  90. </resources>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-assembly-plugin</artifactId>
  95. <executions>
  96. <execution>
  97. <phase>package</phase>
  98. <goals>
  99. <goal>single</goal>
  100. </goals>
  101. <configuration>
  102. <finalName>${project.artifactId}-${project.version}-${package.environment}</finalName>
  103. <appendAssemblyId>false</appendAssemblyId>
  104. <descriptors>
  105. <descriptor>src/assembly/assembly-descriptor.xml</descriptor>
  106. </descriptors>
  107. </configuration>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. </plugins>
  112. </build>
  113. </project>