123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- <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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <!--
- 下方 parent 为 ContiNew Starter(Continue New Starter)。
- ContiNew Starter(Continue New Starter)基于"约定优于配置"的理念,
- 再次精简常规配置,提供一个更为完整的配置解决方案,帮助开发人员更加快速的集成常用第三方库或工具到 Spring Boot Web 应用程序中。
- ContiNew Starter 包含了一系列经过企业实践优化的依赖包(如 MyBatis-Plus、SaToken),
- 可轻松集成到应用中,为开发人员减少手动引入依赖及配置的麻烦,为 Spring Boot Web 项目的灵活快速构建提供支持。
- -->
- <parent>
- <groupId>top.continew</groupId>
- <artifactId>continew-starter</artifactId>
- <version>2.12.0</version>
- </parent>
-
- <groupId>com.pavis</groupId>
- <artifactId>pavis-admin</artifactId>
- <version>${revision}</version>
- <packaging>pom</packaging>
- <description>持续迭代优化的前后端分离中后台管理系统框架,开箱即用,持续提供舒适的开发体验。</description>
- <modules>
- <module>pavis-webapi</module>
- <module>pavis-module-system</module>
- <module>pavis-plugin</module>
- <module>pavis-common</module>
- <module>pavis-extension</module>
- <module>pavis-module-aigc</module>
- </modules>
- <properties>
- <!-- 项目版本号 -->
- <revision>3.7.0</revision>
- </properties>
- <!-- 全局依赖版本管理 -->
- <dependencyManagement>
- <dependencies>
- <!-- API 模块(存放 Controller 层代码,打包部署的模块) -->
- <dependency>
- <groupId>com.pavis</groupId>
- <artifactId>pavis-webapi</artifactId>
- <version>${revision}</version>
- </dependency>
- <!-- 系统管理模块(存放系统管理模块相关功能,例如:部门管理、角色管理、用户管理等) -->
- <dependency>
- <groupId>com.pavis</groupId>
- <artifactId>pavis-module-system</artifactId>
- <version>${revision}</version>
- </dependency>
- <!-- 智能管理模块(存放智能管理相关业务功能,例如:知识库、增强检索、智能体等) -->
- <dependency>
- <groupId>com.pavis</groupId>
- <artifactId>pavis-module-aigc</artifactId>
- <version>${revision}</version>
- </dependency>
- <!-- 公共模块(存放公共工具类,公共配置等) -->
- <dependency>
- <groupId>com.pavis</groupId>
- <artifactId>pavis-common</artifactId>
- <version>${revision}</version>
- </dependency>
- <!-- 任务调度插件(后续会改造为独立插件) -->
- <dependency>
- <groupId>com.pavis</groupId>
- <artifactId>pavis-plugin-schedule</artifactId>
- <version>${revision}</version>
- </dependency>
- <!-- 能力开放插件(后续会改造为独立插件) -->
- <dependency>
- <groupId>com.pavis</groupId>
- <artifactId>pavis-plugin-open</artifactId>
- <version>${revision}</version>
- </dependency>
- <!-- 代码生成器插件(后续会改造为独立插件) -->
- <dependency>
- <groupId>com.pavis</groupId>
- <artifactId>pavis-plugin-generator</artifactId>
- <version>${revision}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <!-- Hutool(小而全的 Java 工具类库,通过静态方法封装,降低相关 API 的学习成本,提高工作效率,使 Java 拥有函数式语言般的优雅,让 Java 语言也可以"甜甜的") -->
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- </dependency>
- <!-- Lombok(在 Java 开发过程中用注解的方式,简化了 JavaBean 的编写,避免了冗余和样板式代码,让编写的类更加简洁) -->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <optional>true</optional> <!-- 表示依赖不会被传递 -->
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <!-- 编译插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <compilerArgument>-parameters</compilerArgument>
- </configuration>
- </plugin>
- <!-- 单元测试相关插件 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- 跳过单元测试 -->
- <skip>true</skip>
- </configuration>
- </plugin>
- <!-- 代码格式化插件 -->
- <plugin>
- <groupId>com.diffplug.spotless</groupId>
- <artifactId>spotless-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>apply</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <java>
- <removeUnusedImports/>
- <eclipse>
- <file>.style/p3c-codestyle.xml</file>
- </eclipse>
- </java>
- </configuration>
- </plugin>
- <!-- 统一版本号插件 -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>flatten-maven-plugin</artifactId>
- <configuration>
- <updatePomFile>true</updatePomFile>
- <flattenMode>resolveCiFriendliesOnly</flattenMode>
- </configuration>
- <executions>
- <execution>
- <id>flatten</id>
- <phase>process-resources</phase>
- <goals>
- <goal>flatten</goal>
- </goals>
- </execution>
- <execution>
- <id>flatten-clean</id>
- <phase>clean</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <!-- 依赖仓库配置 -->
- <repositories>
- <repository>
- <id>huawei-mirror</id>
- <name>HuaweiCloud Mirror</name>
- <url>https://mirrors.huaweicloud.com/repository/maven/</url>
- </repository>
- <repository>
- <id>ali-mirror</id>
- <name>AliYun Mirror</name>
- <url>https://maven.aliyun.com/repository/public/</url>
- </repository>
- </repositories>
- <!-- 插件仓库配置 -->
- <pluginRepositories>
- <pluginRepository>
- <id>huawei-mirror</id>
- <name>HuaweiCloud Mirror</name>
- <url>https://mirrors.huaweicloud.com/repository/maven/</url>
- </pluginRepository>
- <pluginRepository>
- <id>ali-mirror</id>
- <name>AliYun Mirror</name>
- <url>https://maven.aliyun.com/repository/public/</url>
- </pluginRepository>
- </pluginRepositories>
- </project>
|