Merge pull request #705 from xuxiaowei-com-cn/dev

⬆️ Upgrading dependencies hutool 5.8.4 & spring-javaformat-maven-plugin 0.0.34 & Enforce that all code matches the required style
This commit is contained in:
冷冷 2022-06-28 12:25:45 +08:00 committed by GitHub
commit c6253e53be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 110 additions and 98 deletions

View File

@ -38,9 +38,9 @@
| Spring Boot | 2.7.1 | | Spring Boot | 2.7.1 |
| Spring Cloud | 2021.0.3 | | Spring Cloud | 2021.0.3 |
| Spring Cloud Alibaba | 2021.0.1.0 | | Spring Cloud Alibaba | 2021.0.1.0 |
| Spring Authorization Server | 0.3.0 | | Spring Authorization Server | 0.3.1 |
| Mybatis Plus | 3.5.2 | | Mybatis Plus | 3.5.2 |
| hutool | 5.8.3 | | hutool | 5.8.4 |
| Avue | 2.6.18 | | Avue | 2.6.18 |
### 模块说明 ### 模块说明

18
pom.xml
View File

@ -35,7 +35,7 @@
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<spring-boot-admin.version>2.7.1</spring-boot-admin.version> <spring-boot-admin.version>2.7.1</spring-boot-admin.version>
<spring.authorization.version>0.3.1</spring.authorization.version> <spring.authorization.version>0.3.1</spring.authorization.version>
<hutool.version>5.8.3</hutool.version> <hutool.version>5.8.4</hutool.version>
<dynamic-ds.version>3.5.1</dynamic-ds.version> <dynamic-ds.version>3.5.1</dynamic-ds.version>
<captcha.version>2.2.2</captcha.version> <captcha.version>2.2.2</captcha.version>
<velocity.version>2.3</velocity.version> <velocity.version>2.3</velocity.version>
@ -51,7 +51,7 @@
<docker.username>username</docker.username> <docker.username>username</docker.username>
<docker.password>password</docker.password> <docker.password>password</docker.password>
<git.commit.plugin>4.9.9</git.commit.plugin> <git.commit.plugin>4.9.9</git.commit.plugin>
<spring.checkstyle.plugin>0.0.32</spring.checkstyle.plugin> <spring.checkstyle.plugin>0.0.34</spring.checkstyle.plugin>
</properties> </properties>
<!-- 以下依赖 全局所有的模块都会引入 --> <!-- 以下依赖 全局所有的模块都会引入 -->
@ -222,11 +222,23 @@
</includeOnlyProperties> </includeOnlyProperties>
</configuration> </configuration>
</plugin> </plugin>
<!--代码格式插件默认使用spring 规则--> <!--
代码格式插件默认使用spring 规则,可运行命令进行项目格式化:./mvnw spring-javaformat:apply 或 mvn spring-javaformat:apply可在IDEA中安装插件以下插件进行自动格式化
https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-intellij-idea-plugin
-->
<plugin> <plugin>
<groupId>io.spring.javaformat</groupId> <groupId>io.spring.javaformat</groupId>
<artifactId>spring-javaformat-maven-plugin</artifactId> <artifactId>spring-javaformat-maven-plugin</artifactId>
<version>${spring.checkstyle.plugin}</version> <version>${spring.checkstyle.plugin}</version>
<executions>
<execution>
<phase>validate</phase>
<inherited>true</inherited>
<goals>
<goal>validate</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>