Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Publish to Maven Central #210

Open
sideeffffect opened this issue Feb 7, 2018 · 13 comments
Open

Publish to Maven Central #210

sideeffffect opened this issue Feb 7, 2018 · 13 comments

Comments

@sideeffffect
Copy link

sideeffffect commented Feb 7, 2018

org.tpolecat tut-core is still published only on a custom Bintray

https://bintray.com/tpolecat/maven/tut-core

Could you please publish it on Maven Central too?
One of the benefits is that it will make life easier for people behind firewalls.

@tpolecat
Copy link
Owner

tpolecat commented Feb 8, 2018

Ok I have requested to have it synced over to central. We'll see what happens.

@sideeffffect
Copy link
Author

great, thanks!
btw there seems to be a ticket for this already: #103

@sideeffffect
Copy link
Author

btw, typelevel/cats requires tut-core when you want to compile it. But I haven't been able to find out why -- I can't see tut-core being declared as a dependency or anywhere else in the repository -- yet sbt (or coursier to be more precise) tries to download it, and fails if you only have access to Maven Central, which is how I found out. Why? what is the mechanism that decides to download it?

@tpolecat
Copy link
Owner

tpolecat commented Feb 9, 2018

The plugin adds the bintray resolver and the dependency in the Tut configuration.

@sideeffffect
Copy link
Author

I see the repo being declared here
but where is configured in typelevel/cats?

btw tut-core is still not there

http://repo1.maven.org/maven2/org/tpolecat/

@tpolecat
Copy link
Owner

tpolecat commented Feb 9, 2018

It's configured in cats because cats uses the plugin, which adds the resolver.

Syncing from Bintray to Sonatype isn't working, sorry. I don't have an immediate workaround. If you want to work on cats you can disable the tut plugin.

@sideeffffect
Copy link
Author

oh, I see, thanks for explaining.

Syncing from Bintray to Sonatype isn't working

what's the error?

@tpolecat
Copy link
Owner

tpolecat commented Feb 9, 2018

It's saying authentication failed but I can log in fine with the provided credentials.

esamson added a commit to esamson/dotfiles that referenced this issue Apr 14, 2018
Because **tut** is not published to Maven Central.

See: tpolecat/tut#210
@NicolaeNMV
Copy link

NicolaeNMV commented Aug 9, 2018

Sorry to ping on this again. Is there anything we can do to help with this ?

I've never used bintray, is this the way to enable the synchronization ? Maybe it's worth trying again in case they had some issues previously ? https://blog.bintray.com/2014/02/11/bintray-as-pain-free-gateway-to-maven-central/

Thanks

@sideeffffect
Copy link
Author

@blast-hardcheese had problems syncing sbt-guardrail, one of the issues were with sbt-pgp signing, but eventually succeeded
see guardrail-dev/sbt-guardrail#3 for details

@blast-hardcheese
Copy link

My error was around sbt plugins having a different artifact path (coordinate?) than is described in the pom, so bintray refused to sync it.

I ended up giving up entirely, manually moving my PGP keys into the right place to satisfy sbt-pgp, then writing command aliases to handle publishing to bintray and sonatype individually.

Once the sonatype plugin was up though, it was pretty straightforward to use.

@tpolecat
Copy link
Owner

I don't want to ruin my Hawaiian vacation thinking about this but I'll see what I can do when I get back. You can look forward to version 6.7.26417365 because I'm going to botch a hell of a lot of releases.

@sideeffffect
Copy link
Author

sideeffffect commented Feb 26, 2019

hi, sorry to be a bother
is there something that could be done about this?
maybe this plugin could help: https://github.com/olafurpg/sbt-ci-release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants