question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide a bill of materials (BOM)

See original GitHub issue

I figured that the number of Mockito artifacts grows, so it might be useful to provide a BOM (Bill Of Materials) that lists all versions of all artifacts in a central place.

Such a thing could then be consumed in a Gradle multi project build through

// my.platform.project:test
plugins {
    id("java-platform")
}

dependencies {
    api(platform("org.mockito:mockito-bom:$someVersion"))
}

and this could be referenced in individual module files like so:

dependencies {
    testImplementation(platform("my.platform.project:test"))

    testImplementation("org.mockito:mockito-core")
    testImplementation("org.mockito:mockito-junit-jupiter")
}

Creating and publishing such a BOM should be fairly easy. Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:16 (15 by maintainers)

github_iconTop GitHub Comments

4reactions
pzygielocommented, Jan 24, 2022

Confused, https://github.com/mockito/mockito/issues/2321#issuecomment-859434276

  • mockito-core
  • mockito-inline
  • mockito-android
  • mockito-junit-jupiter
  • mockito-errorprone

but there is unlisted earlier

  • mockito-proxy

Is mockito-core not managed intentionally?

3reactions
TimvdLippecommented, Jan 25, 2022

Mockito 4.3.1 is being published to Maven Central and should be available later today: https://github.com/mockito/mockito/actions/runs/1746133222

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bill of Materials (BOM) Meaning, Purpose, and Types
A bill of materials (BOM) is a centralized source of information containing a list of items used to manufacture a product and the...
Read more >
What is a Bill of Materials (BOM) and How Do You Create One?
A bill of materials (BOM) is a comprehensive list of parts, items, assemblies, subassemblies, intermediate assemblies, documents, drawings, and other materials ...
Read more >
What Is a Bill of Materials (BOM)? Expert Guide & Tips | NetSuite
A bill of materials (BOM) is a structured list identifying all materials and components required to construct a product, as well as the ......
Read more >
What is a bill of materials (BOM)? - TechTarget
A bill of materials lists the components and assemblies required to manufacture a product. Learn how to create an effective BOM and the...
Read more >
Bill of materials - Wikipedia
A bill of materials or product structure (sometimes bill of material, BOM or associated list) is a list of the raw materials, sub-assemblies,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found