1 Star 3 Fork 0

JunWan/JavaMail

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 4.63 KB
一键复制 编辑 原始数据 按行查看 历史
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- Spring Boot 依赖管理 -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<!-- 使用properties管理版本号 -->
<version>2.4.13</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.hn</groupId>
<artifactId>JavaMail</artifactId>
<version>1.0</version>
<name>JavaMail</name>
<description>Java邮件发送</description>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 定义依赖的版本号 -->
<springfox.swagger2.version>2.9.2</springfox.swagger2.version>
<springfox.swagger.ui.version>2.9.2</springfox.swagger.ui.version>
<knife4j.spring.boot.starter.version>2.0.8</knife4j.spring.boot.starter.version>
<commons.collections4.version>4.4</commons.collections4.version>
<java.mail.version>1.5.0-b01</java.mail.version>
<fastjson.version>1.2.33</fastjson.version>
<commons.pool2.version>2.6.0</commons.pool2.version>
</properties>
<dependencies>
<!-- Spring Boot Web,构建Web应用程序 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Lombok,简化Java代码 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- Swagger2 用于生成API文档 -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${springfox.swagger2.version}</version>
</dependency>
<!-- Knife4j,基于Swagger的增强UI框架 -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
<version>${knife4j.spring.boot.starter.version}</version>
</dependency>
<!--邮箱依赖-->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>${java.mail.version}</version>
</dependency>
<!-- Apache Commons Collections 4,提供增强的集合类 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons.collections4.version}</version>
</dependency>
<!-- Spring Boot Redis 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- Fastjson,JSON处理库 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!-- Apache Commons Pool 2,提供对象池功能 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>${commons.pool2.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Spring Boot Maven插件 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!-- 使用Spring Boot的版本 -->
<version>2.4.13</version>
<configuration>
<!-- 包含系统范围的依赖 -->
<includeSystemScope>true</includeSystemScope>
<excludes>
<!-- 排除Lombok依赖 -->
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
<!-- 构建输出的最终名称为项目的artifactId -->
<finalName>${project.name}</finalName>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/jun-wan/java-mail.git
git@gitee.com:jun-wan/java-mail.git
jun-wan
java-mail
JavaMail
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385