Skip to content

Commit

Permalink
依赖更新:修改maven配置,提取jdk版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
YunlongChen committed Oct 15, 2024
1 parent 667f128 commit a37e323
Show file tree
Hide file tree
Showing 30 changed files with 217 additions and 256 deletions.
4 changes: 2 additions & 2 deletions checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
-->

<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">

<!--
Checkstyle configuration that checks the Google coding conventions from Google Java Style
Expand Down
4 changes: 2 additions & 2 deletions docs/category/代码生成器/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public class TestDomain extends BaseEntity {
</execution>
</executions>
<configuration>
<source>17</source>
<target>17</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.source}</target>
<encoding>UTF-8</encoding>
<compilerArgs>
<!-- 指定源文件生成目录 ${project.basedir} 表示当前项目(子模块)的项目绝对地址,-A表示使用自定义编译选项-->
Expand Down
4 changes: 2 additions & 2 deletions docs/category/代码生成器/快速开始.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public class TestDomain extends BaseEntity {
</execution>
</executions>
<configuration>
<source>17</source>
<target>17</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.source}</target>
<encoding>UTF-8</encoding>
<compilerArgs>
<!-- 指定源文件生成目录 ${project.basedir} 表示当前项目(子模块)的项目绝对地址,-A表示使用自定义编译选项-->
Expand Down
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${maven.compiler.encoding}</encoding>
</configuration>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
9 changes: 0 additions & 9 deletions qing-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@
<name>qing-application</name>
<description>qing-application</description>
<packaging>pom</packaging>
<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<modules>
<module>qing-application-manager</module>
Expand Down
6 changes: 0 additions & 6 deletions qing-application/qing-application-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@

<artifactId>qing-application-demo</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
7 changes: 3 additions & 4 deletions qing-application/qing-application-manager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<description>qing-application-manager</description>

<properties>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<kotlin.version>1.9.23</kotlin.version>
Expand Down Expand Up @@ -183,9 +182,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<encoding>UTF-8</encoding>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${maven.compiler.encoding}</encoding>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
Expand Down
6 changes: 0 additions & 6 deletions qing-archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,4 @@
<modules>
<module>qing-service-archetype</module>
</modules>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version> <!-- or newer version -->
<configuration>
<source>17</source>
<target>17</target>
<annotationProcessorPaths>
<path>
<groupId>cn.chenyunlong</groupId>
Expand Down
6 changes: 0 additions & 6 deletions qing-codegen-plugin/qing-codegen-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
<artifactId>qing-codegen-api</artifactId>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>io.swagger.core.v3</groupId>
Expand Down
6 changes: 3 additions & 3 deletions qing-codegen-plugin/qing-codegen-apt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source>
<target>17</target>
<encoding>UTF-8</encoding>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${maven.compiler.encoding}</encoding>
<annotationProcessorPaths>
<path>
<groupId>com.google.auto.service</groupId>
Expand Down
4 changes: 2 additions & 2 deletions qing-codegen-plugin/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public class TestDomain extends BaseEntity {
</execution>
</executions>
<configuration>
<source>17</source>
<target>17</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.source}</target>
<encoding>UTF-8</encoding>
<compilerArgs>
<!-- 指定源文件生成目录 ${project.basedir} 表示当前项目(子模块)的项目绝对地址,-A表示使用自定义编译选项-->
Expand Down
4 changes: 2 additions & 2 deletions qing-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
</plugins>
Expand Down
11 changes: 2 additions & 9 deletions qing-domain-gen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

<packaging>jar</packaging>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.plugin.validation>NONE</maven.plugin.validation>
</properties>

<dependencies>
<dependency>
<groupId>cn.chenyunlong</groupId>
Expand Down Expand Up @@ -52,8 +45,8 @@
</execution>
</executions>
<configuration>
<source>17</source>
<target>17</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>UTF-8</encoding>
<compilerArgs>
<compilerArg>-AbaseDir=${project.basedir}</compilerArg>
Expand Down
6 changes: 3 additions & 3 deletions qing-domain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@
</execution>
</executions>
<configuration>
<source>17</source>
<target>17</target>
<encoding>UTF-8</encoding>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<encoding>${maven.compiler.encoding}</encoding>
</configuration>
</plugin>
<plugin>
Expand Down
5 changes: 0 additions & 5 deletions qing-infrastructure-anime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
<artifactId>qing-infrastructure-anime</artifactId>
<packaging>jar</packaging>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
Expand Down
9 changes: 0 additions & 9 deletions qing-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
<description>基础设施</description>

<packaging>jar</packaging>
<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
<dependency>
Expand Down
6 changes: 0 additions & 6 deletions qing-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,4 @@

<artifactId>qing-services</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

</project>
9 changes: 0 additions & 9 deletions qing-starters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@
<version>0.0.2-SNAPSHOT</version>

<packaging>pom</packaging>
<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<modules>
<module>qing-jpa-spring-boot-starter</module>
Expand Down
4 changes: 0 additions & 4 deletions qing-starters/qing-dingtalk-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
<artifactId>qing-dingtalk-spring-boot-starter</artifactId>
<name>qing-dingtalk-spring-boot-starter</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
12 changes: 0 additions & 12 deletions qing-starters/qing-flowable-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@

<artifactId>qing-flowable-spring-boot-starter</artifactId>
<name>qing-flowable-spring-boot-starter</name>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand All @@ -48,7 +37,6 @@
<artifactId>camunda-bpm-spring-boot-starter</artifactId>
<version>7.15.0</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
Expand Down
9 changes: 0 additions & 9 deletions qing-starters/qing-jimmer-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>qing-jimmer-spring-boot-starter</artifactId>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
9 changes: 0 additions & 9 deletions qing-starters/qing-jpa-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>qing-jpa-spring-boot-starter</artifactId>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
10 changes: 0 additions & 10 deletions qing-starters/qing-mybatis-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@

<name>qing-mybatis-spring-boot-starter</name>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
10 changes: 0 additions & 10 deletions qing-starters/qing-oss-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@
<artifactId>qing-oss-spring-boot-starter</artifactId>
<name>qing-oss-spring-boot-starter</name>

<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
6 changes: 0 additions & 6 deletions qing-starters/qing-registry-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@

<artifactId>qing-registry-spring-boot-starter</artifactId>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
Expand Down
9 changes: 0 additions & 9 deletions qing-starters/qing-security-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@
<name>qing-security-spring-boot-starter</name>
<version>0.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<java.version>17</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<dependencies>
<dependency>
Expand Down
Loading

0 comments on commit a37e323

Please sign in to comment.