Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a BOM for Mockito's artifacts (closes #2321) #2323

Merged
merged 1 commit into from Dec 16, 2021

Conversation

realdadfish
Copy link
Contributor

See discussion in #2321

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The BOM in #2321 (comment) lists all versions with SNAPSHOT. Instead, I think we should list the explicit versions. We currently do that with Shipkit on tags: https://github.com/shipkit/shipkit-auto-version#usage-based-on-annotated-tag

Can we make sure that the explicit versions work with our GitHub actions integration? I am not actually sure how that would look like, but I think you should be able to run ./gradlew publishToMavenLocal -Pversion=3.12.0 and see what the result is.

settings.gradle.kts Show resolved Hide resolved
@TimvdLippe
Copy link
Contributor

@mockitoguy This looks fine to me, but do we need to create this new artifact in Maven Central or does that work automatically?

@realdadfish
Copy link
Contributor Author

Hey @TimvdLippe, what's the status of this? :-)

@TimvdLippe
Copy link
Contributor

This is still pending a review of @mockitoguy per #2323 (comment)

@TimvdLippe
Copy link
Contributor

I am inclined to merge this PR as-is and see if we run into any issues when we release to Maven Central. We might have to revert the PR then or do a follow-up to get things to work properly. Therefore, merging it 😄

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Let's see whether this breaks on our next Maven Central release.

@TimvdLippe TimvdLippe merged commit d894b54 into mockito:main Dec 16, 2021
@realdadfish realdadfish deleted the bill-of-materials branch December 16, 2021 19:10
xuelin2020 pushed a commit to xuelin2020/mockito that referenced this pull request Dec 28, 2021
…o#2323)

Co-authored-by: Thomas Keller <thomas.keller-extern@deutschebahn.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants