cloudstateio / kotlin-support

Cloudstate Kotlin Support
https://cloudstate.io/docs/user/lang/kotlin/index.html
Apache License 2.0
8 stars 5 forks source link

Deploy to Maven Centrail failure #50

Closed sleipnir closed 4 years ago

sleipnir commented 4 years ago

When trying to deploy via travis the error below occurs:

* What went wrong:

Execution failed for task ':bintrayPublish'.

> Could not sync 'cloudstateio/releases/cloudstate-kotlin-support/0.5.1' to Maven Central: HTTP/1.1 403 Forbidden [message:In order to sync to Maven Central your package must be included in the JCenter repository]
sleipnir commented 4 years ago

@pvlugter Any ideas on what may be causing the error?

jamesward commented 4 years ago

Not sure if it is related but note that 0.5.1 already exists and can't be overwritten.

sleipnir commented 4 years ago

@jamesward Actually it doesn't seem to have anything to do with it, however I created a new 0.5.2 tag to avoid confusion with 0.5.1

pvlugter commented 4 years ago

As mentioned in #45:

Sync to maven central via bintray can't be set up properly until there's a published version. So we'll need to tag and release 0.5.2 first, set up the jcenter linking, and then should be good to go from then on.

Once the first version is published to bintray, we can link to jcenter and sync to maven central. Should then work fine for subsequent releases.

pvlugter commented 4 years ago

0.5.2 is linked to jcenter and synced to maven central. Should publish automatically from now on.

sleipnir commented 4 years ago

Thanks @pvlugter

jamesward commented 4 years ago

Thanks! Confirmed that everything is working with 0.5.2