pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.github.jfcloud</groupId>
  5. <artifactId>aigc</artifactId>
  6. <version>1.0.0</version>
  7. <packaging>pom</packaging>
  8. <name>aigc</name>
  9. <modules>
  10. <module>jfcloud-aigc-biz</module>
  11. </modules>
  12. <properties>
  13. <jfcloud-bom.version>K7.5.4</jfcloud-bom.version>
  14. <spring-boot.version>2.7.12</spring-boot.version>
  15. <docker.registry>172.17.0.111</docker.registry>
  16. <docker.host>http://172.17.0.111:2375</docker.host>
  17. <docker.namespace>library</docker.namespace>
  18. <docker.username>admin</docker.username>
  19. <docker.password>Harbor12345</docker.password>
  20. <docker.plugin.version>0.33.0</docker.plugin.version>
  21. <docker.skip>false</docker.skip>
  22. <mapstruct.version>1.4.2.Final</mapstruct.version>
  23. <lombok.version>1.18.16</lombok.version>
  24. <swagger.version>1.5.20</swagger.version>
  25. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  26. <commons.io.version>2.13.0</commons.io.version>
  27. <apache.maven.plugins.version>3.1.0</apache.maven.plugins.version>
  28. <maven.compiler.source>1.8</maven.compiler.source>
  29. <maven.compiler.target>1.8</maven.compiler.target>
  30. <maven.compiler.version>3.8.1</maven.compiler.version>
  31. <spring.checkstyle.version>0.0.34</spring.checkstyle.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>org.projectlombok</groupId>
  36. <artifactId>lombok</artifactId>
  37. <scope>provided</scope>
  38. </dependency>
  39. </dependencies>
  40. <dependencyManagement>
  41. <dependencies>
  42. <!--jfcloud 公共版本定义-->
  43. <dependency>
  44. <groupId>com.github.jfcloud</groupId>
  45. <artifactId>jfcloud-bom</artifactId>
  46. <version>${jfcloud-bom.version}</version>
  47. <type>pom</type>
  48. <scope>import</scope>
  49. </dependency>
  50. </dependencies>
  51. </dependencyManagement>
  52. <build>
  53. <finalName>${project.name}</finalName>
  54. <resources>
  55. <resource>
  56. <directory>src/main/resources</directory>
  57. <filtering>true</filtering>
  58. </resource>
  59. </resources>
  60. <pluginManagement>
  61. <plugins>
  62. <!--spring boot 默认插件-->
  63. <plugin>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-maven-plugin</artifactId>
  66. <version>${spring-boot.version}</version>
  67. <executions>
  68. <execution>
  69. <goals>
  70. <goal>repackage</goal>
  71. </goals>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <!--解决文件打包编译字体、文件损坏-->
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-resources-plugin</artifactId>
  79. <configuration>
  80. <nonFilteredFileExtensions>
  81. <nonFilteredFileExtension>doc</nonFilteredFileExtension>
  82. <nonFilteredFileExtension>docx</nonFilteredFileExtension>
  83. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  84. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  85. <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
  86. <nonFilteredFileExtension>ftl</nonFilteredFileExtension>
  87. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  88. </nonFilteredFileExtensions>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </pluginManagement>
  93. <plugins>
  94. <!--代码编译指定版本插件-->
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <version>${maven.compiler.version}</version>
  99. <configuration>
  100. <target>${maven.compiler.target}</target>
  101. <source>${maven.compiler.source}</source>
  102. <encoding>UTF-8</encoding>
  103. <annotationProcessorPaths>
  104. <path>
  105. <groupId>org.projectlombok</groupId>
  106. <artifactId>lombok</artifactId>
  107. <version>${lombok.version}</version>
  108. </path>
  109. <path>
  110. <groupId>org.projectlombok</groupId>
  111. <artifactId>lombok-mapstruct-binding</artifactId>
  112. <version>0.2.0</version>
  113. </path>
  114. <path>
  115. <groupId>org.mapstruct</groupId>
  116. <artifactId>mapstruct-processor</artifactId>
  117. <version>${mapstruct.version}</version>
  118. </path>
  119. </annotationProcessorPaths>
  120. <skip>true</skip>
  121. </configuration>
  122. </plugin>
  123. </plugins>
  124. </build>
  125. <distributionManagement>
  126. <repository>
  127. <id>rdc-releases</id>
  128. <url>https://packages.aliyun.com/maven/repository/2316288-release-CnOxYD/</url>
  129. </repository>
  130. <snapshotRepository>
  131. <id>rdc-snapshots</id>
  132. <url>https://packages.aliyun.com/maven/repository/2316288-snapshot-fEBoLS/</url>
  133. </snapshotRepository>
  134. </distributionManagement>
  135. <repositories>
  136. <repository>
  137. <id>public</id>
  138. <name>aliyun nexus</name>
  139. <url>https://maven.aliyun.com/repository/public/</url>
  140. <releases>
  141. <enabled>true</enabled>
  142. </releases>
  143. </repository>
  144. </repositories>
  145. <pluginRepositories>
  146. <pluginRepository>
  147. <id>aliyun-plugin</id>
  148. <url>https://maven.aliyun.com/repository/public</url>
  149. <releases>
  150. <enabled>true</enabled>
  151. </releases>
  152. <snapshots>
  153. <enabled>false</enabled>
  154. </snapshots>
  155. </pluginRepository>
  156. </pluginRepositories>
  157. <profiles>
  158. <profile>
  159. <id>dev</id>
  160. <properties>
  161. <profiles.active>dev</profiles.active>
  162. <nacos.namespace>jfcloud</nacos.namespace>
  163. <nacos.username>jfcloud</nacos.username>
  164. <nacos.password>jfcloudjfcloud</nacos.password>
  165. </properties>
  166. <activation>
  167. <!-- 默认环境 -->
  168. <activeByDefault>true</activeByDefault>
  169. </activation>
  170. </profile>
  171. <profile>
  172. <id>prod</id>
  173. <properties>
  174. <profiles.active>prod</profiles.active>
  175. <nacos.namespace>jfcloud</nacos.namespace>
  176. <nacos.username>jfcloud</nacos.username>
  177. <nacos.password>jfcloudjfcloud</nacos.password>
  178. </properties>
  179. </profile>
  180. </profiles>
  181. </project>