java doc fix

This commit is contained in:
paulch 2024-06-27 09:41:59 +08:00
parent c58ef815f3
commit 87633e2062
13 changed files with 180 additions and 147 deletions

View File

@ -8,7 +8,7 @@
<version>24.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>bonus-api-system</artifactId>
<description>
@ -16,13 +16,23 @@
</description>
<dependencies>
<!-- bonus Common Core-->
<dependency>
<groupId>com.bonus</groupId>
<artifactId>bonus-common-core</artifactId>
</dependency>
</dependencies>
</project>
</dependencies>
<distributionManagement>
<repository>
<id>bns-releases</id>
<url>http://192.168.0.56:8081/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>bns-snapshots</id>
<url>http://192.168.0.56:8081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>

View File

@ -7,53 +7,53 @@
<version>24.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>bonus-auth</artifactId>
<description>
bonus-auth认证授权中心
</description>
<dependencies>
<!-- SpringCloud Alibaba Nacos -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<!-- SpringCloud Alibaba Nacos Config -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
</dependency>
<!-- SpringCloud Alibaba Sentinel -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
<!-- SpringBoot Web -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- SpringBoot Actuator -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- bonus Common Security-->
<dependency>
<groupId>com.bonus</groupId>
<artifactId>bonus-common-security</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
@ -70,5 +70,16 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>bns-releases</id>
<url>http://192.168.0.56:8081/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>bns-snapshots</id>
<url>http://192.168.0.56:8081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>

View File

@ -2,7 +2,7 @@ package com.bonus.common.core.exception;
/**
* 全局异常
*
*
* @author bonus
*/
public class GlobalException extends RuntimeException
@ -16,8 +16,6 @@ public class GlobalException extends RuntimeException
/**
* 错误明细内部调试错误
*
* {@link CommonResult#getDetailMessage()} 一致的设计
*/
private String detailMessage;
@ -55,4 +53,4 @@ public class GlobalException extends RuntimeException
this.message = message;
return this;
}
}
}

View File

@ -2,7 +2,7 @@ package com.bonus.common.core.exception;
/**
* 业务异常
*
*
* @author bonus
*/
public final class ServiceException extends RuntimeException
@ -21,8 +21,6 @@ public final class ServiceException extends RuntimeException
/**
* 错误明细内部调试错误
*
* {@link CommonResult#getDetailMessage()} 一致的设计
*/
private String detailMessage;
@ -71,4 +69,4 @@ public final class ServiceException extends RuntimeException
this.detailMessage = detailMessage;
return this;
}
}
}

View File

