testcontainers-spock icon indicating copy to clipboard operation
testcontainers-spock copied to clipboard

Have tagged versions available in Maven Central

Open kiview opened this issue 8 years ago • 7 comments

Although Jitpack is a good solution, a mature library should provide their artifacts in Maven Central as well.

kiview avatar Jul 12 '17 07:07 kiview

It may be much easier to publish to Bintray: https://github.com/bintray/gradle-bintray-plugin

iNikem avatar Jul 25 '17 06:07 iNikem

That's true, but I was planning on having it in the same Maven Central group as testcontainers-java. Also I think having it in Bintray isn't that much of an improvement over jitpack.io, since it isn't a Maven/Gradle default?

kiview avatar Jul 25 '17 08:07 kiview

What do you mean "default"? Gradle has no default central repository. It is true, that the majority of examples use mavenCentral(), but it is similarly easy to use jcenter() in gradle script. It is HUGE improvement over jitpack, as it gives clear versioning to all users.

Besides, although I have not done this, but people say it is MUCH easier to publish to Maven Central via Bintray.

iNikem avatar Jul 25 '17 08:07 iNikem

mavenCentral() is still the default for Maven, that's the reason. But I definitely see your point. Still like to release it in a similar fashion to testcontainers-java.

kiview avatar Jul 26 '17 14:07 kiview

This may be of help: https://bintray.com/docs/usermanual/uploads/uploads_syncingwiththirdpartyplatforms.html

iNikem avatar Jul 26 '17 14:07 iNikem

Btw. would it help to have tagged version in Github, so you can depend on tagged versions using Jitpack?

kiview avatar Jul 26 '17 15:07 kiview

I've added a tagged release for the current version: testCompile 'com.github.testcontainers:testcontainers-spock:1.0.0-tc1.6.0'

Since we'll likely move this repo into the testcontainers-java repo (see https://github.com/testcontainers/testcontainers-java/issues/564), I won't do further work on this issue in this project itself.

kiview avatar Jan 29 '18 13:01 kiview