5 ms·
the only aweful thing is deploying to the central repository
by merb 11y ago
the only aweful thing is deploying to the central repository
- LoSboccacc 11y agowhy? I have used sonatype and it's pretty much log in, promote to production.
- lmm 11y agoIt's a very painful process to get set up - no doubt it's easy after the first time. I've ultimately found it easier to go via bintray: http://blog.bintray.com/2014/02/11/bintray-as-pain-free-gateway-to-maven-central/ http://blog.bintray.com/2014/02/11/bintray-as-pain-free-gate... . On the positive side, some of the complexity comes through enforcing some standards about what packages go into central - in particular you must have a properly declared license, developer contact information, and GPG sign your releases. Which are things other language ecosystems would do well to enforce.
- eropple 11y agoThe first time definitely is a drag, but I had to do it exactly once a few years ago. If I ever need to publish another library, it's trivial. Bintray isn't standard, which isn't the worst thing in the world but does become aggravating at times.
- lmm 11y agoTo be clear the point of the guide I linked is that you can publish to bintray and have them sync it into maven central.
- jbaruch_s 11y agoRe Bintray isn't standard: There is no standard, both Bintray and Maven Central are just internet repositories. JCenter is bigger, so if you define "standard" as "bigger one", Bintray is the way to do. If by "standard" you meant "default", like Maven Central is the default in Maven, here I have some news for you as well. Bintray is the default in Mac OS' Homebrew, Android Studio, Groovy's @Grab, and first class citizen in Gradle, Ivy and SBT.
- merb 11y agoas soon as you are in, yes. but as a startup you need to waiiiiiiit