pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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-portal</artifactId>
  12. <name>Apollo Portal</name>
  13. <properties>
  14. <github.path>${project.artifactId}</github.path>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.ctrip.framework.apollo</groupId>
  19. <artifactId>apollo-common</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.h2database</groupId>
  23. <artifactId>h2</artifactId>
  24. <scope>test</scope>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-maven-plugin</artifactId>
  32. <configuration>
  33. <executable>true</executable>
  34. </configuration>
  35. </plugin>
  36. <plugin>
  37. <groupId>com.spotify</groupId>
  38. <artifactId>docker-maven-plugin</artifactId>
  39. <version>0.4.13</version>
  40. <configuration>
  41. <imageName>${project.artifactId}</imageName>
  42. <dockerDirectory>src/main/docker</dockerDirectory>
  43. <resources>
  44. <resource>
  45. <targetPath>/</targetPath>
  46. <directory>${project.build.directory}</directory>
  47. <include>*.zip</include>
  48. </resource>
  49. </resources>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <artifactId>maven-assembly-plugin</artifactId>
  54. <executions>
  55. <execution>
  56. <phase>package</phase>
  57. <goals>
  58. <goal>single</goal>
  59. </goals>
  60. <configuration>
  61. <finalName>${project.artifactId}-${project.version}-${package.environment}</finalName>
  62. <appendAssemblyId>false</appendAssemblyId>
  63. <descriptors>
  64. <descriptor>src/assembly/assembly-descriptor.xml</descriptor>
  65. </descriptors>
  66. </configuration>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. <profiles>
  73. <profile>
  74. <id>ctrip</id>
  75. <dependencies>
  76. <dependency>
  77. <groupId>com.ctrip.framework.apollo-sso</groupId>
  78. <artifactId>apollo-sso-ctrip</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.ctrip.framework.apollo-ctrip-service</groupId>
  82. <artifactId>apollo-email-service</artifactId>
  83. </dependency>
  84. </dependencies>
  85. </profile>
  86. </profiles>
  87. </project>