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

Release version? #8

Open
anilkumarmyla opened this issue Dec 2, 2019 · 5 comments
Open

Release version? #8

anilkumarmyla opened this issue Dec 2, 2019 · 5 comments

Comments

@anilkumarmyla
Copy link

I see that this is published as 1.0.0-M2 even though scalatest is promoted to release. Any reason this is not a 1.0.0 yet?

@cheeseng
Copy link
Contributor

cheeseng commented Dec 3, 2019

@anilkumarmyla You can use 3.1.0.0 here:

https://mvnrepository.com/artifact/org.scalatestplus/mockito-1-10

Sorry for the confusion, we'll update the README accordingly.

Thanks.

@cheeseng
Copy link
Contributor

cheeseng commented Dec 3, 2019

Using sbt:

libraryDependencies += "org.scalatestplus" %% "mockito-1-10" % "3.1.0.0"

@anilkumarmyla
Copy link
Author

@cheeseng Why is the artifact named mockito-1-10, any special reason? Why not stick with the repo name scalatestplus-mockito?

@cheeseng
Copy link
Contributor

cheeseng commented Dec 3, 2019

@anilkumarmyla I think the reason is to support different version of mockito in the future version, we're trying to fit 2 versions number (mockito pair with scalatest) into the artifact name and version, so hopefully it will be clearer to user they are using the correct artifact and version number. :)

@anilkumarmyla
Copy link
Author

@cheeseng if we follow this strategy it would result in stale artifacts and maintenance work to upgrade this library since its name keeps changing with mockito which is at version 3.x.x currently

mockito-2.x series would be named mockito-2-x
mockito-3.x series would be named mockito-3-x
and so on

Although I don't see a concrete way of solving this specific problem, I'd say you provide the library built with the latest version of mockito-core and encourage the community to move to latest and greatest. You can possibly match the major & minor version with scalatest and reserve the patch for bug fixes/dependency upgrades. Just my opinion

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

No branches or pull requests

2 participants