# Stubborn Contract

Maintained Spring Cloud Contract continuation with generated verification tests and consumer stubs\.

ID: Q908 · Revision: 956

Type: software · License: Apache\-2\.0[^stubborn-overview] · Status: active

Website: https://stubborn.sh/



Stubborn Contract is the Apache\-2\.0 continuation of Spring Cloud Contract for testing service interfaces\. It generates provider\-verification tests and consumer stubs from contract definitions, preserving the earlier project's central workflow under independent maintenance\.[^stubborn-overview][^spring-contract-transition]

## Capabilities and substitutions

### Generated contracts and stubs — supported

Provider verification and consumer WireMock fixtures follow the established contract model\.[^stubborn-overview]

Use case: Migrating JVM contract verification and stub workflows · Platforms: Java 17\+, Maven, Gradle · Region: Version, plan and platform requirements apply

### Spring Cloud Contract migration — limited

Documented continuation preserves assets but requires build, import and JUnit updates\.[^stubborn-migration][^stubborn-transition]

Use case: Migrating JVM contract verification and stub workflows · Platforms: Java 17\+, Maven, Gradle · Region: Version, plan and platform requirements apply

### Aligned module distribution — supported

BOM and libraries are published on Maven Central; standalone runner is a release asset\.[^stubborn-release]

Use case: Migrating JVM contract verification and stub workflows · Platforms: Java 17\+, Maven, Gradle · Region: Version, plan and platform requirements apply

### [Substitute for Spring Cloud Contract](/springcloudcontract) — limited

Official maintained continuation with a documented migration path; existing assets are supported with required build and source updates\.[^spring-contract-transition][^stubborn-transition]

Use case: Migrating JVM contract verification and stub workflows · Platforms: Java 17\+, Maven, Gradle · Region: Version, plan and platform requirements apply

## References

[^stubborn-overview]: [Stubborn Contract overview](<https://docs.stubborn.sh/contract/>) — Verifier, generated WireMock stubs, Stub Runner and Apache\-2\.0 (vendor; retrieved 2026-10-07T11:19:07Z)

[^spring-contract-transition]: [Spring announces Stubborn transition](<https://spring.io/blog/2026/07/06/spring-cloud-contract-transition-to-stubbornsh/>) — End of Spring maintenance and release\-train removal (vendor; retrieved 2026-10-07T11:15:09Z)

[^stubborn-release]: [Stubborn Contract 0\.1\.2 release](<https://github.com/stubborn-sh/stubborn-contract/releases/tag/v0.1.2>) — Maven Central libraries, BOM and standalone runner (vendor; retrieved 2026-10-07T11:16:07Z)

[^stubborn-migration]: [Migrating to Stubborn Contract](<https://docs.stubborn.sh/contract/migration/from-spring-cloud-contract>) — Coordinates, DSL imports, JUnit and legacy\-property/stub compatibility (vendor; retrieved 2026-10-07T11:15:17Z)

[^stubborn-transition]: [Stubborn Contract transition guide](<https://stubborn.sh/transition-guide/>) — Apache\-2\.0 continuation and runtime/compatibility overview (vendor; retrieved 2026-10-07T11:15:09Z)

Source revision: https://substitutefor.net/entities/Q908?revision=956
