|
|
@@ -0,0 +1,190 @@
|
|
|
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <groupId>com.github.jfcloud</groupId>
|
|
|
+ <artifactId>aigc</artifactId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ <packaging>pom</packaging>
|
|
|
+
|
|
|
+ <name>aigc</name>
|
|
|
+
|
|
|
+ <modules>
|
|
|
+ <module>jfcloud-aigc-biz</module>
|
|
|
+ </modules>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <jfcloud-bom.version>K7.5.4</jfcloud-bom.version>
|
|
|
+ <spring-boot.version>2.7.12</spring-boot.version>
|
|
|
+ <docker.registry>172.17.0.111</docker.registry>
|
|
|
+ <docker.host>http://172.17.0.111:2375</docker.host>
|
|
|
+ <docker.namespace>library</docker.namespace>
|
|
|
+ <docker.username>admin</docker.username>
|
|
|
+ <docker.password>Harbor12345</docker.password>
|
|
|
+ <docker.plugin.version>0.33.0</docker.plugin.version>
|
|
|
+ <docker.skip>false</docker.skip>
|
|
|
+ <mapstruct.version>1.4.2.Final</mapstruct.version>
|
|
|
+ <lombok.version>1.18.16</lombok.version>
|
|
|
+ <swagger.version>1.5.20</swagger.version>
|
|
|
+ <commons.fileupload.version>1.3.3</commons.fileupload.version>
|
|
|
+ <commons.io.version>2.13.0</commons.io.version>
|
|
|
+ <apache.maven.plugins.version>3.1.0</apache.maven.plugins.version>
|
|
|
+ <maven.compiler.source>1.8</maven.compiler.source>
|
|
|
+ <maven.compiler.target>1.8</maven.compiler.target>
|
|
|
+ <maven.compiler.version>3.8.1</maven.compiler.version>
|
|
|
+ <spring.checkstyle.version>0.0.34</spring.checkstyle.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <!--jfcloud 公共版本定义-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.github.jfcloud</groupId>
|
|
|
+ <artifactId>jfcloud-bom</artifactId>
|
|
|
+ <version>${jfcloud-bom.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <finalName>${project.name}</finalName>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <!--spring boot 默认插件-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <!--解决文件打包编译字体、文件损坏-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <nonFilteredFileExtensions>
|
|
|
+ <nonFilteredFileExtension>doc</nonFilteredFileExtension>
|
|
|
+ <nonFilteredFileExtension>docx</nonFilteredFileExtension>
|
|
|
+ <nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
|
|
+ <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
|
|
|
+ <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
|
|
|
+ <nonFilteredFileExtension>ftl</nonFilteredFileExtension>
|
|
|
+ <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
|
|
+ </nonFilteredFileExtensions>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <!--代码编译指定版本插件-->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>${maven.compiler.version}</version>
|
|
|
+ <configuration>
|
|
|
+ <target>${maven.compiler.target}</target>
|
|
|
+ <source>${maven.compiler.source}</source>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <annotationProcessorPaths>
|
|
|
+ <path>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <version>${lombok.version}</version>
|
|
|
+ </path>
|
|
|
+ <path>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok-mapstruct-binding</artifactId>
|
|
|
+ <version>0.2.0</version>
|
|
|
+ </path>
|
|
|
+ <path>
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
+ <artifactId>mapstruct-processor</artifactId>
|
|
|
+ <version>${mapstruct.version}</version>
|
|
|
+ </path>
|
|
|
+ </annotationProcessorPaths>
|
|
|
+ <skip>true</skip>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ <distributionManagement>
|
|
|
+ <repository>
|
|
|
+ <id>rdc-releases</id>
|
|
|
+ <url>https://packages.aliyun.com/maven/repository/2316288-release-CnOxYD/</url>
|
|
|
+ </repository>
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>rdc-snapshots</id>
|
|
|
+ <url>https://packages.aliyun.com/maven/repository/2316288-snapshot-fEBoLS/</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ </distributionManagement>
|
|
|
+
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>public</id>
|
|
|
+ <name>aliyun nexus</name>
|
|
|
+ <url>https://maven.aliyun.com/repository/public/</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+ <pluginRepositories>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>aliyun-plugin</id>
|
|
|
+ <url>https://maven.aliyun.com/repository/public</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </pluginRepository>
|
|
|
+ </pluginRepositories>
|
|
|
+
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <profiles.active>dev</profiles.active>
|
|
|
+ <nacos.namespace>jfcloud</nacos.namespace>
|
|
|
+ <nacos.username>jfcloud</nacos.username>
|
|
|
+ <nacos.password>jfcloudjfcloud</nacos.password>
|
|
|
+ </properties>
|
|
|
+ <activation>
|
|
|
+ <!-- 默认环境 -->
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>prod</id>
|
|
|
+ <properties>
|
|
|
+ <profiles.active>prod</profiles.active>
|
|
|
+ <nacos.namespace>jfcloud</nacos.namespace>
|
|
|
+ <nacos.username>jfcloud</nacos.username>
|
|
|
+ <nacos.password>jfcloudjfcloud</nacos.password>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+</project>
|