substitutefor

Contribute to the catalog

Improve Stubborn Contract

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • spring-cloud-contract — Migrating JVM contract verification and stub workflows
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · Stubborn Contract overview

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Spring announces Stubborn transition

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · Stubborn Contract 0.1.2 release

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · Migrating to Stubborn Contract

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · Stubborn Contract transition guide

Source 5

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Contracts, verification and stubs

Section 1

Sources for paragraph 1
2 · Maintenance and distribution

Section 2

Sources for paragraph 1
3 · Migration work

Section 3

Sources for paragraph 1
4 · Compatibility is scoped

Section 4

Sources for paragraph 1
5 · Substitution scope

Section 5

Linked to spring-cloud-contract. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities3

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

Stubborn Contract

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

Overview

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.[1][2]

Contracts, verification and stubs

A contract describes the request and response expected between services. Maven or Gradle tooling generates verification tests for the producer, and consumers can use generated WireMock-based stubs without starting the real service. Stub Runner retrieves fixtures from Maven repositories or Git. This connects a shared interface definition to both sides of an integration rather than treating a manually authored mock as sufficient evidence of compatibility.[1]

Maintenance and distribution

Spring's July 2026 announcement transferred project ownership and support to Stubborn and ended Spring maintenance of the older project. Stubborn Contract 0.1.2 was released in August with libraries on Maven Central, a BOM for aligned module versions and a separate executable stub-runner JAR in the release assets. The continuation should therefore be evaluated using its own release and dependency information rather than the former Spring Cloud release train.[2][3]

Migration work

The migration guide changes dependency and plugin coordinates, Java packages and configuration prefixes. It also replaces JUnit 4 rules with JUnit 5 extensions and requires import updates in Groovy and Kotlin DSL files; YAML contracts retain their format. An OpenRewrite recipe automates mechanical changes, but the documentation still calls for reviewing the result.[4]

Compatibility is scoped

The transition guide describes compatibility with existing contracts, generated stubs and legacy stub-runner properties, with the old property prefix retained through a deprecation bridge. That promise concerns continued use of test assets, not permanent support for unchanged application imports or build configuration. The documented runtime is Java 17 or newer with a current Spring Boot generation, so an older stack still needs a dependency review.[4][5]

Substitution scope

Stubborn Contract is a direct continuation candidate for Spring Cloud Contract where the goal is to retain contract definitions and stub-based consumer tests while regaining an actively maintained project. The relationship is stronger than a shared category because both projects document the handover and a migration path. Compatibility remains vendor-documented rather than independently tested here; verify a representative producer build and consumer fixture before treating a migration as complete.[1][2][5]

References

  1. Stubborn Contract overview

    Verifier, generated WireMock stubs, Stub Runner and Apache-2.0

    vendor · retrieved 2026-10-07
  2. Spring announces Stubborn transition

    End of Spring maintenance and release-train removal

    vendor · retrieved 2026-10-07
  3. Stubborn Contract 0.1.2 release

    Maven Central libraries, BOM and standalone runner

    vendor · retrieved 2026-10-07
  4. Migrating to Stubborn Contract

    Coordinates, DSL imports, JUnit and legacy-property/stub compatibility

    vendor · retrieved 2026-10-07
  5. Stubborn Contract transition guide

    Apache-2.0 continuation and runtime/compatibility overview

    vendor · retrieved 2026-10-07

Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.