1 Star 0 Fork 95

混世侃/sz-boot-parent

forked from INS6/sz-boot-parent 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 4.26 KB
一键复制 编辑 原始数据 按行查看 历史
INS6 提交于 2024-10-12 15:17 . 新增:spotless maven 格式化插件
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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.sz</groupId>
<artifactId>sz-boot-parent</artifactId>
<packaging>pom</packaging>
<modules>
<module>sz-common</module>
<module>sz-service</module>
<module>sz-dependencies</module>
</modules>
<parent>
<groupId>com.sz</groupId>
<artifactId>sz-build</artifactId>
<version>${revision}</version>
<relativePath>./sz-build/pom.xml</relativePath>
</parent>
<!--配置全局属性-->
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<java.version>21</java.version>
<skipTests>true</skipTests>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sz</groupId>
<artifactId>sz-dependencies</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!--全局通用依赖-->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
</dependency>
</dependencies>
<repositories>
<!--阿里云仓库-->
<repository>
<id>public</id>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!--华为云仓库-->
<repository>
<id>huaweicloudmaven</id>
<url>https://repo.huaweicloud.com/maven/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!--腾讯云仓库-->
<repository>
<id>tencentcloudmaven</id>
<url>https://mirrors.tencent.com/nexus/repository/maven-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!--中科大仓库-->
<repository>
<id>ustcmaven</id>
<url>https://maven.ustc.edu.cn/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- 配置官方Maven中央仓库 -->
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<configuration>
<java>
<encoding>UTF-8</encoding>
<eclipse>
<file>sz-build/baeldung-style.xml</file>
</eclipse>
<removeUnusedImports/>
</java>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hunshikan/sz-boot-parent.git
git@gitee.com:hunshikan/sz-boot-parent.git
hunshikan
sz-boot-parent
sz-boot-parent
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385