编程语言
首页 > 编程语言> > Java框架--SpringBoot常用POS文件示例

Java框架--SpringBoot常用POS文件示例

作者:互联网

<?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">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.szl</groupId>
    <artifactId>sbt</artifactId>
    <version>1.0-SNAPSHOT</version>

    <!--父工程引入,为了规定统一版本,如果需要正式依赖,还是需要dependencies引入-->
    <parent>
        <artifactId>spring-boot-starter-parent</artifactId>
        <groupId>org.springframework.boot</groupId>
        <version>2.5.3</version>
    </parent>

    <dependencies>
        <!--引入启动环境-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <!--引入lombok-->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>

        <!--引入配置文件处理器-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
        </dependency>

    </dependencies>


</project>

标签:Java,SpringBoot,示例,spring,boot,springframework,org,starter
来源: https://www.cnblogs.com/shaozelong/p/16558055.html