<?xml version="1.0" encoding="UTF-8"?>
<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">
<!--项目的父项目-->
<!--工程的父工程-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<!--公司的标识-->
<groupId>com.xxgc</groupId>
<!--项目id-->
<artifactId>SpringBoot</artifactId>
<!-- 打包的机制,如pom,jar, maven-plugin, ejb, war, ear, rar, par,默认为jar -->
<packaging>pom</packaging>
<!--项目版本号-->
<version>1.0-SNAPSHOT</version>
<!--子模块-->
<modules>
<module>SpringMVC</module>
</modules>
<!--常量-->
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<!-- 定义本项目的依赖关系 -->
<dependencies>
<!--web功能的起步依赖-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<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">
<!--父项目的位置(如果存在)。来自
父项目将是此项目的默认值,如果:
未指定。位置以组ID、工件ID和版本的形式给出。-->
<parent>
<artifactId>SpringBoot</artifactId>
<groupId>com.xxgc</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<!--模型版本-->
<modelVersion>4.0.0</modelVersion>
<!--坐标-->
<artifactId>SpringMVC</artifactId>
<!--对于常量的定义 可以在其他地方使用-->
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
</project>
最后修改于 2022-09-06 13:48:33
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付

