Fork me on GitHub
#tools-build
<
2022-04-24
>
Ben Sless08:04:58

I think builds as programs finally clicked for me, re my question about modules

Ben Sless08:04:48

Something along these lines: https://gist.github.com/bsless/839bbf7b7ab73adfba6703e79c079cff Any ideas regarding the best way to handle the different POMs?

tstout14:04:43

I need to publish clojure libraries to maven central (not clojars). Since tools.build does not currently support this, what is the recommended way to achieve this? I am considering generating a pom and using maven to publish.

mpenet15:04:17

deps-deploy can do this I think

tstout15:04:14

I just skimmed the docs. I thought it only worked with clojars, but maybe that is not the case.

mpenet15:04:43

I managed to get it to push to a private, S3 compatible service a few days ago, which seems more twisted. Iirc reading the source you should be able to change the destination repo

mpenet15:04:57

I also was inches away from shelling out to mvn... I guess that's an acceptable solution

tstout15:04:58

Maybe I should simply look at what the core clojure libs do, as they are all published to maven central. I suspect they use maven.

mpenet15:04:51

Most of the core toolchain predates tools build

slipset07:05:28

deps-deploy piggiebacks on pomegranate which in turn uses Aether for the heavy lifting, so deploying to maven central Should Just Work(TM)