pom.xml 2.7 KB

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