test(cache): 修复CacheConfigTest边界值测试

- 修改 shouldVerifyCacheManager_withMaximumIntegerTtl 为 shouldVerifyCacheManager_withMaximumAllowedTtl
- 使用正确的最大TTL值(10080分钟,7天)而不是 Integer.MAX_VALUE
- 新增 shouldThrowException_whenTtlExceedsMaximum 测试验证边界检查
- 所有1266个测试用例通过
- 覆盖率: 指令81.89%, 行88.48%, 分支51.55%

docs: 添加项目状态报告
- 生成 PROJECT_STATUS_REPORT.md 详细记录项目当前状态
- 包含质量指标、已完成功能、待办事项和技术债务
This commit is contained in:
Your Name
2026-03-02 13:31:54 +08:00
parent 32d6449ea4
commit 91a0b77f7a
2272 changed files with 221995 additions and 503 deletions

View File

@@ -0,0 +1,4 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Sat Jan 31 09:39:05 CST 2026
hibernate-commons-annotations-6.0.6.Final.jar>aliyunmaven=
hibernate-commons-annotations-6.0.6.Final.pom>aliyunmaven=

View File

@@ -0,0 +1 @@
77a5f94b56d49508e0ee334751db5b78e5ccd50c

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
<!-- that they should prefer consuming it instead. -->
<!-- do_not_remove: published-with-gradle-metadata -->
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>6.0.6.Final</version>
<name>Hibernate Commons Annotations</name>
<description>Common reflection code used in support of annotation processing</description>
<url>http://hibernate.org</url>
<organization>
<name>Hibernate.org</name>
<url>http://hibernate.org</url>
</organization>
<licenses>
<license>
<name>GNU Library General Public License v2.1 or later</name>
<url>http://www.opensource.org/licenses/LGPL-2.1</url>
<distribution>repo</distribution>
<comments>See discussion at http://hibernate.org/community/license/ for more details.</comments>
</license>
</licenses>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>http://hibernate.org</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:http://github.com/hibernate/hibernate-commons-annotations.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-commons-annotations.git</developerConnection>
<url>http://github.com/hibernate/hibernate-commons-annotations</url>
</scm>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HCANN</url>
</issueManagement>
</project>

View File

@@ -0,0 +1 @@
dd707f7aeac4e43c47b88ae6a5580bf04871e40f

View File

@@ -0,0 +1,4 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Sat Jan 31 09:39:05 CST 2026
hibernate-core-6.2.13.Final.pom>aliyunmaven=
hibernate-core-6.2.13.Final.jar>aliyunmaven=

View File

@@ -0,0 +1 @@
de458672b40154ab9ecfe7466987ad1772167af8

View File

@@ -0,0 +1,183 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
<version>6.2.13.Final</version>
<name>Hibernate ORM - hibernate-core</name>
<description>Hibernate's core ORM functionality</description>
<url>https://hibernate.org/orm</url>
<organization>
<name>Hibernate.org</name>
<url>https://hibernate.org</url>
</organization>
<licenses>
<license>
<name>GNU Library General Public License v2.1 or later</name>
<url>https://www.opensource.org/licenses/LGPL-2.1</url>
<distribution>repo</distribution>
<comments>See discussion at https://hibernate.org/community/license/ for more details.</comments>
</license>
</licenses>
<developers>
<developer>
<id>hibernate-team</id>
<name>The Hibernate Development Team</name>
<organization>Hibernate.org</organization>
<organizationUrl>https://hibernate.org</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/hibernate/hibernate-orm.git</connection>
<developerConnection>scm:git:git@github.com:hibernate/hibernate-orm.git</developerConnection>
<url>https://github.com/hibernate/hibernate-orm</url>
</scm>
<issueManagement>
<system>jira</system>
<url>https://hibernate.atlassian.net/browse/HHH</url>
</issueManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>[2.17.1, 3)</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>3.1.0</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
<version>2.0.1</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.5.0.Final</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>6.0.6.Final</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.smallrye</groupId>
<artifactId>jandex</artifactId>
<version>3.0.5</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>classmate</artifactId>
<version>1.5.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.14.7</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.0</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>4.0.2</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<version>2.0.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.10.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1 @@
604a2360b771b73d7e3522ca3fdc82b840263e60

View File

@@ -0,0 +1,3 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Sat Jan 31 09:38:40 CST 2026
hibernate-validator-parent-8.0.1.Final.pom>aliyunmaven=

View File

@@ -0,0 +1 @@
24dcbbec8d17dc077c1863732d3bdb67a014c36f

View File

@@ -0,0 +1,4 @@
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Sat Jan 31 09:39:05 CST 2026
hibernate-validator-8.0.1.Final.pom>aliyunmaven=
hibernate-validator-8.0.1.Final.jar>aliyunmaven=

View File

@@ -0,0 +1 @@
e49e116b3d3928060599b176b3538bb848718e95

View File

