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
docker-java-api-3.3.3.jar>aliyunmaven=
docker-java-api-3.3.3.pom>aliyunmaven=

View File

@@ -0,0 +1 @@
22f9e8d0dc5a89fbcfb8e5182b36a49d989f87a0

View File

@@ -0,0 +1,86 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-parent</artifactId>
<version>3.3.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>docker-java-api</artifactId>
<packaging>jar</packaging>
<name>docker-java-api</name>
<url>https://github.com/docker-java/docker-java</url>
<description>Java API Client for Docker</description>
<properties>
<automatic.module.name>com.github.dockerjava.api</automatic.module.name>
</properties>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>3.0.1u2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
<version>0.18.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit</artifactId>
<version>0.18.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.github.dockerjava.api.*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1 @@
c1507467ad11441c82c788f0f4019616f38de7da

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:53 CST 2026
docker-java-parent-3.3.3.pom>aliyunmaven=

View File

@@ -0,0 +1,363 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-parent</artifactId>
<packaging>pom</packaging>
<version>3.3.3</version>
<name>docker-java-parent</name>
<url>https://github.com/docker-java/docker-java</url>
<description>Java API Client for Docker</description>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git@github.com:docker-java/docker-java.git</connection>
<url>git@github.com:docker-java/docker-java.git</url>
<developerConnection>scm:git:git@github.com:docker-java/docker-java.git</developerConnection>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>marcuslinke</id>
<name>Marcus Linke</name>
<email>marcus.linke@gmx.de</email>
</developer>
<developer>
<id>kostyasha</id>
<name>Kanstantsin Shautsou</name>
<email>kanstantsin.sha@gmail.com</email>
</developer>
<developer>
<id>kpelykh</id>
<name>Konstantin Pelykh</name>
<email>kpelykh@gmail.com</email>
</developer>
<developer>
<id>bsideup</id>
<name>Sergei Egorov</name>
<email>bsideup@gmail.com</email>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jdk.debug>true</jdk.debug>
<jdk.optimize>false</jdk.optimize>
<jdk.source>1.8</jdk.source>
<jdk.target>1.8</jdk.target>
<jersey.version>2.30.1</jersey.version>
<jackson.version>2.10.3</jackson.version>
<jackson-jaxrs.version>2.10.3</jackson-jaxrs.version>
<httpclient.version>4.5.12</httpclient.version><!-- 4.5.1-4.5.2 broken -->
<commons-compress.version>1.21</commons-compress.version>
<commons-io.version>2.6</commons-io.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<slf4j-api.version>1.7.30</slf4j-api.version>
<bouncycastle.version>1.75</bouncycastle.version>
<junixsocket.version>2.6.1</junixsocket.version>
<guava.version>19.0</guava.version> <!-- todo remove from project -->
<!-- test dependencies -->
<logback.version>1.2.3</logback.version>
<netty.version>4.1.46.Final</netty.version>
<hamcrest.library.version>2.2</hamcrest.library.version>
<hamcrest.jpa-matchers>1.8</hamcrest.jpa-matchers>
<lambdaj.version>2.3.3</lambdaj.version>
<mockito.version>3.3.0</mockito.version>
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-release-plugin.version>3.0.0-M1</maven-release-plugin.version>
<maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.0.0-M4</maven-failsafe-plugin.version>
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
<maven-bundlor-plugin.version>1.1.2.RELEASE</maven-bundlor-plugin.version>
<maven-build-helper-plugin.version>3.0.0</maven-build-helper-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
</properties>
<modules>
<module>docker-java-api</module>
<module>docker-java-bom</module>
<module>docker-java-core</module>
<module>docker-java-transport</module>
<module>docker-java-transport-tck</module>
<module>docker-java-transport-netty</module>
<module>docker-java-transport-jersey</module>
<module>docker-java-transport-okhttp</module>
<module>docker-java-transport-httpclient5</module>
<module>docker-java-transport-zerodep</module>
<module>docker-java</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${jdk.source}</source>
<target>${jdk.target}</target>
<debug>${jdk.debug}</debug>
<optimize>${jdk.optimize}</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>*******************************************************************</echo>
<echo>*******************************************************************</echo>
<echo>[project.name] : ${project.name}</echo>
<echo>[project.basedir] : ${project.basedir}</echo>
<echo>[project.version] : ${project.version}</echo>
<echo>[project.artifactId] ${project.artifactId}</echo>
<echo>[project.build.directory] ${project.build.directory}</echo>
<echo>[jdk.source] : ${jdk.source}</echo>
<echo>[jdk.target] : ${jdk.target}</echo>
<echo>[jdk.debug] : ${jdk.debug}</echo>
<echo>[jdk.optimize] : ${jdk.optimize}</echo>
<echo>[source encoding]: ${project.build.sourceEncoding}</echo>
<echo>[LocalRepository] : ${settings.localRepository}</echo>
<echo>*******************************************************************</echo>
<echo>*******************************************************************</echo>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>4.2.1</version>
</plugin>
<plugin>
<!-- use with "mvn -DskipTests clean verify" -->
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.15.4</version>
<configuration>
<oldVersion>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>3.2.0</version>
<type>jar</type>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
</file>
</newVersion>
<parameter>
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
<accessModifier>public</accessModifier>
<onlyBinaryIncompatible>true</onlyBinaryIncompatible>
<overrideCompatibilityChangeParameters>
<overrideCompatibilityChangeParameter>
<compatibilityChange>METHOD_NEW_DEFAULT</compatibilityChange>
<binaryCompatible>true</binaryCompatible>
<sourceCompatible>true</sourceCompatible>
</overrideCompatibilityChangeParameter>
<overrideCompatibilityChangeParameter>
<compatibilityChange>METHOD_ABSTRACT_NOW_DEFAULT</compatibilityChange>
<binaryCompatible>true</binaryCompatible>
<sourceCompatible>true</sourceCompatible>
</overrideCompatibilityChangeParameter>
</overrideCompatibilityChangeParameters>
</parameter>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>docker-java-analyses</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<executions>
<execution>
<id>checkstyle</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<encoding>UTF-8</encoding>
<failOnViolation>true</failOnViolation>
<logViolationsToConsole>true</logViolationsToConsole>
<linkXRef>false</linkXRef>
<!-- if some IDE has integration and requires other place, propose
it -->
<configLocation>
${maven.multiModuleProjectDirectory}/src/test/resources/checkstyle/checkstyle-config.xml
</configLocation>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@@ -0,0 +1 @@
0b8fb9712892ab6a15ab32aa4791ac31e706bf7c

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
docker-java-transport-zerodep-3.3.3.pom>aliyunmaven=
docker-java-transport-zerodep-3.3.3.jar>aliyunmaven=

