pom.xml 2.6 KB

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