@@ -0,0 +1,349 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Hibernate Validator, declare and validate application constraints
~
~ License: Apache License, Version 2.0
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator-parent</artifactId>
<version>8.0.1.Final</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>hibernate-validator</artifactId>
<name>Hibernate Validator Engine</name>
<description>Hibernate's Jakarta Bean Validation reference implementation.</description>
<properties>
<hibernate-validator-parent.path>..</hibernate-validator-parent.path>
<surefire.jvm.args.additional>-Duser.language=en</surefire.jvm.args.additional>
</properties>
<distributionManagement>
<site>
<id>site</id>
<url>http://hibernate.org/validator</url>
</site>
</distributionManagement>
<dependencies>
<!--
Compile time dependencies
-->
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>classmate</artifactId>
</dependency>
<!--
Provided dependencies
-->
<dependency>
<groupId>org.glassfish.expressly</groupId>
<artifactId>expressly</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-processor</artifactId>
<!--
HV-963
This is actually not a dependency which is needed at runtime, however,
Maven does not have a compile time only scope. The dependency is needed to
run the JBoss Logging annotation processor as part of the main compilation.
Trying different setups via compiler plugin local dependencies or extensions
all fail. See also http://stackoverflow.com/questions/14322904/maven-3-how-to-add-annotation-processor-dependency
-->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-annotations</artifactId>
<scope>provided</scope>
</dependency>
<!--
Optional dependencies
-->
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.thoughtworks.paranamer</groupId>
<artifactId>paranamer</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.money</groupId>
<artifactId>money-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<!-- We exclude this dependency from the classpath when running tests with OracleJDK 8,
because OracleJDK 8 already bundles JavaFX. -->
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<!-- The JavaFX dependency is optional (not pulled transitively by our consumers) for two reasons:
1. HV should work fine without it, as long as you don't use JavaFX.
2. We don't want to force the dependency on our users who are still on OracleJDK 8,
since OracleJDK 8 already bundles JavaFX.
-->
<optional>true</optional>
</dependency>
<!--
Test dependencies
-->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>hibernate-validator-test-utils</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>test</scope>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-jsr223</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-impl-base</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.javamoney</groupId>
<artifactId>moneta</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- For Moneta -->
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>test</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/xsd</directory>
<targetPath>META-INF</targetPath>
</resource>
</resources>
<testResources>
<testResource>
<filtering>true</filtering>
<directory>src/test/resources</directory>
<includes>
<include>META-INF/services/*</include>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<Specification-Title>Jakarta Bean Validation</Specification-Title>
<Specification-Version>3.0</Specification-Version>
<Automatic-Module-Name>${hibernate-validator.module-name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>${hibernate-validator.module-name}</Bundle-SymbolicName>
<Import-Package>
jakarta.persistence.*;version="[3.0.0,4.0.0)";resolution:=optional,
jakarta.validation.*;version="[3.0.0,4.0.0)",
javax.script.*;version="0",
javax.xml.*;version="0",
jakarta.el.*;version="[5.0.0,6.0.0)";resolution:=optional,
com.sun.el.*;version="[5.0.0,6.0.0)";resolution:=optional,
org.xml.sax.*;version="0",
org.jboss.logging.*;version="[3.1.0,4.0.0)",
com.fasterxml.classmate.*;version="[1.3,2.0.0)",
org.joda.time.*;version="[2.0.0,3.0.0)";resolution:=optional,
javax.money;version="[1.0.0,2.0.0)";resolution:=optional,
com.thoughtworks.paranamer.*;version="[2.5.5,3.0.0)";resolution:=optional
</Import-Package>
<Export-Package>
org.hibernate.validator;version="${project.version}",
org.hibernate.validator.cfg.*;version="${project.version}",
org.hibernate.validator.constraints.*;version="${project.version}",
org.hibernate.validator.constraintvalidation.*;version="${project.version}",
org.hibernate.validator.constraintvalidators.*;version="${project.version}",
org.hibernate.validator.engine.*;version="${project.version}",
org.hibernate.validator.group;version="${project.version}",
org.hibernate.validator.messageinterpolation;version="${project.version}",
org.hibernate.validator.metadata;version="${project.version}",
org.hibernate.validator.parameternameprovider;version="${project.version}",
org.hibernate.validator.path;version="${project.version}",
org.hibernate.validator.resourceloading;version="${project.version}",
org.hibernate.validator.spi.*;version="${project.version}"
</Export-Package>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<parallel>tests</parallel>
<threadCount>4</threadCount>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-test-source-java17</id>
<phase>${java-version.test.java17.add-test-source-phase}</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/test/java17</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>testWithJdk11+</id>
<activation>
<property>
<name>java-version.test.release</name>
<value>!8</value>
</property>
</activation>
<properties>
<surefire.jvm.args.illegal-access>--illegal-access=deny</surefire.jvm.args.illegal-access>
</properties>
</profile>
</profiles>
</project>

View File

@@ -0,0 +1 @@
ebb72685a6e1c06e75d94e7b83e1b5845332dead