View File

@@ -0,0 +1 @@
df303392ef9ee91d9069b259505eda84dcc4999b

View File

@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>docker-java-parent</artifactId>
<groupId>com.github.docker-java</groupId>
<version>3.3.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>docker-java-transport-zerodep</artifactId>
<name>docker-java-transport-zerodep</name>
<description>Java API Client for Docker</description>
<url>https://github.com/docker-java/docker-java</url>
<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.github.dockerjava.zerodep.*</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createSourcesJar>true</createSourcesJar>
<artifactSet>
<excludes>
<exclude>com.github.docker-java:docker-java-transport</exclude>
<exclude>net.java.dev.jna:jna-platform</exclude>
<exclude>net.java.dev.jna:*</exclude>
<exclude>org.slf4j:slf4j-api</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>com.github.docker-java:docker-java-transport-httpclient5</artifact>
<excludes>
<exclude>com/github/dockerjava/httpclient5/ApacheDockerHttpClient.class</exclude>
<exclude>com/github/dockerjava/httpclient5/ApacheDockerHttpClient$*</exclude>
</excludes>
</filter>
<filter>
<artifact>org.apache.httpcomponents.client5:httpclient5</artifact>
<excludes>
<exclude>mozilla/*</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.apache</pattern>
<shadedPattern>com.github.dockerjava.zerodep.shaded.org.apache</shadedPattern>
</relocation>
<relocation>
<pattern>com.github.dockerjava.httpclient5</pattern>
<shadedPattern>com.github.dockerjava.zerodep</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer />
</transformers>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport</artifactId>
<version>3.3.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.12.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<properties>
<automatic.module.name>com.github.dockerjava.transport.zerodep</automatic.module.name>
</properties>
</project>

View File

@@ -0,0 +1 @@
2a790b24eb82a60e802d4bdc3915b1ba55f67e64

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
docker-java-transport-3.3.3.jar>aliyunmaven=
docker-java-transport-3.3.3.pom>aliyunmaven=

View File

@@ -0,0 +1 @@
13e7e159a902df2236f6ded371842bf579a8446b

View File

@@ -0,0 +1,59 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-parent</artifactId>
<version>3.3.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>docker-java-transport</artifactId>
<packaging>jar</packaging>
<name>docker-java-transport</name>
<url>https://github.com/docker-java/docker-java</url>
<description>Java API Client for Docker</description>
<properties>
<automatic.module.name>com.github.dockerjava.transport</automatic.module.name>
</properties>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>3.0.1u2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.immutables</groupId>
<artifactId>value</artifactId>
<version>2.8.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.12.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.github.dockerjava.transport.*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1 @@
6f7b28d5c19f7c08c963a59b3f40cb71ae1bfaeb