.flattened-pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.pavis</groupId>
  7. <artifactId>pavis-admin</artifactId>
  8. <version>3.7.0</version>
  9. </parent>
  10. <artifactId>pavis-webapi</artifactId>
  11. <version>3.7.0</version>
  12. <description>API 及打包部署模块</description>
  13. <licenses>
  14. <license>
  15. <name>GNU LESSER GENERAL PUBLIC LICENSE</name>
  16. <url>http://www.gnu.org/licenses/lgpl.html</url>
  17. </license>
  18. </licenses>
  19. <properties>
  20. <config-path>config/</config-path>
  21. <lib-path>lib/</lib-path>
  22. <bin-path>bin/</bin-path>
  23. <main-class>com.pavis.admin.PavisAdminApplication</main-class>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>com.pavis</groupId>
  28. <artifactId>pavis-module-system</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.pavis</groupId>
  32. <artifactId>pavis-module-aigc</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.pavis</groupId>
  36. <artifactId>pavis-plugin-schedule</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.pavis</groupId>
  40. <artifactId>pavis-plugin-open</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.pavis</groupId>
  44. <artifactId>pavis-plugin-generator</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>top.continew</groupId>
  48. <artifactId>continew-starter-log-interceptor</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>top.continew</groupId>
  52. <artifactId>continew-starter-trace</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.liquibase</groupId>
  56. <artifactId>liquibase-core</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>cn.dev33</groupId>
  65. <artifactId>sa-token-spring-boot3-starter</artifactId>
  66. <version>1.42.0</version>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <finalName>${project.parent.name}</finalName>
  71. <plugins>
  72. <plugin>
  73. <artifactId>maven-jar-plugin</artifactId>
  74. <configuration>
  75. <excludes>
  76. <exclude>${config-path}</exclude>
  77. <exclude>db/</exclude>
  78. <exclude>templates/</exclude>
  79. <exclude>logback-spring.xml</exclude>
  80. </excludes>
  81. <archive>
  82. <manifest>
  83. <mainClass>${main-class}</mainClass>
  84. <classpathPrefix>../${lib-path}</classpathPrefix>
  85. <addClasspath>true</addClasspath>
  86. <useUniqueVersions>false</useUniqueVersions>
  87. </manifest>
  88. <manifestEntries>
  89. <Class-Path>../${config-path}</Class-Path>
  90. </manifestEntries>
  91. </archive>
  92. <outputDirectory>${project.build.directory}/app/${bin-path}</outputDirectory>
  93. </configuration>
  94. </plugin>
  95. <plugin>
  96. <artifactId>maven-dependency-plugin</artifactId>
  97. <executions>
  98. <execution>
  99. <id>copy-dependencies</id>
  100. <phase>package</phase>
  101. <goals>
  102. <goal>copy-dependencies</goal>
  103. </goals>
  104. <configuration>
  105. <outputDirectory>${project.build.directory}/app/${lib-path}</outputDirectory>
  106. </configuration>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <artifactId>maven-resources-plugin</artifactId>
  112. <executions>
  113. <execution>
  114. <id>copy-resources</id>
  115. <phase>package</phase>
  116. <goals>
  117. <goal>copy-resources</goal>
  118. </goals>
  119. <configuration>
  120. <resources>
  121. <resource>
  122. <directory>src/main/resources/${config-path}</directory>
  123. </resource>
  124. <resource>
  125. <directory>src/main/resources</directory>
  126. <includes>
  127. <include>db/</include>
  128. <include>templates/</include>
  129. <include>logback-spring.xml</include>
  130. </includes>
  131. </resource>
  132. </resources>
  133. <outputDirectory>${project.build.directory}/app/${config-path}</outputDirectory>
  134. </configuration>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. </plugins>
  139. </build>
  140. </project>