作者:yan雀安知鸿鹄之志_647 | 来源:互联网 | 2024-12-13 21:32
前言:本文旨在帮助开发者了解和掌握Spring Boot项目中Maven配置文件(pom.xml)的编写方法,通过具体示例加深理解,提升开发效率。
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.example.demo springboot-example 1.0.0-SNAPSHOT jar SpringBoot Example Example project for Spring Boot org.springframework.boot spring-boot-starter-parent 2.3.1.RELEASE 1.8 UTF-8 UTF-8 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-freemarker org.springframework.boot spring-boot-starter-test test org.springframework.boot spring-boot-devtools runtime true org.mybatis.spring.boot mybatis-spring-boot-starter 2.1.1 tk.mybatis mapper-spring-boot-starter 2.0.2 com.github.pagehelper pagehelper-spring-boot-starter 1.2.10 mysql mysql-connector-java 8.0.21 com.alibaba druid-spring-boot-starter 1.1.10 com.alibaba fastjson 1.2.75 org.aspectj aspectjweaver 1.9.5 org.springframework.boot spring-boot-maven-plugin true true org.mybatis.generator mybatis-generator-maven-plugin 1.3.7 mysql mysql-connector-java 8.0.21 tk.mybatis mapper 4.1.5 Generate MyBatis Artifacts generate-sources generate true true src/main/resources/mybatis-generator.xml maven-compiler-plugin 1.8 1.8