build: v1.10.9 release (^.^)YYa!!

This commit is contained in:
Michael Yang 2025-03-19 18:31:01 +08:00
parent 097d93a343
commit 6fa86a03a5
3 changed files with 221 additions and 166 deletions

View File

@ -2,6 +2,14 @@
查看 [全部代码贡献者](/zh/intro/what-is-mybatisflex.html#贡献者)。
## v1.10.9 20250319
- 新增: 代码生成器支持配置 entity 类 lombok 注解生成 (@NoArgsConstructor, @AllArgsConstructor),感谢 @coder-xiaomo
- 新增:增加全局忽略 schema 配置的支持,感谢 @cui
- 修复MultiEntityKeyGenerator 不支持 set 设置的问题,感谢 @zhb
- 修复exists 条件中的表别名和父查询保持一致的问题,感谢 @cybzzz
- 修复:修复在 diaelct 中去调用 Db 工具时可能出现类型转换错误的问题
## v1.10.8 20250217
- 新增:代码生成器 GlobalConfig 添加 setEntityWithBaseClassEnable 设置,感谢 @coder-xiaomo

View File

@ -96,6 +96,7 @@
</dependencies>
</dependencyManagement>
<build>
<resources>
<resource>
@ -107,6 +108,7 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@ -117,24 +119,35 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- 跳过测试mvn package -Dmaven.test.skip=true -->
<!-- 检测依赖最新版本mvn versions:display-dependency-updates -->
<!-- 统一修改版本号mvn versions:set -DnewVersion=3.0 -->
<!-- mvn -N versions:update-child-modules -->
<!-- mvn versions:set -DnewVersion=2.0 -DprocessAllModules=true -DallowSnapshots=true -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${maven-flatten.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- mvn clean source:jar install -->
<!-- mvn deploy -Dmaven.test.skip=true -e -P release -->
<!-- mvn deploy -e -P release -->
<id>release</id>
<build>
<plugins>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -142,7 +155,7 @@
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
@ -155,8 +168,8 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<windowtitle>Mybatis-Flex</windowtitle>
<doctitle>Mybatis-Flex</doctitle>
<windowtitle>MybatisFlex</windowtitle>
<doctitle>MybatisFlex</doctitle>
<show>private</show>
<detectLinks>false</detectLinks>
<detectOfflineLinks>true</detectOfflineLinks>
@ -174,14 +187,15 @@
</execution>
</executions>
</plugin>
<!-- 以下是GPG -->
<!-- Javadoc -->
<!-- Gpg Signature -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
@ -189,20 +203,36 @@
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
<!-- 跳过测试mvn package -Dmaven.test.skip=true -->
<!-- 检测依赖最新版本mvn versions:display-dependency-updates -->
<!-- 统一修改版本号mvn versions:set -DnewVersion=3.0 -->
<!-- mvn -N versions:update-child-modules -->
<!-- mvn versions:set -DnewVersion=2.0 -DprocessAllModules=true -DallowSnapshots=true -->
<!-- mvn clean source:jar install -->
<!-- mvn deploy -Dmaven.test.skip=true -e -P release -->
<!-- mvn deploy -e -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<id>central</id>
<url>https://central.sonatype.com/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>

93
pom.xml
View File

@ -220,6 +220,7 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@ -231,36 +232,34 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${maven-flatten.version}</version>
<configuration>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<doclint>none</doclint>
<skippedModules>mybatis-flex-spring-boot3-starter,mybatis-flex-test</skippedModules>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- 跳过测试mvn package -Dmaven.test.skip=true -->
<!-- 检测依赖最新版本mvn versions:display-dependency-updates -->
<!-- 统一修改版本号mvn versions:set -DnewVersion=3.0 -->
<!-- mvn -N versions:update-child-modules -->
<!-- mvn versions:set -DnewVersion=2.0 -DprocessAllModules=true -DallowSnapshots=true -->
<!-- mvn clean source:jar install -->
<!-- mvn deploy -Dmaven.test.skip=true -e -P release -->
<!-- mvn deploy -e -P release -->
<id>release</id>
<build>
<plugins>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -268,7 +267,7 @@
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
@ -281,8 +280,8 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<windowtitle>Mybatis-Flex</windowtitle>
<doctitle>Mybatis-Flex</doctitle>
<windowtitle>MybatisFlex</windowtitle>
<doctitle>MybatisFlex</doctitle>
<show>private</show>
<detectLinks>false</detectLinks>
<detectOfflineLinks>true</detectOfflineLinks>
@ -300,14 +299,15 @@
</execution>
</executions>
</plugin>
<!-- 以下是GPG -->
<!-- Javadoc -->
<!-- Gpg Signature -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
@ -315,20 +315,37 @@
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
<!-- 跳过测试mvn package -Dmaven.test.skip=true -->
<!-- 检测依赖最新版本mvn versions:display-dependency-updates -->
<!-- 统一修改版本号mvn versions:set -DnewVersion=3.0 -->
<!-- mvn -N versions:update-child-modules -->
<!-- mvn versions:set -DnewVersion=2.0 -DprocessAllModules=true -DallowSnapshots=true -->
<!-- mvn clean source:jar install -->
<!-- mvn deploy -Dmaven.test.skip=true -e -P release -->
<!-- mvn deploy -e -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<id>central</id>
<url>https://central.sonatype.com/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>