tpolecat / tut

doc/tutorial generator for scala
MIT License
581 stars 63 forks source link

Publish to Maven Central #210

Open sideeffffect opened 6 years ago

sideeffffect commented 6 years ago

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 commented 6 years ago

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

sideeffffect commented 6 years ago

great, thanks! btw there seems to be a ticket for this already: https://github.com/tpolecat/tut/issues/103

sideeffffect commented 6 years ago

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 commented 6 years ago

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

sideeffffect commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

oh, I see, thanks for explaining.

Syncing from Bintray to Sonatype isn't working

what's the error?

tpolecat commented 6 years ago

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

NicolaeNMV commented 6 years ago

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 commented 6 years ago

@blast-hardcheese had problems syncing sbt-guardrail, one of the issues were with sbt-pgp signing, but eventually succeeded see https://github.com/twilio/sbt-guardrail/issues/3 for details

blast-hardcheese commented 6 years ago

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 commented 6 years ago

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 commented 5 years ago

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