pom.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 2024 Apollo Authors
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. ~
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  20. <parent>
  21. <groupId>com.ctrip.framework.apollo</groupId>
  22. <artifactId>apollo</artifactId>
  23. <version>${revision}</version>
  24. <relativePath>../pom.xml</relativePath>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>apollo-assembly</artifactId>
  28. <name>Apollo Assembly</name>
  29. <properties>
  30. <github.path>${project.artifactId}</github.path>
  31. </properties>
  32. <dependencies>
  33. <!-- apollo -->
  34. <dependency>
  35. <groupId>com.ctrip.framework.apollo</groupId>
  36. <artifactId>apollo-configservice</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.ctrip.framework.apollo</groupId>
  40. <artifactId>apollo-adminservice</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.ctrip.framework.apollo</groupId>
  44. <artifactId>apollo-portal</artifactId>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <plugins>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-resources-plugin</artifactId>
  52. <version>3.2.0</version>
  53. <executions>
  54. <execution>
  55. <id>copy-resources</id>
  56. <phase>validate</phase>
  57. <goals>
  58. <goal>copy-resources</goal>
  59. </goals>
  60. <configuration>
  61. <outputDirectory>${project.build.directory}/classes/META-INF/sql/profiles</outputDirectory>
  62. <resources>
  63. <resource>
  64. <directory>${project.parent.basedir}/scripts/sql/profiles</directory>
  65. <includes>
  66. <include>h2-default/apolloconfigdb.sql</include>
  67. <include>h2-default/apolloportaldb.sql</include>
  68. <include>mysql-database-not-specified/apolloconfigdb.sql</include>
  69. <include>mysql-database-not-specified/apolloportaldb.sql</include>
  70. </includes>
  71. </resource>
  72. </resources>
  73. </configuration>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. </project>