From d9e54388e7fde2462e8b7e0165c5e7da3f202593 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 07 七月 2022 19:07:59 +0800 Subject: [PATCH] add 整合 springdoc-openapi-javadoc 基于代码注释生成文档 --- pom.xml | 153 ++++++++++++++++++++++++++++++-------------------- 1 files changed, 92 insertions(+), 61 deletions(-) diff --git a/pom.xml b/pom.xml index 6125028..8d9a17f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,47 +6,46 @@ <groupId>com.ruoyi</groupId> <artifactId>ruoyi-vue-plus</artifactId> - <version>4.0.1</version> + <version>4.2.0</version> <name>RuoYi-Vue-Plus</name> <url>https://gitee.com/JavaLionLi/RuoYi-Vue-Plus</url> <description>RuoYi-Vue-Plus鍚庡彴绠$悊绯荤粺</description> <properties> - <ruoyi-vue-plus.version>4.0.1</ruoyi-vue-plus.version> - <spring-boot.version>2.6.4</spring-boot.version> + <ruoyi-vue-plus.version>4.2.0</ruoyi-vue-plus.version> + <spring-boot.version>2.6.9</spring-boot.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version> - <druid.version>1.2.8</druid.version> + <spring-boot.mybatis>2.2.2</spring-boot.mybatis> + <druid.version>1.2.11</druid.version> <knife4j.version>3.0.3</knife4j.version> <swagger-annotations.version>1.5.22</swagger-annotations.version> - <poi.version>4.1.2</poi.version> - <commons-compress.version>1.21</commons-compress.version> - <easyexcel.version>3.0.5</easyexcel.version> - <cglib.version>3.3.0</cglib.version> + <poi.version>5.2.2</poi.version> + <easyexcel.version>3.1.1</easyexcel.version> <velocity.version>2.3</velocity.version> - <satoken.version>1.29.0</satoken.version> - <mybatis-plus.version>3.5.1</mybatis-plus.version> + <satoken.version>1.30.0</satoken.version> + <mybatis-plus.version>3.5.2</mybatis-plus.version> <p6spy.version>3.9.1</p6spy.version> - <hutool.version>5.7.21</hutool.version> - <okhttp.version>4.9.2</okhttp.version> - <spring-boot-admin.version>2.6.2</spring-boot-admin.version> - <redisson.version>3.16.8</redisson.version> + <hutool.version>5.8.3</hutool.version> + <okhttp.version>4.9.3</okhttp.version> + <spring-boot-admin.version>2.6.7</spring-boot-admin.version> + <redisson.version>3.17.4</redisson.version> <lock4j.version>2.2.1</lock4j.version> - <dynamic-ds.version>3.5.0</dynamic-ds.version> - <tlog.version>1.3.6</tlog.version> - <xxl-job.version>2.3.0</xxl-job.version> + <dynamic-ds.version>3.5.1</dynamic-ds.version> + <tlog.version>1.4.3</tlog.version> + <xxl-job.version>2.3.1</xxl-job.version> - <!-- jdk11 缂哄け渚濊禆 jaxb--> - <jaxb.version>3.0.1</jaxb.version> + <!-- 缁熶竴 guava 鐗堟湰 瑙e喅闅愬紡婕忔礊闂 --> + <guava.version>30.0-jre</guava.version> <!-- OSS 閰嶇疆 --> - <qiniu.version>7.9.3</qiniu.version> - <aliyun.oss.version>3.14.0</aliyun.oss.version> - <qcloud.cos.version>5.6.68</qcloud.cos.version> - <minio.version>8.3.7</minio.version> + <aws-java-sdk-s3.version>1.12.248</aws-java-sdk-s3.version> + <!-- SMS 閰嶇疆 --> + <aliyun.sms.version>2.0.9</aliyun.sms.version> + <tencent.sms.version>3.1.537</tencent.sms.version> <!-- docker 閰嶇疆 --> <docker.registry.url>localhost</docker.registry.url> @@ -86,37 +85,27 @@ </dependency> <dependency> - <groupId>com.github.xiaoymin</groupId> - <artifactId>knife4j-spring-boot-starter</artifactId> - <version>${knife4j.version}</version> - <exclusions> - <exclusion> - <artifactId>swagger-annotations</artifactId> - <groupId>io.swagger</groupId> - </exclusion> - </exclusions> + <groupId>org.springdoc</groupId> + <artifactId>springdoc-openapi-ui</artifactId> + <version>1.6.9</version> </dependency> <dependency> - <groupId>io.swagger</groupId> - <artifactId>swagger-annotations</artifactId> - <version>${swagger-annotations.version}</version> + <groupId>org.springdoc</groupId> + <artifactId>springdoc-openapi-javadoc</artifactId> + <version>1.6.9</version> </dependency> - <!-- excel宸ュ叿 --> + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + <version>${poi.version}</version> + </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>${poi.version}</version> </dependency> - - <!-- 淇poi婕忔礊 --> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-compress</artifactId> - <version>${commons-compress.version}</version> - </dependency> - <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> @@ -124,19 +113,9 @@ <exclusions> <exclusion> <groupId>org.apache.poi</groupId> - <artifactId>poi</artifactId> - </exclusion> - <exclusion> - <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml-schemas</artifactId> </exclusion> </exclusions> - </dependency> - - <dependency> - <groupId>cglib</groupId> - <artifactId>cglib</artifactId> - <version>${cglib.version}</version> </dependency> <!-- velocity浠g爜鐢熸垚浣跨敤妯℃澘 --> @@ -157,13 +136,6 @@ <groupId>cn.dev33</groupId> <artifactId>sa-token-jwt</artifactId> <version>${satoken.version}</version> - </dependency> - - <!-- jdk11 缂哄け渚濊禆 jaxb--> - <dependency> - <groupId>com.sun.xml.bind</groupId> - <artifactId>jaxb-impl</artifactId> - <version>${jaxb.version}</version> </dependency> <!-- dynamic-datasource 澶氭暟鎹簮--> @@ -194,6 +166,24 @@ <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>${okhttp.version}</version> + </dependency> + + <dependency> + <groupId>com.amazonaws</groupId> + <artifactId>aws-java-sdk-s3</artifactId> + <version>${aws-java-sdk-s3.version}</version> + </dependency> + + <dependency> + <groupId>com.aliyun</groupId> + <artifactId>dysmsapi20170525</artifactId> + <version>${aliyun.sms.version}</version> + </dependency> + + <dependency> + <groupId>com.tencentcloudapi</groupId> + <artifactId>tencentcloud-sdk-java</artifactId> + <version>${tencent.sms.version}</version> </dependency> <dependency> @@ -230,12 +220,33 @@ <groupId>com.yomahub</groupId> <artifactId>tlog-web-spring-boot-starter</artifactId> <version>${tlog.version}</version> + <exclusions> + <exclusion> + <artifactId>log4j</artifactId> + <groupId>log4j</groupId> + </exclusion> + <exclusion> + <artifactId>dom4j</artifactId> + <groupId>dom4j</groupId> + </exclusion> + <exclusion> + <artifactId>commons-beanutils</artifactId> + <groupId>commons-beanutils</groupId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>com.yomahub</groupId> <artifactId>tlog-xxljob-spring-boot-starter</artifactId> <version>${tlog.version}</version> + </dependency> + + <!-- 缁熶竴 guava 鐗堟湰 瑙e喅闅愬紡婕忔礊闂 --> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>${guava.version}</version> </dependency> <!-- 瀹氭椂浠诲姟 --> @@ -280,6 +291,13 @@ <version>${ruoyi-vue-plus.version}</version> </dependency> + <!-- SMS鐭俊妯″潡 --> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-sms</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + <!-- demo妯″潡 --> <dependency> <groupId>com.ruoyi</groupId> @@ -300,6 +318,7 @@ <module>ruoyi-demo</module> <module>ruoyi-extend</module> <module>ruoyi-oss</module> + <module>ruoyi-sms</module> </modules> <packaging>pom</packaging> @@ -313,6 +332,18 @@ <source>${java.version}</source> <target>${java.version}</target> <encoding>${project.build.sourceEncoding}</encoding> + <annotationProcessorPaths> + <path> + <groupId>com.github.therapi</groupId> + <artifactId>therapi-runtime-javadoc-scribe</artifactId> + <version>0.13.0</version> + </path> + <path> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>1.18.24</version> + </path> + </annotationProcessorPaths> </configuration> </plugin> </plugins> -- Gitblit v1.9.3