@ -4,7 +4,7 @@ import com.bonus.common.core.utils.StringUtils;
/**
* 字符串格式化
*
*
* @author bonus
*/
public class StrFormatter
@ -19,10 +19,10 @@ public class StrFormatter
* 此方法只是简单将占位符 {} 按照顺序替换为参数<br>
* 如果想输出 {} 使用 \\转义 { 即可如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可<br>
* <br>
* 通常使用format("this is {} for {}", "a", "b") -> this is a for b<br>
* 转义{} format("this is \\{} for {}", "a", "b") -> this is \{} for a<br>
* 转义\ format("this is \\\\{} for {}", "a", "b") -> this is \a for b<br>
*
* 通常使用format("this is {} for {}", "a", "b") - this is a for b<br>
* 转义{} format("this is \\{} for {}", "a", "b") - this is \{} for a<br>
* 转义\ format("this is \\\\{} for {}", "a", "b") - this is \a for b<br>
*
* @param strPattern 字符串模板
* @param argArray 参数列表
* @return 结果

View File

@ -29,7 +29,7 @@ import reactor.core.publisher.Mono;
/**
* 客户端工具类
*
*
* @author bonus
*/
public class ServletUtils
@ -189,7 +189,7 @@ public class ServletUtils
/**
* 将字符串渲染到客户端
*
*
* @param response 渲染对象
* @param string 待渲染的字符串
*/
@ -210,7 +210,7 @@ public class ServletUtils
/**
* 是否是Ajax异步请求
*
*
* @param request
*/
public static boolean isAjaxRequest(HttpServletRequest request)
@ -239,7 +239,7 @@ public class ServletUtils
/**
* 内容编码
*
*
* @param str 内容
* @return 编码后的内容
*/
@ -257,7 +257,7 @@ public class ServletUtils
/**
* 内容解码
*
*
* @param str 内容
* @return 解码后的内容
*/
@ -278,7 +278,7 @@ public class ServletUtils
*
* @param response ServerHttpResponse
* @param value 响应内容
* @return Mono<Void>
* @return Mono
*/
public static Mono<Void> webFluxResponseWriter(ServerHttpResponse response, Object value)
{
@ -291,7 +291,7 @@ public class ServletUtils
* @param response ServerHttpResponse
* @param code 响应状态码
* @param value 响应内容
* @return Mono<Void>
* @return Mono&lt;Void&gt;
*/
public static Mono<Void> webFluxResponseWriter(ServerHttpResponse response, Object value, int code)
{
@ -305,7 +305,7 @@ public class ServletUtils
* @param status http状态码
* @param code 响应状态码
* @param value 响应内容
* @return Mono<Void>
* @return Mono&lt;Void&gt;
*/
public static Mono<Void> webFluxResponseWriter(ServerHttpResponse response, HttpStatus status, Object value, int code)
{
@ -320,7 +320,7 @@ public class ServletUtils
* @param status http状态码
* @param code 响应状态码
* @param value 响应内容
* @return Mono<Void>
* @return Mono&lt;Void&gt;
*/
public static Mono<Void> webFluxResponseWriter(ServerHttpResponse response, String contentType, HttpStatus status, Object value, int code)
{

View File

@ -9,7 +9,7 @@ import com.bonus.common.core.text.StrFormatter;
/**
* 字符串工具类
*
*
* @author bonus
*/
public class StringUtils extends org.apache.commons.lang3.StringUtils
@ -25,7 +25,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 获取参数不为空值
*
*
* @param value defaultValue 要判断的value
* @return value 返回值
*/
@ -36,7 +36,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个Collection是否为空 包含ListSetQueue
*
*
* @param coll 要判断的Collection
* @return true为空 false非空
*/
@ -47,7 +47,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个Collection是否非空包含ListSetQueue
*
*
* @param coll 要判断的Collection
* @return true非空 false
*/
@ -58,7 +58,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个对象数组是否为空
*
*
* @param objects 要判断的对象数组
** @return true为空 false非空
*/
@ -69,7 +69,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个对象数组是否非空
*
*
* @param objects 要判断的对象数组
* @return true非空 false
*/
@ -80,7 +80,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个Map是否为空
*
*
* @param map 要判断的Map
* @return true为空 false非空
*/
@ -91,7 +91,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个Map是否为空
*
*
* @param map 要判断的Map
* @return true非空 false
*/
@ -102,7 +102,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个字符串是否为空串
*
*
* @param str String
* @return true为空 false非空
*/
@ -113,7 +113,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个字符串是否为非空串
*
*
* @param str String
* @return true非空串 false空串
*/
@ -124,7 +124,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个对象是否为空
*
*
* @param object Object
* @return true为空 false非空
*/
@ -135,7 +135,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个对象是否非空
*
*
* @param object Object
* @return true非空 false
*/
@ -146,7 +146,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* * 判断一个对象是否是数组类型Java基本型别的数组
*
*
* @param object 对象
* @return true是数组 false不是数组
*/
@ -208,7 +208,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 截取字符串
*
*
* @param str 字符串
* @param start 开始
* @return 结果
@ -239,7 +239,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 截取字符串
*
*
* @param str 字符串
* @param start 开始
* @param end 结束
@ -285,7 +285,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 判断是否为空并且不是空白字符
*
*
* @param str 要判断的value
* @return 结果
*/
@ -308,14 +308,14 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
/**
* 格式化文本, {} 表示占位符<br>
* 此方法只是简单将占位符 {} 按照顺序替换为参数<br>
* 如果想输出 {} 使用 \\转义 { 即可如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可<br>
* <br>
* 通常使用format("this is {} for {}", "a", "b") -> this is a for b<br>
* 转义{} format("this is \\{} for {}", "a", "b") -> this is \{} for a<br>
* 转义\ format("this is \\\\{} for {}", "a", "b") -> this is \a for b<br>
*
* 格式化文本, {} 表示占位符
* 此方法只是简单将占位符 {} 按照顺序替换为参数
* 如果想输出 {} 使用 \\转义 { 即可如果想输出 {} 之前的 \ 使用双转义符 \\\\ 即可
*
* 通常使用format("this is {} for {}", "a", "b") - this is a for b
* 转义{} format("this is \\{} for {}", "a", "b") - this is \{} for a
* 转义\ format("this is \\\\{} for {}", "a", "b") - this is \a for b
*
* @param template 文本模板被替换的部分用 {} 表示
* @param params 参数值
* @return 格式化后的文本
@ -331,7 +331,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 是否为http(s)://开头
*
*
* @param link 链接
* @return 结果
*/
@ -417,7 +417,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 是否包含字符串
*
*
* @param str 验证字符串
* @param strs 字符串组
* @return 包含返回true
@ -438,8 +438,8 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
/**
* 将下划线大写方式命名的字符串转换为驼峰式如果转换前的下划线大写方式命名的字符串为空则返回空字符串 例如HELLO_WORLD->HelloWorld
*
* 将下划线大写方式命名的字符串转换为驼峰式如果转换前的下划线大写方式命名的字符串为空则返回空字符串 例如HELLO_WORLD- HelloWorld
*
* @param name 转换前的下划线大写方式命名的字符串
* @return 转换后的驼峰式命名的字符串
*/
@ -475,7 +475,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 驼峰式命名法
* 例如user_name->userName
* 例如user_name- userName
*/
public static String toCamelCase(String s)
{
@ -513,7 +513,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 查找指定字符串是否匹配指定字符串列表中的任意一个字符串
*
*
* @param str 指定字符串
* @param strs 需要检查的字符串数组
* @return 是否匹配
@ -535,14 +535,14 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
}
/**
* 判断url是否与规则配置:
* ? 表示单个字符;
* * 表示一层路径内的任意字符串不可跨层级;
* 判断url是否与规则配置:
* ? 表示单个字符;
* * 表示一层路径内的任意字符串不可跨层级;
* ** 表示任意层路径;
*
*
* @param pattern 匹配规则
* @param url 需要匹配的url
* @return
* @return 匹配返回true,否则返回false
*/
public static boolean isMatch(String pattern, String url)
{
@ -558,7 +558,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 数字左边补齐0使之达到指定长度注意如果数字转换为字符串后长度大于size则只保留 最后size个字符
*
*
* @param num 数字对象
* @param size 字符串指定长度
* @return 返回数字的字符串格式该字符串为指定长度
@ -570,7 +570,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
/**
* 字符串左补齐如果原始字符串s长度大于size则只保留最后size个字符
*
*
* @param s 原始字符串
* @param size 字符串指定长度
* @param c 用于补齐的字符

View File

@ -20,7 +20,7 @@ import org.springframework.web.multipart.MultipartFile;
/**
* 文件处理工具类
*
*
* @author bonus
*/
public class FileUtils
@ -35,10 +35,9 @@ public class FileUtils
/**
* 输出指定文件的byte数组
*
*
* @param filePath 文件路径
* @param os 输出流
* @return
*/
public static void writeBytes(String filePath, OutputStream os) throws IOException
{
@ -91,7 +90,7 @@ public class FileUtils
/**
* 删除文件
*
*
* @param filePath 文件
* @return
*/
@ -109,7 +108,7 @@ public class FileUtils
/**
* 文件名称验证
*
*
* @param filename 文件名称
* @return true 正常 false 非法
*/
@ -120,7 +119,7 @@ public class FileUtils
/**
* 检查文件是否可下载
*
*
* @param resource 需要下载的文件
* @return true 正常 false 非法
*/
@ -137,7 +136,7 @@ public class FileUtils
/**
* 下载文件名重新编码
*
*
* @param request 请求对象
* @param fileName 文件名
* @return 编码后的文件名
@ -226,7 +225,6 @@ public class FileUtils
*
* @param response 响应对象
* @param realFileName 真实文件名
* @return
*/
public static void setAttachmentResponseHeader(HttpServletResponse response, String realFileName) throws UnsupportedEncodingException
{

View File

@ -181,7 +181,6 @@ public class ExcelUtil<T>
* 隐藏Excel中列属性
*
* @param fields 列属性名 示例[单个"name"/多个"id","name"]
* @throws Exception
*/
public void hideColumn(String... fields)
{
@ -258,7 +257,7 @@ public class ExcelUtil<T>
/**
* 对excel表单默认第一个索引名转换成list
*
*
* @param is 输入流
* @return 转换后集合
*/
@ -283,7 +282,7 @@ public class ExcelUtil<T>
/**
* 对excel表单默认第一个索引名转换成list
*
*
* @param is 输入流
* @param titleNum 标题占用行数
* @return 转换后集合
@ -295,7 +294,7 @@ public class ExcelUtil<T>
/**
* 对excel表单指定表格索引名转换成list
*
*
* @param sheetName 表格索引名
* @param titleNum 标题占用行数
* @param is 输入流
@ -452,7 +451,6 @@ public class ExcelUtil<T>
* @param response 返回数据
* @param list 导出数据集合
* @param sheetName 工作表的名称
* @return 结果
*/
public void exportExcel(HttpServletResponse response, List<T> list, String sheetName)
{
@ -466,7 +464,6 @@ public class ExcelUtil<T>
* @param list 导出数据集合
* @param sheetName 工作表的名称
* @param title 标题
* @return 结果
*/
public void exportExcel(HttpServletResponse response, List<T> list, String sheetName, String title)
{
@ -480,7 +477,6 @@ public class ExcelUtil<T>
* 对list数据源将其里面的数据导入到excel表单
*
* @param sheetName 工作表的名称
* @return 结果
*/
public void importTemplateExcel(HttpServletResponse response, String sheetName)
{
@ -492,7 +488,6 @@ public class ExcelUtil<T>
*
* @param sheetName 工作表的名称
* @param title 标题
* @return 结果
*/
public void importTemplateExcel(HttpServletResponse response, String sheetName, String title)
{
@ -503,9 +498,7 @@ public class ExcelUtil<T>
}
/**
* 对list数据源将其里面的数据导入到excel表单
*
* @return 结果
* 对list数据源将其里面的数据导出到excel表单
*/
public void exportExcel(HttpServletResponse response)
{
@ -566,7 +559,7 @@ public class ExcelUtil<T>
/**
* 填充excel数据
*
*
* @param index 序号
* @param row 单元格行
*/
@ -637,7 +630,7 @@ public class ExcelUtil<T>
/**
* 创建表格样式
*
*
* @param wb 工作薄对象
* @return 样式列表
*/
@ -692,7 +685,7 @@ public class ExcelUtil<T>
/**
* 根据Excel注解创建表格头样式
*
*
* @param wb 工作薄对象
* @return 自定义样式列表
*/
@ -728,7 +721,7 @@ public class ExcelUtil<T>
/**
* 根据Excel注解创建表格列样式
*
*
* @param wb 工作薄对象
* @return 自定义样式列表
*/
@ -760,7 +753,7 @@ public class ExcelUtil<T>
/**
* 根据Excel注解创建表格列样式
*
*
* @param styles 自定义样式列表
* @param field 属性列信息
* @param excel 注解信息
@ -822,7 +815,7 @@ public class ExcelUtil<T>
/**
* 设置单元格信息
*
*
* @param value 单元格值
* @param attr 注解相关
* @param cell 单元格信息
@ -981,7 +974,7 @@ public class ExcelUtil<T>
/**
* 设置 POI XSSFSheet 单元格提示或选择框
*
*
* @param sheet 表单
* @param textlist 下拉框显示的内容
* @param promptContent 提示内容
@ -1018,7 +1011,7 @@ public class ExcelUtil<T>
/**
* 设置某些列的值只能输入预制的数据,显示下拉框兼容超出一定数量的下拉框.
*
*
* @param sheet 要设置的sheet.
* @param textlist 下拉框显示的内容
* @param promptContent 提示内容
@ -1070,7 +1063,7 @@ public class ExcelUtil<T>
/**
* 解析导出值 0=,1=,2=未知
*
*
* @param propertyValue 参数值
* @param converterExp 翻译注解
* @param separator 分隔符
@ -1107,7 +1100,7 @@ public class ExcelUtil<T>
/**
* 反向解析值 =0,=1,未知=2
*
*
* @param propertyValue 参数值
* @param converterExp 翻译注解
* @param separator 分隔符
@ -1349,7 +1342,7 @@ public class ExcelUtil<T>
/**
* 创建工作表
*
*
* @param sheetNo sheet数量
* @param index 序号
*/
@ -1366,7 +1359,7 @@ public class ExcelUtil<T>
/**
* 获取单元格值
*
*
* @param row 获取的行
* @param column 获取单元格列号
* @return 单元格值
@ -1426,7 +1419,7 @@ public class ExcelUtil<T>
/**
* 判断是否是空行
*
*
* @param row 判断的行
* @return
*/
@ -1449,7 +1442,7 @@ public class ExcelUtil<T>
/**
* 格式化不同类型的日期对象
*
*
* @param dateFormat 日期格式
* @param val 被格式化的日期对象
* @return 格式化后的日期字符
@ -1515,7 +1508,7 @@ public class ExcelUtil<T>
/**
* 获取对象的子列表方法
*
*
* @param name 名称
* @param pojoClass 类对象
* @return 子列表方法

View File

@ -33,7 +33,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
/**
* 私有构造
*
*
* @param data 数据
*/
private UUID(byte[] data)
@ -66,8 +66,8 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
}
/**
* 获取类型 4伪随机生成的UUID 的静态工厂
*
* 获取类型 4伪随机生成的UUID 的静态工厂
*
* @return 随机生成的 {@code UUID}
*/
public static UUID fastUUID()
@ -77,7 +77,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
/**
* 获取类型 4伪随机生成的UUID 的静态工厂 使用加密的强伪随机数生成器生成该 UUID
*
*
* @return 随机生成的 {@code UUID}
*/
public static UUID randomUUID()
@ -87,7 +87,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
/**
* 获取类型 4伪随机生成的UUID 的静态工厂 使用加密的强伪随机数生成器生成该 UUID
*
*
* @param isSecure 是否使用{@link SecureRandom}如果是可以获得更安全的随机码否则可以得到更好的性能
* @return 随机生成的 {@code UUID}
*/
@ -289,7 +289,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
*
* <p>
* UUID 的字符串表示形式由此 BNF 描述
*
* <blockquote>
* <pre>
* {@code
* UUID = <time_low>-<time_mid>-<time_high_and_version>-<variant_and_sequence>-<node>
@ -302,7 +302,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
* hexDigit = [0-9a-fA-F]
* }
* </pre>
*
*
* </blockquote>
*
* @return {@code UUID} 的字符串表现形式
@ -319,7 +319,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
*
* <p>
* UUID 的字符串表示形式由此 BNF 描述
*
*<blockquote>
* <pre>
* {@code
* UUID = <time_low>-<time_mid>-<time_high_and_version>-<variant_and_sequence>-<node>
@ -332,7 +332,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
* hexDigit = [0-9a-fA-F]
* }
* </pre>
*
*
* </blockquote>
*
* @param isSimple 是否简单模式简单模式为不带'-'的UUID字符串
@ -432,7 +432,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
// Private method start
/**
* 返回指定数字对应的hex值
*
*
* @param val
* @param digits
* @return
@ -456,7 +456,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
/**
* 获取{@link SecureRandom}类提供加密的强随机数生成器 (RNG)
*
*
* @return {@link SecureRandom}
*/
public static SecureRandom getSecureRandom()
@ -474,7 +474,7 @@ public final class UUID implements java.io.Serializable, Comparable<UUID>
/**
* 获取随机数生成器对象<br>
* ThreadLocalRandom是JDK 7之后提供并发产生随机数能够解决多个线程发生的竞争争夺
*
*
* @return {@link ThreadLocalRandom}
*/
public static ThreadLocalRandom getRandom()

View File

@ -2,10 +2,11 @@ package com.bonus.common.core.web.page;
import com.bonus.common.core.text.Convert;
import com.bonus.common.core.utils.ServletUtils;
//import org.jetbrains.annotations.NotNull;
/**
* 表格数据处理
*
*
* @author bonus
*/
public class TableSupport
@ -37,6 +38,7 @@ public class TableSupport
/**
* 封装分页对象
* @return 返回 PageDomain 类型的实例
*/
public static PageDomain getPageDomain()
{

View File

@ -36,4 +36,27 @@
<url>http://192.168.0.56:8081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<!-- 配置Javadoc生成的特定选项 -->
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>javadoc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

48
pom.xml
View File

@ -277,29 +277,29 @@
</pluginManagement>
</build>
<repositories>
<repository>
<id>public</id>
<name>aliyun nexus</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>public</id>-->
<!-- <name>aliyun nexus</name>-->
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
<!-- <releases>-->
<!-- <enabled>true</enabled>-->
<!-- </releases>-->
<!-- </repository>-->
<!-- </repositories>-->
<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>aliyun nexus</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<!-- <pluginRepositories>-->
<!-- <pluginRepository>-->
<!-- <id>public</id>-->
<!-- <name>aliyun nexus</name>-->
<!-- <url>https://maven.aliyun.com/repository/public</url>-->
<!-- <releases>-->
<!-- <enabled>true</enabled>-->
<!-- </releases>-->
<!-- <snapshots>-->
<!-- <enabled>false</enabled>-->
<!-- </snapshots>-->
<!-- </pluginRepository>-->
<!-- </pluginRepositories>-->
</project>
</project>